compiling world with optimization

From: Christer Solskogen <solskogen_at_carebears.mine.nu>
Date: Thu, 15 Jan 2004 13:40:36 +0100 (CET)
I dont know if you care, but buildworld will fail with some optimizations.

===> lib/libpam/modules/pam_echo
cc -O2 -pipe -march=pentium4
-I/usr/src/lib/libpam/modules/pam_echo/../../../../
contrib/openpam/include
-I/usr/src/lib/libpam/modules/pam_echo/../../libpam -Wsy
stem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes
-Wmissing-prot
otypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch
-Wshad
ow -Wcast-align -Wno-uninitialized  -c
/usr/src/lib/libpam/modules/pam_echo/pam_
echo.c
/usr/src/lib/libpam/modules/pam_echo/pam_echo.c: In function `_pam_echo':
/usr/src/lib/libpam/modules/pam_echo/pam_echo.c:92: warning: dereferencing
type-
punned pointer will break strict-aliasing rules
*** Error code 1

Stop in /usr/src/lib/libpam/modules/pam_echo.
*** Error code 1

Stop in /usr/src/lib/libpam/modules.
*** Error code 1

Stop in /usr/src/lib/libpam.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


CPUTYPE = p4
CFLAGS= -O2 -pipe
was used.

(world builds fine without)
uname -a
FreeBSD funshine.carebears.net 5.2-RELEASE

gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.3.3 [FreeBSD] 20031106

-- 
Med vennlig hilsen / Best regards
Christer Solskogen
http://dtz.cjb.net - http://carebears.mine.nu

"Cheap, but not as cheap as your girlfriend!"
-Spider Jerusalem
Received on Thu Jan 15 2004 - 03:40:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:38 UTC