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
pgp0Bem7798E8.pgp
Description: PGP signature
