PHP 4.0 Bug #9225 Updated: Somthing is eating my cflags
| From: | sniper@php.net | Date: | Sun, 11 Mar 2001 06:35:58 +0000 |
| Subject: | PHP 4.0 Bug #9225 Updated: Somthing is eating my cflags | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-48637@lists.php.net to get a copy of this message | ||
ID: 9225
Updated by: sniper
Reported By: wico@cnh.nl
Old-Status: Open
Status: Feedback
Bug Type: Compile Failure
Assigned To:
Comments:
I can't reproduce this with latest CVS.
My gcc version:
[root@kossu Zend]# gcc --version
egcs-2.91.66
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-02-12 08:43:23] wico@cnh.nl
Hiya,
i have these flags for compiling:
CXXFLAGS = CFLAGS= -Os -O6 -march=pentium
when i do:
./configure --with-apache=/usr/src/wico/apache_1.3.17
--with-config-file-path=/usr/local/apache/conf
--enable-sigchild
--disable-pear
--with-bz2
--with-curl=/usr/local/curl
--enable-ftp
--with-gd
--with-mcrypt=/usr/local/mcrypt
--with-mysql=/usr/local/mysql
--disable-session
--enable-sockets
--enable-sysvsem
--enable-sysvshm
--with-zlib
--enable-static &&
make &&
make install
i get this:
Making all in Zend
make[1]: Entering directory `/home/src/wico/php-4.0.4pl1/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 -Os -O6 -march=pentium -c zend_language_scanner.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 -Os -O6 -march=pentium -c zend_ini_scanner.c
/bin/sh ../libtool --silent --mode=link gcc -Os -O6 -march=pentium -o libZend_c.la
zend_language_scanner.lo zend_ini_scanner.lo
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 -Os -O6 -march=pentium -c zend_language_parser.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 -Os -O6 -march=pentium -c zend_ini_parser.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 -Os -O6 -march=pentium -c zend_alloc.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 -Os -O6 -march=pentium -c zend_compile.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 -Os -O6 -march=pentium -c zend_constants.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 -Os -O6 -march=pentium -c zend_dynamic_array.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 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/wico/php-4.0.4pl1/Zend'
make: *** [all-recursive] Error 1
watch this line:
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 s -O6 -march=pentium -c ./zend_execute.c
changing it to this works:
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 -Os -O6 -march=pentium -c ./zend_execute.c
Greetz,
Wico
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9225&edit=2