Buildworld fails on FreeBSD 5.2.1

Loren M. Lang lorenl at alzatex.com
Sun Aug 1 09:39:01 PDT 2004


A make buildworld fails to compile FreeBSD 5.2.1-p9 with the warning
dereferencing type-punned pointer will break strict-aliasing and -Werror
is set.  The first library it fails on is libpam compiled staticly.
Even if I set -DNO_WERROR to get past libpam, a later part will fail
with the same warning, but if I have -DNO_WERROR set for the entire
buildworld, it finishes.  I've had this problem since I tried to compile
5.2.1-p2 so I haven't been able to upgrade once beyond 5.2.1.  I haven't
seen anything relevent in the UPDATING file.

Relevant make.conf lines:
CPUTYPE=p3
CFLAGS=-O2 -pipe

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
-------------- 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-questions/attachments/20040801/cf1abccc/attachment.bin


More information about the freebsd-questions mailing list