Date: Sat, 08 Apr 2006 20:52:53 +0200 From: =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= <V.Haisman@sh.cvut.cz> To: Kris Kennaway <kris@obsecurity.org> Cc: freebsd-stable@freebsd.org, ale@FreeBSD.org Subject: Re: GCC in 6.0 fails to compile latest MySQL port Message-ID: <44380685.2070801@sh.cvut.cz> In-Reply-To: <20060408183813.GB36318@xor.obsecurity.org> References: <4437BF54.3080608@sh.cvut.cz> <20060408183813.GB36318@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Kris Kennaway wrote: > 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. My /etc/make.conf contains only CPUTYPE=p3 with respect to optimizations and the following for MySQL: .if ${.CURDIR:M*/databases/mysql50-server} WITH_XCHARSET=all WITH_OPENSSL=yes WITH_PROC_SCOPE_PTH=yes WITH_ARCHIVE=yes WITH_NDB=yes BUILD_OPTIMIZED=yes .endif While the error is still reproducible I have a suspicion that faulty memory could be the cause. It could help me confirm/exclude that possibility if somebody could try to compile the preprocessed source with the pasted command. > > Kris Vaclav Haisman [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRDgGjW56zbtzMDG0AQIeRgf/RXilXSI3JT8jEzt6OSHZ0HVf4aXOqRkE jNfQsLj0czeOKgPbdCysQVhTeAdQYbhK07JQEu+C51DjTcYDHfx/pnCnYuTSOGpI KjHKir8/quOoKDu1RSh4CdvUDu+XMaBBzp/D1sC5ZrOi1Wkq5P1ZZ4E9Gg5rSipA 8BzwIwgVo3jAFwp6F4NWxUlpIU/iLzoB9y0mSPUcUdR3RzJjQ2A4/gyTr6Oi3PQV ojIioFgxcSkvnFRj6ERIdtaB53TnmEUD7HJcG/dPJVY8a4MJ0Ve/+MiJDXPOPKOa iRkY/GFm7H3cCD1fMO6kMw+izQE1mVb7yWY4v4Jo+vEYwTnXEN8YFw== =1ZiU -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44380685.2070801>
