From owner-freebsd-questions@FreeBSD.ORG Sun Aug 1 16:39:01 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 805D516A4D1 for ; Sun, 1 Aug 2004 16:39:01 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C62A43D64 for ; Sun, 1 Aug 2004 16:39:00 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id i71Gd0Iw011253 for ; Sun, 1 Aug 2004 09:39:00 -0700 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id i71Gd0uE011251 for freebsd-questions@freebsd.org; Sun, 1 Aug 2004 09:39:00 -0700 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Sun, 1 Aug 2004 09:39:00 -0700 From: "Loren M. Lang" To: FreeBSD Mailing list Message-ID: <20040801163900.GA11156@alzatex.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C Subject: Buildworld fails on FreeBSD 5.2.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Aug 2004 16:39:01 -0000 --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=3Dp3 CFLAGS=3D-O2 -pipe --=20 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 =20 --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBDRyk+vN6RuSjKAwRAsimAKCfID07sAdlj9NiKyLzkEmr918XHgCg0aJr DPxtNBGixpyKLSHocIyQwK4= =/wHN -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS--