Re: [PHP-DEV] Compile error (multiple compilations)

2001-01-12 Thread Wico de Leeuw

Hiya

gcc -c  -I../../os/unix -I../../include   -DLINUX=2 
-I/home/src/php-4.0.4pl1 -I/home/src/php-4.0.4pl1/main 
-I/home/src/php-4.0.4pl1/main -I/home/src/php-4.0.4pl1/Zend 
-I/home/src/php-4.0.4pl1/Zend -I/home/src/php-4.0.4pl1/TSRM 
-I/home/src/php-4.0.4pl1/TSRM -I/home/src/php-4.0.4pl1 -DUSE_EXPAT 
-I../../lib/expat-lite -DNO_DL_NEEDED -Os -O6 -march=pentium `../../apaci` 
-DAPACHE xmltok.c
In file included from xmltok.c:260:
xmltok_impl.c: In function `normal_getAtts':
xmltok_impl.c:1478: Internal compiler error in `do_spl', at loop.c:12473

changing -O6 to -O3 works



At 11:15 12-1-01 +0100, Wico de Leeuw wrote:
>Hiya
>
>when changing:
>>/bin/sh ../libtool --silent --mode=compile /home/src/php-4.0.4pl1/meta_cc 
>>-DHAVE_CONFIG_H -I. -I. -I../main   s -O6 -march=pentium  -c ./zend_execute.c
>
>to:
>
>>/bin/sh ../libtool --silent --mode=compile /home/src/php-4.0.4pl1/meta_cc 
>>-DHAVE_CONFIG_H -I. -I. -I../main   -Os -O6 -march=pentium  -c ./zend_execute.c
>
>
>and run make again everything is fine
>
>Greetz,
>
>Wicp
>
>
>At 10:54 12-1-01 +0100, Wico de Leeuw wrote:
>>Hiya
>>
>>when compiling php-4.0.4pl1
>>
>>my CFLAGS AND CXXFLAGS are: "-Os -O6 -march=pentium"
>>using pgcc-2.95.2.1 linux rehat 6.2
>>
>>i get this error when compiling php:
>>
>>/bin/sh ../libtool --silent --mode=compile /home/src/php-4.0.4pl1/meta_cc 
>>-DHAVE_CONFIG_H -I. -I. -I../main -Os -O6 -march=pentium -c 
>>zend_constants.c
>>/bin/sh ../libtool --silent --mode=compile /home/src/php-4.0.4pl1/meta_cc 
>>-DHAVE_CONFIG_H -I. -I. -I../main -Os -O6 -march=pentium -c 
>>zend_dynamic_array.c
>>/bin/sh ../libtool --silent --mode=compile /home/src/php-4.0.4pl1/meta_cc 
>>-DHAVE_CONFIG_H -I. -I. -I../main   s -O6 -march=pentium  -c ./zend_execute.c
>>gcc: cannot specify -o with -c or -S and multiple compilations
>>make[1]: *** [zend_execute.lo] Error 1
>>make[1]: Leaving directory `/home/src/php-4.0.4pl1/Zend'
>>make: *** [all-recursive] Error 1
>>[root@linux src]#
>>
>>Look like it strips off the -O and forgets the rest
>>
>>Greetz,
>>
>>Wico
>>
>>
>>--
>>PHP Development Mailing List 
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>--
>PHP Development Mailing List 
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Compile error (multiple compilations)

2001-01-12 Thread Wico de Leeuw

Hiya

when changing:
>/bin/sh ../libtool --silent --mode=compile /home/src/php-4.0.4pl1/meta_cc 
>-DHAVE_CONFIG_H -I. -I. -I../main   s -O6 -march=pentium  -c ./zend_execute.c

to:

>/bin/sh ../libtool --silent --mode=compile /home/src/php-4.0.4pl1/meta_cc 
>-DHAVE_CONFIG_H -I. -I. -I../main   -Os -O6 -march=pentium  -c ./zend_execute.c


and run make again everything is fine

Greetz,

Wicp


At 10:54 12-1-01 +0100, Wico de Leeuw wrote:
>Hiya
>
>when compiling php-4.0.4pl1
>
>my CFLAGS AND CXXFLAGS are: "-Os -O6 -march=pentium"
>using pgcc-2.95.2.1 linux rehat 6.2
>
>i get this error when compiling php:
>
>/bin/sh ../libtool --silent --mode=compile /home/src/php-4.0.4pl1/meta_cc 
>-DHAVE_CONFIG_H -I. -I. -I../main -Os -O6 -march=pentium -c 
>zend_constants.c
>/bin/sh ../libtool --silent --mode=compile /home/src/php-4.0.4pl1/meta_cc 
>-DHAVE_CONFIG_H -I. -I. -I../main -Os -O6 -march=pentium -c 
>zend_dynamic_array.c
>/bin/sh ../libtool --silent --mode=compile /home/src/php-4.0.4pl1/meta_cc 
>-DHAVE_CONFIG_H -I. -I. -I../main   s -O6 -march=pentium  -c ./zend_execute.c
>gcc: cannot specify -o with -c or -S and multiple compilations
>make[1]: *** [zend_execute.lo] Error 1
>make[1]: Leaving directory `/home/src/php-4.0.4pl1/Zend'
>make: *** [all-recursive] Error 1
>[root@linux src]#
>
>Look like it strips off the -O and forgets the rest
>
>Greetz,
>
>Wico
>
>
>--
>PHP Development Mailing List 
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]