Bug#557546: gcc-4.3: ICE (segfault) on mips
Package: gcc-4.3
Version: 4.3.4-6
Severity: important
Affects: php5
Hi,
From the build log of php5/5.2.11.dfsg.1-2[1]:
/bin/bash /build/buildd/php5-5.2.11.dfsg.1/cli-build/libtool --preserve-dup-deps --mode=compile
mips-linux-gnu-gcc -Imain/streams/ -I/build/buildd/php5-5.2.11.dfsg.1/main/streams/ -DPHP_ATOM_INC -I/build/buildd/php5-5.2.11.dfsg.1/cli-build/include -I/build/buildd/php5-5.2.11.dfsg.1/cli-build/main -I/build/buildd/php5-5.2.11.dfsg.1 -I/build/buildd/php5-5.2.11.dfsg.1/cli-build/ext/date/lib -I/build/buildd/php5-5.2.11.dfsg.1/ext/date/lib -I/usr/include/libxml2 -I/build/buildd/php5-5.2.11.dfsg.1/ext/mbstring/oniguruma -I/build/buildd/php5-5.2.11.dfsg.1/cli-build/ext/mbstring/oniguruma -I/build/buildd/php5-5.2.11.dfsg.1/ext/mbstring/libmbfl -I/build/buildd/php5-5.2.11.dfsg.1/cli-build/ext/mbstring/libmbfl -I/build/buildd/php5-5.2.11.dfsg.1/ext/mbstring/libmbfl/mbfl -I/build/buildd/php5-5.2.11.dfsg.1/cli-build/ext/mbstring/libmbfl/mbfl -I/build/buildd/php5-5.2.11.dfsg.1/cli-build/TSRM -I/build/buildd/php5-5.2.11.dfsg.1/cli-build/Zend -I/build/buildd/php5-5.2.11.dfsg.1/main -I/build/buildd/php5-5.2.11.dfsg.1/Zend -I/build/buildd/php5-5.2.11.dfsg.1/TSRM -I/build/buildd/php5-5.2.11.dfsg.1/cli-build/ -D_XPG_IV -I/usr/include -g -O2 -O2 -Wall -fsigned-char -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -gstabs -c /build/buildd/php5-5.2.11.dfsg.1/main/streams/streams.c -o
main/streams/streams.lo
libtool: compile:
mips-linux-gnu-gcc -Imain/streams/ -I/build/buildd/php5-5.2.11.dfsg.1/main/streams/ -DPHP_ATOM_INC -I/build/buildd/php5-5.2.11.dfsg.1/cli-build/include -I/build/buildd/php5-5.2.11.dfsg.1/cli-build/main -I/build/buildd/php5-5.2.11.dfsg.1 -I/build/buildd/php5-5.2.11.dfsg.1/cli-build/ext/date/lib -I/build/buildd/php5-5.2.11.dfsg.1/ext/date/lib -I/usr/include/libxml2 -I/build/buildd/php5-5.2.11.dfsg.1/ext/mbstring/oniguruma -I/build/buildd/php5-5.2.11.dfsg.1/cli-build/ext/mbstring/oniguruma -I/build/buildd/php5-5.2.11.dfsg.1/ext/mbstring/libmbfl -I/build/buildd/php5-5.2.11.dfsg.1/cli-build/ext/mbstring/libmbfl -I/build/buildd/php5-5.2.11.dfsg.1/ext/mbstring/libmbfl/mbfl -I/build/buildd/php5-5.2.11.dfsg.1/cli-build/ext/mbstring/libmbfl/mbfl -I/build/buildd/php5-5.2.11.dfsg.1/cli-build/TSRM -I/build/buildd/php5-5.2.11.dfsg.1/cli-build/Zend -I/build/buildd/php5-5.2.11.dfsg.1/main -I/build/buildd/php5-5.2.11.dfsg.1/Zend -I/build/buildd/php5-5.2.11.dfsg.1/TSRM -I/build/buildd/php5-5.2.11.dfsg.1/cli-build/ -D_XPG_IV -I/usr/include -g -O2 -O2 -Wall -fsigned-char -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -gstabs -c /build/buildd/php5-5.2.11.dfsg.1/main/streams/streams.c -fPIC -DPIC -o
main/streams/streams.o
/build/buildd/php5-5.2.11.dfsg.1/main/streams/streams.c: In
function 'php_stream_fill_read_buffer':
/build/buildd/php5-5.2.11.dfsg.1/main/streams/streams.c:555: warning: pointer
targets in passing argument 2 of 'stream->ops->read' differ in signedness
/build/buildd/php5-5.2.11.dfsg.1/main/streams/streams.c: In
function '_php_stream_putc':
/build/buildd/php5-5.2.11.dfsg.1/main/streams/streams.c:651: warning: pointer
targets in passing argument 2 of '_php_stream_write' differ in signedness
/build/buildd/php5-5.2.11.dfsg.1/main/streams/streams.c: In
function 'php_stream_locate_eol':
/build/buildd/php5-5.2.11.dfsg.1/main/streams/streams.c:706: warning: pointer
targets in assignment differ in signedness
/build/buildd/php5-5.2.11.dfsg.1/main/streams/streams.c: In
function '_php_stream_get_line':
/build/buildd/php5-5.2.11.dfsg.1/main/streams/streams.c:778: warning: pointer
targets in assignment differ in signedness
/build/buildd/php5-5.2.11.dfsg.1/main/streams/streams.c: In
function 'php_stream_get_record':
/build/buildd/php5-5.2.11.dfsg.1/main/streams/streams.c:891: warning: pointer
targets in passing argument 1 of 'zend_memnstr' differ in signedness
/build/buildd/php5-5.2.11.dfsg.1/main/streams/streams.c:891: warning: pointer
targets in passing argument 4 of 'zend_memnstr' differ in signedness
/build/buildd/php5-5.2.11.dfsg.1/main/streams/streams.c: In
function 'php_stream_fill_read_buffer':
/build/buildd/php5-5.2.11.dfsg.1/main/streams/streams.c:562: internal compiler
error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.
make[1]: *** [main/streams/streams.lo] Error 1
The previous version (5.2.11.dfsg.1-1) was built successfully on mips with
4.3.4-2[2], and no change was made to the php5 package on the code where the
ICE occurred.
[1]https://buildd.debian.org/fetch.cgi?pkg=php5&arch=mips&ver=5.2.11.dfsg.1-2&stamp=1258883532&file=log&as=raw
[2]https://buildd.debian.org/fetch.cgi?pkg=php5;ver=5.2.11.dfsg.1-1;arch=mips;stamp=1253463306
Cheers,
--
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net
Reply to: