Skip site navigation (1)Skip section navigation (2)
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
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig6DB69288F6ECBED8C6786159
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable



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 wit=
h
>> 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.i=
i
>> -quiet -dumpbase item_subselect.cc -march=3Dpentium3 -march=3Dpentium3=

>> -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
>=20
> What CFLAGS are you using?  All those optimizations look suspicious.
My /etc/make.conf contains only CPUTYPE=3Dp3 with respect to optimization=
s
and the following for MySQL:

=2Eif ${.CURDIR:M*/databases/mysql50-server}
WITH_XCHARSET=3Dall
WITH_OPENSSL=3Dyes
WITH_PROC_SCOPE_PTH=3Dyes
WITH_ARCHIVE=3Dyes
WITH_NDB=3Dyes
BUILD_OPTIMIZED=3Dyes
=2Eendif

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.


>=20
> Kris

Vaclav Haisman


--------------enig6DB69288F6ECBED8C6786159
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----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-----

--------------enig6DB69288F6ECBED8C6786159--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44380685.2070801>