amd64/98893: cc error at -O2 on amd64/6-STABLE compiling port ucspi-tcp

Kris Kennaway kris at obsecurity.org
Tue Jun 13 03:07:42 UTC 2006


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 GNATS.
> 
> From: Andrew Reilly <andrew-freebsd at areilly.bpc-users.org>
> To: Kris Kennaway <kris at obsecurity.org>
> Cc: FreeBSD-gnats-submit at FreeBSD.org
> Subject: Re: amd64/98893: cc error at -O2 on amd64/6-STABLE compiling port ucspi-tcp
> Date: Tue, 13 Jun 2006 12:58:56 +1000
> 
>  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.
>  
>  Sorry for the confusion.  -fno-strict-aliasing was included for
>  all compiler alternatives, as per the default.
>  
>  I.e.:
>  	cc -O2 -fno-strict-aliasing    fails
>  	cc -O -fnostrict-aliasing      works
>  	gcc41 -O2 -fno-strict-aliasing works
>  
>  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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20060613/45cbaf0a/attachment.pgp


More information about the freebsd-amd64 mailing list