tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Compiling php53 on m68k
At 4:44 Uhr +0000 21.12.2010, John Klos wrote:
>Does anyone have any suggestions about how I might compile lang/php53 on
>m68k? I'm getting "virtual memory exhausted: Cannot allocate memory"
>errors, even after replacing -O2 with -O, -Os, or removing -O2 altogether.
>I'm stuck at this point:
>
>reva: {24} /bin/sh /usr/pkgsrc/lang/php53/work/php-5.3.4/libtool --silent
>--preserve-dup-deps --mode=compile cc
>-I/usr/pkgsrc/lang/php53/work/php-5.3.4/ext/fileinfo/libmagic
>-Iext/fileinfo/ -I/usr/pkgsrc/lang/php53/work/php-5.3.4/ext/fileinfo/
>-DPHP_ATOM_INC -I/usr/pkgsrc/lang/php53/work/php-5.3.4/include
>-I/usr/pkgsrc/lang/php53/work/php-5.3.4/main
>-I/usr/pkgsrc/lang/php53/work/php-5.3.4
>-I/usr/pkgsrc/lang/php53/work/php-5.3.4/ext/date/lib
>-I/usr/local/include/libxml2 -I/usr/pkgsrc/lang/php53/work/php-5.3.4/TSRM
>-I/usr/pkgsrc/lang/php53/work/php-5.3.4/Zend -I/usr/local/include
>-I/usr/include -I/usr/local/include -I/usr/include -fvisibility=hidden -c
>/usr/pkgsrc/lang/php53/work/php-5.3.4/ext/fileinfo/libmagic/apprentice.c
>-o ext/fileinfo/libmagic/apprentice.lo
>
>Ideas?
Well, same here: Quadra 650, 128 MB RAM, keeling over at 160 MB process size.
panic: enter: out of address space
Begin traceback...
?(?)
panic(15b6f7,1,22,dffd000,1) at 0
pmap_enter_ptpage(9ed9bd0,e000000,1) + 178
pmap_enter(9ed9bd0,e000000,6317000,3,22) + 92
uvm_fault_internal(c0f2704,e000000,2,0) + c0e
trap(c138f80,8,481,e000000) + 512
faultstkadj() + 4
End traceback...
This looks like a 'looping gcc' bug to me - compiling a fairly plain 50
kByte C file shouldn't take three-digit MB of RAM on a 68k machine...
hauke
--
"It's never straight up and down" (DEVO)
Home |
Main Index |
Thread Index |
Old Index