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>
index | next in thread | raw e-mail
[-- Attachment #1 --] Please forget the following lines if "CFLAGS= -Os -pipe" is known to be unsupported. Otherwise when trying to compile lib/libc/ (ndispatch.c) I get the following error: cc -Os -pipe -march=i486 -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 -I/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DHESIOD -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /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 pointer will break strict-aliasing rules /usr/src/lib/libc/net/nsdispatch.c:346: warning: dereferencing type-punned 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 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 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 pointer will break strict-aliasing rules /usr/src/lib/libc/net/nsdispatch.c:516: warning: dereferencing type-punned 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 Bill Paul is interested in. Thanks, -Harry [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAVcJTBylq0S4AzzwRAiLLAJoDe6Tq/YqBI+HXa9vLQ5IqXnKkpACfS4UB cMAGbcMgdU9LJWl8coUfR/M= =w5eS -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403151548.51218.h>
