ID: 26487
User updated by: friosa at pnpitalia dot it
Reported By: friosa at pnpitalia dot it
Status: Bogus
Bug Type: Reproducible crash
Operating System: athlon suse linux 9
PHP Version: 5.0.0b2 (beta2)
New Comment:
FINALLY
the difference is beetween -O2 and -O3 so:
theese ones *work*:
CHOST="i686-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=athlon-xp -mfpmath=sse,387 -mieee-fp
-malign-double -m128bit-long-double -maccumulate-outgoing-args
-fmove-all-movables"
CXXFLAGS=$CFLAGS
this one does NOT!
CFLAGS="-pipe -O3 -march=athlon-xp -mfpmath=sse,387 -mieee-fp
-malign-double -m128bit-long-double -maccumulate-outgoing-args
-fmove-all-movables"
Previous Comments:
------------------------------------------------------------------------
[2003-12-02 04:19:16] [EMAIL PROTECTED]
Yeah, this is not PHP bug.. -O6 is really asking for all problems there
can possibly be..
------------------------------------------------------------------------
[2003-12-02 04:07:51] friosa at pnpitalia dot it
EUREKA !!!
unset CHOST
unset CFLAGS
unset CXXFLAGS
./configure --disable-all --disable-cgi --enable-debug
make
sapi/cli/php ../try2.php
with php5-200312020830 it's OK !!! :D
I wasn't thinking about the optimizations flags I've chosen before,
they are in my /etc/profile so I don't see them very often :P .
do u advise me to send to gnu people a report ?
------------------------------------------------------------------------
[2003-12-02 03:44:40] friosa at pnpitalia dot it
LD_LIBRARY_PATH=$INFORMIXDIR/lib/dmi:$INFORMIXDIR/lib:$INFORMIXDIR/lib/esql:$INFORMIXDIR/incl/tools:$INFORMIXDIR/incl/esql
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=k6 -O6 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=k6 -O6 -pipe -fomit-frame-pointer"
# gcc --version
gcc (GCC) 3.3.1 (SuSE Linux)
# bison --version
bison (GNU Bison) 1.75
Scritto da Robert Corbett e Richard Stallman.
# flex --version
flex version 2.5.4
# autoconf --version
autoconf (GNU Autoconf) 2.57
Written by David J. MacKenzie and Akim Demaille.
# automake --version
automake (GNU automake) 1.7.6
Written by Tom Tromey <[EMAIL PROTECTED]>.
------------------------------------------------------------------------
[2003-12-02 00:03:00] [EMAIL PROTECTED]
What gcc version are you using? And bison? flex?
------------------------------------------------------------------------
[2003-12-01 13:59:54] friosa at pnpitalia dot it
sapi/cli/php ../try1.php ; sapi/cli/php ../try2.php ; sapi/cli/php
../try3.php
Segmentation fault
Segmentation fault
ok
I've tryed with php 4.3.4 (compiled with the previous options) and it
work fine
... and gdm still don't help me
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/26487
--
Edit this bug report at http://bugs.php.net/?id=26487&edit=1