From: Dan Nelson Date: February 12 2003 8:02pm Subject: Re: cannot compile 3.23, 4.0 or Redhat SRPMs List-Archive: http://lists.mysql.com/mysql/132250 Message-Id: <20030212200231.GB1980@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In the last episode (Feb 12), Nigel Wetters said: > whichever way I try, I'm having no luck compiling on redhat 8.0. I've > tried with the latest 3.23 and 4.0 tarballs, the latest pull from > bitkeeper, and the redhat SRPMs. > > some details here: > http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=84137 gcc -DHAVE_CONFIG_H -I. -I../.././innobase/dict -I.. -I../../include -I../include -DDBUG_OFF -O3 -DDBUG_OFF -O2 -march=i386 -mcpu=i686 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DDEBUG_OFF -DUNIV_INTEL_X86 -c `test -f dict0load.c || echo '../.././innobase/dict/'`dict0load.c dict0load.c: In function `dict_load_foreign_cols': dict0load.c:879: internal error: Segmentation fault Sounds like you hit a GCC bug. Try rebuilding just that file without any -O flags. -- Dan Nelson dnelson@stripped sql, query