gcc-2.96-62 can't compile mysql on SPARC, even with -O0 (and hasn't been able to since egcs) - it boms out in the hash-generating part: [sparc] c++ -O3 -DDBUG_OFF -O0 -fno-implicit-templates -rdynamic -o gen_lex_hash gen_lex_hash.o ../isam/libnisam.a ../merge/libmerge.a ../myisam/libmyisam.a ../myisammrg/libmyisammrg.a ../heap/libheap.a ../mysys/libmysys.a ../dbug/libdbug.a ../regex/libregex.a ../strings/libmystrings.a -ldl -lnsl -lm -lz -lcrypt -lpthread [sparc] make[4]: Leaving directory `/usr/src/bs/BUILD/mysql-3.23.27-beta/sql' [sparc] ./gen_lex_hash > lex_hash.h [sparc] make[3]: [sparc] make[3]: Leaving directory `/usr/src/bs/BUILD/mysql-3.23.27-beta/sql' [sparc] make[2]: Leaving directory `/usr/src/bs/BUILD/mysql-3.23.27-beta/sql' [sparc] make[1]: Leaving directory `/usr/src/bs/BUILD/mysql-3.23.27-beta' [sparc] *** [lex_hash.h] Error 138 [sparc] make[2]: *** [all-recursive] Error 1
MySQL fault, should be fixed in mysql-3.23.27-2.