See the topic for the problem :)
what use variables? where does it break?
also, which compiler?
And which ebuild? dev-lang/php or the new dev-php/mod_php?
I believe this was submitted before I committed the new directory. It should be dev-lang/php I would think.
It configures now: I reinstalled my Gentoo box to 1.2 :) But now I get compile errors at mutt and php: /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. - I../main -DHARD_SERVER_LIMIT=512 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 - DLINUX=22 -DTARGET="apache" -DDEV_RANDOM=/dev/random -DUSE_HSREGEX -DEAPI - DEAPI_MM -I../TSRM -march=i586 -O3 -pipe -prefer-pic -c -o zend_language_parser.lo `test -f zend_language_parser.c || echo './'`zend_language_parser.c gcc: Internal compiler error: program cc1 got fatal signal 11 {standard input}: Assembler messages: {standard input}:0: Warning: end of file not at end of a line; newline inserted cpp0: output pipe has been closed make[1]: *** [zend_language_parser.lo] Error 1 make[1]: Leaving directory `/var/tmp/portage/php-4.2.1-r1/work/php-4.2.1/Zend' make: *** [all-recursive] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 164, Exitcode 2 !!! compile problem !!! emerge aborting on /usr/portage/dev-lang/php/php-4.2.1-r1.ebuild . I've tried it four times, but everytime it fails at this point. USE="-xfree -X -kdm -gdm -gnome -kde -qt -gtk imap mysql" Compilen GCC 2.95.3 (Gentoo 1.2) dev-lang/php/php-4.2.1-r1.ebuild
Hi Michiel I don't like the line gcc: "Internal compiler error: program cc1 got fatal signal 11" Try to change CFLAGS in make.conf. Look for -O3, change it to -O1. Then 'emerge php' Tell me please, if it has helped. Roman
Ah ok, but -O1 is less optimized or not?
I tried with -O2, but I got the same error :( I tried with -O1, and he goes, but fails again: /bin/sh /var/tmp/portage/php-4.2.1-r1/work/php-4.2.1/libtool --silent -- mode=compile gcc -I. -I/var/tmp/portage/php-4.2.1-r1/work/php- 4.2.1/ext/standard -I/var/tmp/portage/php-4.2.1-r1/work/php-4.2.1/main - I/var/tmp/portage/php-4.2.1-r1/work/php-4.2.1 -I/usr/include/apache - I/var/tmp/portage/php-4.2.1-r1/work/php-4.2.1/Zend -I/usr/include/libxml2 - I/usr/include/freetype -I/usr/include/imap -I/usr/include/mysql - I/var/tmp/portage/php-4.2.1-r1/work/php-4.2.1/ext/xml/expat - DHARD_SERVER_LIMIT=512 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX=22 - DTARGET="apache" -DDEV_RANDOM=/dev/random -DUSE_HSREGEX -DEAPI -DEAPI_MM - I/var/tmp/portage/php-4.2.1-r1/work/php-4.2.1/TSRM -march=i586 -O1 -pipe - prefer-pic -c html.c gcc: Internal compiler error: program cc1 got fatal signal 11 make[3]: *** [html.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/php-4.2.1-r1/work/php- 4.2.1/ext/standard' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/php-4.2.1-r1/work/php- 4.2.1/ext/standard' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/php-4.2.1-r1/work/php-4.2.1/ext' make: *** [all-recursive] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 164, Exitcode 2 !!! compile problem !!! emerge aborting on /usr/portage/dev-lang/php/php-4.2.1-r1.ebuild .
It's compiled with -O1 now :)
Strange..... Can you tell me which processor and your compiler flags? (That interests me)
Hmm...libmcrypt compiles sane with php (dev-lang/php) on my machine...... (Or is this now resolved too?)
Processor: VIA EDEN C3 800 Mhz (i586 architecture) Compile flags : # Pentium/Pentium MMX+ exclusive (requires a Pentium Classic or K6 or beyond) CHOST="i586-pc-linux-gnu" CFLAGS="-march=i586 -O3 -pipe" CXXFLAGS="-march=i586 -O3 -pipe"
Has this bug been resolved?
I think, you can close it.... The -O3 optimization from gcc for the VIA EDEN processor isn't sane. Roman