Re: Compile error (multiple compilations)

From: Date: Fri, 12 Jan 2001 10:28:06 +0000
Subject: Re: Compile error (multiple compilations)
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-43845@lists.php.net to get a copy of this message
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 <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.dev (#43845) next »