Hello! gcc reports internal compiler error when compiling mysql-4.1.11:
Version: Using built-in specs. Target: i686-pc-linux-gnu Configured with: /appl/tmo/be6/tmp/gcc-4.0.0/configure --prefix=/appl/tmo/be6/32 --enable-shared --enable-threads --with-gnu-as --with-as=/appl/tmo/be6/32/bin/as --with-gnu-ld --with-ld=/appl/tmo/be6/32/bin/ld --with-mpfr=/appl/tmo/be6/32 --with-gmp=/appl/tmo/be6/32 --disable-multilib --enable-languages=c,c++,f95,java,objc,treelang i686-pc-linux-gnu Thread model: posix gcc version 4.0.0 Running Redhat9, kernel 2.4.20. How to repeat: 1) Download openssl 0.9.7g and install. 2) download mysql 4.1.11 from http://dev.mysql.com/downloads/mysql/4.1.html 3) Configure mysql with: (change paths :-) configure --prefix=/appl/tmo/be6/32 --host=i686-pc-linux-gnu --without-debug --with-comment --with-openssl --with-openssl-includes=/appl/tmo/be6/32/include --with-openssl-libs=/appl/tmo/be6/32/lib --enable-thread-safe-client 4) make The make aborts with: if i686-pc-linux-gnu-gcc -DDEFAULT_BASEDIR=\"/appl/tmo/be6/32\" -DDATADIR="\"/appl/tmo/be6/32/var\"" -DDEFAULT_CHARSET_HOME="\"/appl/tmo/be6/32\"" -DSHAREDIR="\"/appl/tmo/be6/32/share/mysql\"" -DHAVE_CONFIG_H -I. -I/appl/tmo/be6/tmp/mysql-4.1.11/mysys -I.. -I/appl/tmo/be6/tmp/mysql-4.1.11/include -I/appl/tmo/be6/tmp/mysql-4.1.11/mysys -O3 -DDBUG_OFF -MT checksum.o -MD -MP -MF ".deps/checksum.Tpo" -c -o checksum.o checksum.c; \ then mv -f ".deps/checksum.Tpo" ".deps/checksum.Po"; else rm -f ".deps/checksum.Tpo"; exit 1; fi default.c: In function \uffff\uffff\uffffsearch_default_file_with_ext\uffff\uffff\uffff: default.c:346: internal compiler error: in get_indirect_ref_operands, at tree-ssa-operands.c:1449 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. make[3]: *** [default.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/data/appl/tmo/be6/tmp/mysql-4.1.11/mysys' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/data/appl/tmo/be6/tmp/mysql-4.1.11' make[1]: *** [all] Error 2 make[1]: Leaving directory `/data/appl/tmo/be6/tmp/mysql-4.1.11' I hope, this helps reproducing the bug. If you have more questions, feel free to ask. Best regards & happy debugging Andreas Florath -- Summary: Internal Compiler Error compiling mysql-4.1.11 Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: andreas at florath dot net CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21618