errors compiling webkit on lemote

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

errors compiling webkit on lemote

Bryan Irvine
Lines leading up the errors:
gmake[1]: Entering directory `/home/ports/pobj/webkit-1.6.1/webkit-1.6.1'
/usr/ports/infrastructure/bin/libtool   --tag=CXX   --mode=compile c++
-DHAVE_CONFIG_H -I.  -Wall -W -Wcast-align -Wchar-subscripts
-Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef
-Wmissing-format-attribute -Wpointer-arith -Wwrite-strings
-Wno-unused-parameter -Wno-parentheses -fno-exceptions
-DENABLE_GLIB_SUPPORT=1 -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1
-DWTF_CHANGES -DXP_UNIX -DWTF_USE_ICU_UNICODE=1
-DWTF_USE_GSTREAMER=1 -DGTK_API_VERSION_2=1 -DNDEBUG   -I./Source
-I./Source/JavaScriptCore -I./Source/JavaScriptCore/API
-I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bytecode
-I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/dfg
-I./Source/JavaScriptCore/heap -I./Source/JavaScriptCore/debugger
-I./Source/JavaScriptCore/ForwardingHeaders
-I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit
-I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/parser
-I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime
-I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf
-I./Source/JavaScriptCore/wtf/gobject
-I./Source/JavaScriptCore/wtf/gtk -I./Source/JavaScriptCore/wtf/text
-I./Source/JavaScriptCore/wtf/unicode -I./Source/JavaScriptCore/yarr
-I./Source/JavaScriptCore -I./Source/JavaScriptCore/parser
-I./Source/JavaScriptCore/runtime -I/usr/local/include/libpng
-I/usr/local/include -I/usr/X11R6/include -fno-rtti -fstrict-aliasing
-O3  -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-D_REENTRANT  -I/usr/local/include  -O2 -pipe -MT
Source/JavaScriptCore/parser/libjavascriptcoregtk_1_0_la-Lexer.lo -MD
-MP -MF Source/JavaScriptCore/parser/.deps/libjavascriptcoregtk_1_0_la-Lexer.Tpo
-c -o Source/JavaScriptCore/parser/libjavascriptcoregtk_1_0_la-Lexer.lo
`test -f 'Source/JavaScriptCore/parser/Lexer.cpp' || echo
'./'`Source/JavaScriptCore/parser/Lexer.cpp
c++ -DHAVE_CONFIG_H -I. -Wall -W -Wcast-align -Wchar-subscripts
-Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef
-Wmissing-format-attribute -Wpointer-arith -Wwrite-strings
-Wno-unused-parameter -Wno-parentheses -fno-exceptions
-DENABLE_GLIB_SUPPORT=1 -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1
-DWTF_CHANGES -DXP_UNIX -DWTF_USE_ICU_UNICODE=1 -DWTF_USE_GSTREAMER=1
-DGTK_API_VERSION_2=1 -DNDEBUG -I./Source -I./Source/JavaScriptCore
-I./Source/JavaScriptCore/API -I./Source/JavaScriptCore/assembler
-I./Source/JavaScriptCore/bytecode
-I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/dfg
-I./Source/JavaScriptCore/heap -I./Source/JavaScriptCore/debugger
-I./Source/JavaScriptCore/ForwardingHeaders
-I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit
-I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/parser
-I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime
-I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf
-I./Source/JavaScriptCore/wtf/gobject
-I./Source/JavaScriptCore/wtf/gtk -I./Source/JavaScriptCore/wtf/text
-I./Source/JavaScriptCore/wtf/unicode -I./Source/JavaScriptCore/yarr
-I./Source/JavaScriptCore -I./Source/JavaScriptCore/parser
-I./Source/JavaScriptCore/runtime -I/usr/local/include/libpng
-I/usr/local/include -I/usr/X11R6/include -fno-rtti -fstrict-aliasing
-O3 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-D_REENTRANT -I/usr/local/include -O2 -pipe -MT
Source/JavaScriptCore/parser/libjavascriptcoregtk_1_0_la-Lexer.lo -MD
-MP -MF Source/JavaScriptCore/parser/.deps/libjavascriptcoregtk_1_0_la-Lexer.Tpo
-c Source/JavaScriptCore/parser/Lexer.cpp -fPIC -DPIC -o
Source/JavaScriptCore/parser/.libs/libjavascriptcoregtk_1_0_la-Lexer.o
gmake[1]: Leaving directory `/home/ports/pobj/webkit-1.6.1/webkit-1.6.1'
*** Error code 2

Stop in /home/ports/www/webkit (line 2444 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /home/ports/www/webkit (line 2197 of
/usr/ports/infrastructure/mk/bsd.port.mk).



Dmesg:

[ using 466480 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2012 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 5.1 (GENERIC) #93: Sun Feb 12 18:10:05 MST 2012
    [hidden email]:/usr/src/sys/arch/loongson/compile/GENERIC
real mem = 1073741824 (1024MB)
avail mem = 1059160064 (1010MB)
mainbus0 at root: Lemote Yeeloong
cpu0 at mainbus0: STC Loongson2F CPU 797 MHz, STC Loongson2F FPU
cpu0: cache L1-I 64KB D 64KB 4 way, L2 512KB 4 way
bonito0 at mainbus0: memory and PCI-X controller, rev 1
pci0 at bonito0 bus 0
rl0 at pci0 dev 7 function 0 "Realtek 8139" rev 0x10: irq 5, address
00:23:8b:84:6f:40
rlphy0 at rl0 phy 0: RTL internal PHY
smfb0 at pci0 dev 8 function 0 "Silicon Motion LynxEM+" rev 0xb0
wsdisplay0 at smfb0 mux 1: console (std, vt100 emulation)
ohci0 at pci0 dev 9 function 0 "NEC USB" rev 0x44: irq 7, version 1.0
ehci0 at pci0 dev 9 function 1 "NEC USB" rev 0x05: irq 7
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "NEC EHCI root hub" rev 2.00/1.00 addr 1
glxpcib0 at pci0 dev 14 function 0 "AMD CS5536 ISA" rev 0x03: rev 3,
32-bit 3579545Hz timer, watchdog, gpio
gpio1 at glxpcib0: 32 pins
pciide0 at pci0 dev 14 function 2 "AMD CS5536 IDE" rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <FUJITSU MHZ2160BH G2>
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
auglx0 at pci0 dev 14 function 3 "AMD CS5536 Audio" rev 0x01: isa irq
9, CS5536 AC97
ac97: codec id 0x414c4760 (Avance Logic ALC655 rev 0)
audio0 at auglx0
ohci1 at pci0 dev 14 function 4 "AMD CS5536 USB" rev 0x02: isa irq 11,
version 1.0, legacy support
ehci1 at pci0 dev 14 function 5 "AMD CS5536 USB" rev 0x02: isa irq 11
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "AMD EHCI root hub" rev 2.00/1.00 addr 1
usb2 at ohci0: USB revision 1.0
uhub2 at usb2 "NEC OHCI root hub" rev 1.00/1.00 addr 1
isa0 at glxpcib0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
mcclock0 at isa0 port 0x70/2: mc146818 or compatible
ykbec0 at isa0 port 0x381/3
usb3 at ohci1: USB revision 1.0
uhub3 at usb3 "AMD OHCI root hub" rev 1.00/1.00 addr 1
clock0 at mainbus0: ticker on int5 using count register
apm0 at mainbus0
umass0 at uhub1 port 1 configuration 1 interface 0 "Generic
USB2.0-CRW" rev 2.00/58.87 addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <Generic-, Multi-Card, 1.00> SCSI0
0/direct removable serial.0bda0158114173400000
urtw0 at uhub1 port 4 "Realtek RTL8187B" rev 2.00/2.00 addr 3
urtw0: RTL8187B rev E, address 00:17:c4:5a:08:1a
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
pmon bootpath: /dev/disk/wd0
boot device: wd0
root on wd0a (eff298edb5a750d3.a) swap on wd0b dump on wd0b
ehci_idone: ex=0xc000000000088200 is done!
ehci_idone: ex=0xc000000000088200 is done!
ehci_idone: ex=0xc000000000088200 is done!
ehci_idone: ex=0xc000000000088200 is done!

Reply | Threaded
Open this post in threaded view
|

Re: errors compiling webkit on lemote

Rafael Sadowski
On Wed Jun 13, 2012 at 05:03:14PM -0700, Bryan Irvine wrote:

> Lines leading up the errors:
> gmake[1]: Entering directory `/home/ports/pobj/webkit-1.6.1/webkit-1.6.1'
> /usr/ports/infrastructure/bin/libtool   --tag=CXX   --mode=compile c++
> -DHAVE_CONFIG_H -I.  -Wall -W -Wcast-align -Wchar-subscripts
> -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef
> -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings
> -Wno-unused-parameter -Wno-parentheses -fno-exceptions
> -DENABLE_GLIB_SUPPORT=1 -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1
> -DWTF_CHANGES -DXP_UNIX -DWTF_USE_ICU_UNICODE=1
> -DWTF_USE_GSTREAMER=1 -DGTK_API_VERSION_2=1 -DNDEBUG   -I./Source
> -I./Source/JavaScriptCore -I./Source/JavaScriptCore/API
> -I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bytecode
> -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/dfg
> -I./Source/JavaScriptCore/heap -I./Source/JavaScriptCore/debugger
> -I./Source/JavaScriptCore/ForwardingHeaders
> -I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit
> -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/parser
> -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime
> -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf
> -I./Source/JavaScriptCore/wtf/gobject
> -I./Source/JavaScriptCore/wtf/gtk -I./Source/JavaScriptCore/wtf/text
> -I./Source/JavaScriptCore/wtf/unicode -I./Source/JavaScriptCore/yarr
> -I./Source/JavaScriptCore -I./Source/JavaScriptCore/parser
> -I./Source/JavaScriptCore/runtime -I/usr/local/include/libpng
> -I/usr/local/include -I/usr/X11R6/include -fno-rtti -fstrict-aliasing
> -O3  -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> -D_REENTRANT  -I/usr/local/include  -O2 -pipe -MT
> Source/JavaScriptCore/parser/libjavascriptcoregtk_1_0_la-Lexer.lo -MD
> -MP -MF Source/JavaScriptCore/parser/.deps/libjavascriptcoregtk_1_0_la-Lexer.Tpo
> -c -o Source/JavaScriptCore/parser/libjavascriptcoregtk_1_0_la-Lexer.lo
> `test -f 'Source/JavaScriptCore/parser/Lexer.cpp' || echo
> './'`Source/JavaScriptCore/parser/Lexer.cpp
> c++ -DHAVE_CONFIG_H -I. -Wall -W -Wcast-align -Wchar-subscripts
> -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef
> -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings
> -Wno-unused-parameter -Wno-parentheses -fno-exceptions
> -DENABLE_GLIB_SUPPORT=1 -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1
> -DWTF_CHANGES -DXP_UNIX -DWTF_USE_ICU_UNICODE=1 -DWTF_USE_GSTREAMER=1
> -DGTK_API_VERSION_2=1 -DNDEBUG -I./Source -I./Source/JavaScriptCore
> -I./Source/JavaScriptCore/API -I./Source/JavaScriptCore/assembler
> -I./Source/JavaScriptCore/bytecode
> -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/dfg
> -I./Source/JavaScriptCore/heap -I./Source/JavaScriptCore/debugger
> -I./Source/JavaScriptCore/ForwardingHeaders
> -I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit
> -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/parser
> -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime
> -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf
> -I./Source/JavaScriptCore/wtf/gobject
> -I./Source/JavaScriptCore/wtf/gtk -I./Source/JavaScriptCore/wtf/text
> -I./Source/JavaScriptCore/wtf/unicode -I./Source/JavaScriptCore/yarr
> -I./Source/JavaScriptCore -I./Source/JavaScriptCore/parser
> -I./Source/JavaScriptCore/runtime -I/usr/local/include/libpng
> -I/usr/local/include -I/usr/X11R6/include -fno-rtti -fstrict-aliasing
> -O3 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> -D_REENTRANT -I/usr/local/include -O2 -pipe -MT
> Source/JavaScriptCore/parser/libjavascriptcoregtk_1_0_la-Lexer.lo -MD
> -MP -MF Source/JavaScriptCore/parser/.deps/libjavascriptcoregtk_1_0_la-Lexer.Tpo
> -c Source/JavaScriptCore/parser/Lexer.cpp -fPIC -DPIC -o
> Source/JavaScriptCore/parser/.libs/libjavascriptcoregtk_1_0_la-Lexer.o
> gmake[1]: Leaving directory `/home/ports/pobj/webkit-1.6.1/webkit-1.6.1'
> *** Error code 2
>
> Stop in /home/ports/www/webkit (line 2444 of
> /usr/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
>
> Stop in /home/ports/www/webkit (line 2197 of
> /usr/ports/infrastructure/mk/bsd.port.mk).
>

Do you see "VMEM_WARNING=Yes?

Cheers, Rafael

Reply | Threaded
Open this post in threaded view
|

Re: errors compiling webkit on lemote

Bryan Irvine
On Thu, Jun 14, 2012 at 6:13 AM, Rafael Sadowski <[hidden email]>
wrote:

> On Wed Jun 13, 2012 at 05:03:14PM -0700, Bryan Irvine wrote:
>> Lines leading up the errors:
>> gmake[1]: Entering directory `/home/ports/pobj/webkit-1.6.1/webkit-1.6.1'
>> /usr/ports/infrastructure/bin/libtool   --tag=CXX   --mode=compile c++
>> -DHAVE_CONFIG_H -I.  -Wall -W -Wcast-align -Wchar-subscripts
>> -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef
>> -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings
>> -Wno-unused-parameter -Wno-parentheses -fno-exceptions
>> -DENABLE_GLIB_SUPPORT=1 -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1
>> -DWTF_CHANGES -DXP_UNIX -DWTF_USE_ICU_UNICODE=1
>> -DWTF_USE_GSTREAMER=1 -DGTK_API_VERSION_2=1 -DNDEBUG   -I./Source
>> -I./Source/JavaScriptCore -I./Source/JavaScriptCore/API
>> -I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bytecode
>> -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/dfg
>> -I./Source/JavaScriptCore/heap -I./Source/JavaScriptCore/debugger
>> -I./Source/JavaScriptCore/ForwardingHeaders
>> -I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit
>> -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/parser
>> -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime
>> -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf
>> -I./Source/JavaScriptCore/wtf/gobject
>> -I./Source/JavaScriptCore/wtf/gtk -I./Source/JavaScriptCore/wtf/text
>> -I./Source/JavaScriptCore/wtf/unicode -I./Source/JavaScriptCore/yarr
>> -I./Source/JavaScriptCore -I./Source/JavaScriptCore/parser
>> -I./Source/JavaScriptCore/runtime -I/usr/local/include/libpng
>> -I/usr/local/include -I/usr/X11R6/include -fno-rtti -fstrict-aliasing
>> -O3  -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
>> -D_REENTRANT  -I/usr/local/include  -O2 -pipe -MT
>> Source/JavaScriptCore/parser/libjavascriptcoregtk_1_0_la-Lexer.lo -MD
>> -MP -MF
Source/JavaScriptCore/parser/.deps/libjavascriptcoregtk_1_0_la-Lexer.Tpo

>> -c -o Source/JavaScriptCore/parser/libjavascriptcoregtk_1_0_la-Lexer.lo
>> `test -f 'Source/JavaScriptCore/parser/Lexer.cpp' || echo
>> './'`Source/JavaScriptCore/parser/Lexer.cpp
>> c++ -DHAVE_CONFIG_H -I. -Wall -W -Wcast-align -Wchar-subscripts
>> -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef
>> -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings
>> -Wno-unused-parameter -Wno-parentheses -fno-exceptions
>> -DENABLE_GLIB_SUPPORT=1 -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1
>> -DWTF_CHANGES -DXP_UNIX -DWTF_USE_ICU_UNICODE=1 -DWTF_USE_GSTREAMER=1
>> -DGTK_API_VERSION_2=1 -DNDEBUG -I./Source -I./Source/JavaScriptCore
>> -I./Source/JavaScriptCore/API -I./Source/JavaScriptCore/assembler
>> -I./Source/JavaScriptCore/bytecode
>> -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/dfg
>> -I./Source/JavaScriptCore/heap -I./Source/JavaScriptCore/debugger
>> -I./Source/JavaScriptCore/ForwardingHeaders
>> -I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit
>> -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/parser
>> -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime
>> -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf
>> -I./Source/JavaScriptCore/wtf/gobject
>> -I./Source/JavaScriptCore/wtf/gtk -I./Source/JavaScriptCore/wtf/text
>> -I./Source/JavaScriptCore/wtf/unicode -I./Source/JavaScriptCore/yarr
>> -I./Source/JavaScriptCore -I./Source/JavaScriptCore/parser
>> -I./Source/JavaScriptCore/runtime -I/usr/local/include/libpng
>> -I/usr/local/include -I/usr/X11R6/include -fno-rtti -fstrict-aliasing
>> -O3 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
>> -D_REENTRANT -I/usr/local/include -O2 -pipe -MT
>> Source/JavaScriptCore/parser/libjavascriptcoregtk_1_0_la-Lexer.lo -MD
>> -MP -MF
Source/JavaScriptCore/parser/.deps/libjavascriptcoregtk_1_0_la-Lexer.Tpo

>> -c Source/JavaScriptCore/parser/Lexer.cpp -fPIC -DPIC -o
>> Source/JavaScriptCore/parser/.libs/libjavascriptcoregtk_1_0_la-Lexer.o
>> gmake[1]: Leaving directory `/home/ports/pobj/webkit-1.6.1/webkit-1.6.1'
>> *** Error code 2
>>
>> Stop in /home/ports/www/webkit (line 2444 of
>> /usr/ports/infrastructure/mk/bsd.port.mk).
>> *** Error code 1
>>
>> Stop in /home/ports/www/webkit (line 2197 of
>> /usr/ports/infrastructure/mk/bsd.port.mk).
>>
>
> Do you see "VMEM_WARNING=Yes?
>
> Cheers, Rafael

I did.  I increased the limit though they appear to already be at max
values.  When watching top during the compile it never gets to a point
where it needs to swap.

This is what top shows right before it dies:
Memory: Real: 210M/339M act/tot Free: 671M Cache: 674M Swap: 0k/1280M

Reply | Threaded
Open this post in threaded view
|

Re: errors compiling webkit on lemote

Rafael Sadowski
On Thu Jun 14, 2012 at 10:20:52AM -0700, Bryan Irvine wrote:

> On Thu, Jun 14, 2012 at 6:13 AM, Rafael Sadowski <[hidden email]>
> wrote:
> >
> > Do you see "VMEM_WARNING=Yes?
> >
> > Cheers, Rafael
>
> I did.  I increased the limit though they appear to already be at max
> values.  When watching top during the compile it never gets to a point
> where it needs to swap.
>
> This is what top shows right before it dies:
> Memory: Real: 210M/339M act/tot Free: 671M Cache: 674M Swap: 0k/1280M

OK, but you need to check 'ulimit -d'. Please, test built with:
"ulimit -d unlimited". I have no experiences with lemote and I don't
know the limits.

Cheers, Rafael

Reply | Threaded
Open this post in threaded view
|

Re: errors compiling webkit on lemote

Janne Johansson-3
The ulimits will ultimately be capped by the platform MAXDSIZ, which
for mipses probably is 1G:

./arch/mips64/include/vmparam.h:#define MAXDSIZ
(1*1024*1024*1024)      /* max data size */

..so that's where "ulimit -d unlimited" will allow at most.

2012/6/15 Rafael Sadowski <[hidden email]>:

> On Thu Jun 14, 2012 at 10:20:52AM -0700, Bryan Irvine wrote:
>> On Thu, Jun 14, 2012 at 6:13 AM, Rafael Sadowski <[hidden email]>
>> wrote:
>> >
>> > Do you see "VMEM_WARNING=Yes?
>> >
>> > Cheers, Rafael
>>
>> I did.  I increased the limit though they appear to already be at max
>> values.  When watching top during the compile it never gets to a point
>> where it needs to swap.
>>
>> This is what top shows right before it dies:
>> Memory: Real: 210M/339M act/tot Free: 671M Cache: 674M Swap: 0k/1280M
>
> OK, but you need to check 'ulimit -d'. Please, test built with:
> "ulimit -d unlimited". I have no experiences with lemote and I don't
> know the limits.
>
> Cheers, Rafael
>



--
 To our sweethearts and wives.  May they never meet. -- 19th century toast

Reply | Threaded
Open this post in threaded view
|

Re: errors compiling webkit on lemote

Bryan Irvine
On Fri, Jun 15, 2012 at 2:15 AM, Janne Johansson <[hidden email]> wrote:
> The ulimits will ultimately be capped by the platform MAXDSIZ, which
> for mipses probably is 1G:
>
> ./arch/mips64/include/vmparam.h:#define MAXDSIZ
> (1*1024*1024*1024)      /* max data size */
>
> ..so that's where "ulimit -d unlimited" will allow at most.

Ah, that explains why messing with ulimit didn't seem to make any difference.

Would adjusting that help me in this case?

Reply | Threaded
Open this post in threaded view
|

Re: errors compiling webkit on lemote

Janne Johansson-3
2012/6/15 Bryan Irvine <[hidden email]>:
> On Fri, Jun 15, 2012 at 2:15 AM, Janne Johansson <[hidden email]>
wrote:
>> The ulimits will ultimately be capped by the platform MAXDSIZ, which
>> for mipses probably is 1G:
>>
>> ./arch/mips64/include/vmparam.h:#define MAXDSIZ
>> (1*1024*1024*1024)      /* max data size */
>>
>> ..so that's where "ulimit -d unlimited" will allow at most.
>
> Ah, that explains why messing with ulimit didn't seem to make any
difference.
>
> Would adjusting that help me in this case?

Can't say. One thing for sure is that the limits are there to make
sure small-mem systems (32-bits CPUs) dont have their kernel, stack,
heap, libs and memorymapped I/O areas overlap for any program. Perhaps
you can up it a bit perhaps not, best way would be to try.

There is a neat dungeon of stuff to read and learn in order to figure
out what the maximum size for any given platform would be and how it
affects max stack size, brk() sizes and what not. You are likely to be
eaten by a grue. =)

--
 To our sweethearts and wives.  May they never meet. -- 19th century toast

Reply | Threaded
Open this post in threaded view
|

Re: errors compiling webkit on lemote

Bryan Irvine
On Jun 16, 2012, at 12:45 AM, Janne Johansson <[hidden email]> wrote:

> 2012/6/15 Bryan Irvine <[hidden email]>:
>> On Fri, Jun 15, 2012 at 2:15 AM, Janne Johansson <[hidden email]>
wrote:
>>> The ulimits will ultimately be capped by the platform MAXDSIZ, which
>>> for mipses probably is 1G:
>>>
>>> ./arch/mips64/include/vmparam.h:#define MAXDSIZ
>>> (1*1024*1024*1024)      /* max data size */
>>>
>>> ..so that's where "ulimit -d unlimited" will allow at most.
>>
>> Ah, that explains why messing with ulimit didn't seem to make any
difference.

>>
>> Would adjusting that help me in this case?
>
> Can't say. One thing for sure is that the limits are there to make
> sure small-mem systems (32-bits CPUs) dont have their kernel, stack,
> heap, libs and memorymapped I/O areas overlap for any program. Perhaps
> you can up it a bit perhaps not, best way would be to try.
>
> There is a neat dungeon of stuff to read and learn in order to figure
> out what the maximum size for any given platform would be and how it
> affects max stack size, brk() sizes and what not. You are likely to be
> eaten by a grue. =)

Many many grues! I kind of tried a few experiments. Most of them ended badly
the rest didn't affect anything at all. *sigh*

Reply | Threaded
Open this post in threaded view
|

Re: errors compiling webkit on lemote

Brian Callahan-3
In reply to this post by Bryan Irvine
My loongson patches didn't make 5.1 so either run -current (recommended)
or backport my patches to 5.1

Either way, you won't get JavaScript, so please keep that in mind (or
help me out! :) )

~Brian