Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2006 23:07:41 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Andrew Reilly <andrew-freebsd@areilly.bpc-users.org>
Cc:        freebsd-amd64@FreeBSD.org
Subject:   Re: amd64/98893: cc error at -O2 on amd64/6-STABLE compiling port ucspi-tcp
Message-ID:  <20060613030741.GA79016@xor.obsecurity.org>
In-Reply-To: <200606130300.k5D30f58076349@freefall.freebsd.org>
References:  <200606130300.k5D30f58076349@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--zYM0uCDKw75PZbzx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jun 13, 2006 at 03:00:41AM +0000, Andrew Reilly wrote:
> The following reply was made to PR amd64/98893; it has been noted by GNAT=
S.
>=20
> From: Andrew Reilly <andrew-freebsd@areilly.bpc-users.org>
> To: Kris Kennaway <kris@obsecurity.org>
> Cc: FreeBSD-gnats-submit@FreeBSD.org
> Subject: Re: amd64/98893: cc error at -O2 on amd64/6-STABLE compiling por=
t ucspi-tcp
> Date: Tue, 13 Jun 2006 12:58:56 +1000
>=20
>  On Mon, Jun 12, 2006 at 10:27:03PM -0400, Kris Kennaway wrote:
>  > So I'm confused, is it using -O2 or -O2 -fno-strict-aliasing (the
>  > default).  If the former, it's probably an aliasing bug in the source,
>  > which is why the default is not plain -O2.
> =20
>  Sorry for the confusion.  -fno-strict-aliasing was included for
>  all compiler alternatives, as per the default.
> =20
>  I.e.:
>  	cc -O2 -fno-strict-aliasing    fails
>  	cc -O -fnostrict-aliasing      works
>  	gcc41 -O2 -fno-strict-aliasing works
> =20
>  It doesn't look like an aliasing bug in the source to me, as the
>  gethostname result isn't passed through a variable, let alone
>  one that could be dereferenced.

OK, thanks.  Not sure what is going on then :(

Kris

--zYM0uCDKw75PZbzx
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFEjiv9Wry0BWjoQKURAsnNAKDbfwQutcuiG+bj7ph6/8L6ayxR4wCgqakh
X96G/qSYz5v9XFeDjH+yZHE=
=li3/
-----END PGP SIGNATURE-----

--zYM0uCDKw75PZbzx--



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