GCC in 6.0 fails to compile latest MySQL port

Kris Kennaway kris at obsecurity.org
Sat Apr 8 18:38:18 UTC 2006


On Sat, Apr 08, 2006 at 03:49:08PM +0200, V??clav Haisman wrote:
> Hi,
> today I tried to update to MySQL server 5.0.19 but GCC failed with ICE
> on one file. The FreeBSD is version 6.0. The error is reproducible with
> the linked preprocessed source and the command line bellow. This is a
> base GCC bug.
> 
> Preprocessed source: http://logout.sh.cvut.cz/~wilx/item_subselect.ii.bz2
> 
> The command line: /usr/libexec/cc1plus -fpreprocessed item_subselect.ii
> -quiet -dumpbase item_subselect.cc -march=pentium3 -march=pentium3
> -auxbase-strip item_subselect.o -O2 -O3 -O2 -O3 -version
> -fno-strict-aliasing -fno-omit-frame-pointer -fno-gcse
> -fno-strict-aliasing -fno-omit-frame-pointer -fno-gcse
> -felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates
> -fno-exceptions -fno-rtti -o item_subselect.s

What CFLAGS are you using?  All those optimizations look suspicious.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060408/722ca0ea/attachment.pgp


More information about the freebsd-stable mailing list