Arnvid Karstad wrote: > Hiya, > > after doing a cvsup with -rRELENG_5_2 today it seems to have gotten the "I > wont compile" sickness: > > 80.111.153.21 > > > ===> lib/libpam/modules/pam_echo > cc -O3 -pipe -funroll-loops -ffast-math -march=pentium3 > -I/usr/src/lib/libpam/modules/pam_echo/../../../../contrib/openpam/include > -I/usr/src/lib/libpam/modules/pam_echo/../../libpam -Wsystem-headers > -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch > -Wshadow -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 This is a FAQ. Quote from /usr/share/examples/etc/make.conf : %% # CFLAGS controls the compiler settings used when compiling C code. # Note that optimization settings above -O (-O2, ...) are not recommended # or supported for compiling the world or the kernel - please revert any # nonstandard optimization settings to "-O" before submitting bug reports # without patches to the developers. %% This particular warning with optimizations superior to -O has been fixed in -CURRENT. There are still other problems with high optimization levels though. Cheers, MaximeReceived on Thu Apr 29 2004 - 02:37:26 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:52 UTC