Date: Mon, 15 Mar 2004 15:48:46 +0100 From: Harald Schmalzbauer <h@schmalzbauer.de> To: freebsd-current@freebsd.org Cc: wpaul@freebsd.org Subject: -Os and ndispatch.c Message-ID: <200403151548.51218.h@schmalzbauer.de>
next in thread | raw e-mail | index | archive | help
--Boundary-02=_TJcVA/5aQ2t+yJS Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Please forget the following lines if "CFLAGS=3D -Os -pipe" is known to be=20 unsupported. Otherwise when trying to compile lib/libc/ (ndispatch.c) I get the followin= g=20 error: cc -Os -pipe -march=3Di486 -I/usr/src/lib/libc/include=20 =2DI/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386=20 =2DD__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6=20 =2DI/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_D= ES=20 =2DDPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DHESIOD=20 =2DWsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized=20 =2Dc /usr/src/lib/libc/net/nsdispatch.c /usr/src/lib/libc/net/nsdispatch.c: In function `nss_configure': /usr/src/lib/libc/net/nsdispatch.c:344: warning: dereferencing type-punned= =20 pointer will break strict-aliasing rules /usr/src/lib/libc/net/nsdispatch.c:346: warning: dereferencing type-punned= =20 pointer will break strict-aliasing rules /usr/src/lib/libc/net/nsdispatch.c: In function `_nsdbtput': /usr/src/lib/libc/net/nsdispatch.c:380: warning: dereferencing type-punned= =20 pointer will break strict-aliasing rules /usr/src/lib/libc/net/nsdispatch.c: In function `nss_load_module': /usr/src/lib/libc/net/nsdispatch.c:486: warning: dereferencing type-punned= =20 pointer will break strict-aliasing rules /usr/src/lib/libc/net/nsdispatch.c: In function `nss_atexit': /usr/src/lib/libc/net/nsdispatch.c:514: warning: dereferencing type-punned= =20 pointer will break strict-aliasing rules /usr/src/lib/libc/net/nsdispatch.c:516: warning: dereferencing type-punned= =20 pointer will break strict-aliasing rules *** Error code 1 Stop in /usr/src/lib/libc I don't speak too much C so I can't help here. If I understand things right it should be part of Project Evil, so perhaps= =20 Bill Paul is interested in. Thanks, =2DHarry --Boundary-02=_TJcVA/5aQ2t+yJS Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAVcJTBylq0S4AzzwRAiLLAJoDe6Tq/YqBI+HXa9vLQ5IqXnKkpACfS4UB cMAGbcMgdU9LJWl8coUfR/M= =w5eS -----END PGP SIGNATURE----- --Boundary-02=_TJcVA/5aQ2t+yJS--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403151548.51218.h>