5.1-CURRENT: buildworld fails

rihad rihad at mail.ru
Thu Nov 27 01:02:47 PST 2003

Sebastian Böck wrote:

> rihad wrote:
>> For a few past days, after doing make update, buildworld always fails 
>> when building "pam". Couldn't find it on this list! TIA
> Have you set -02 or similar in your /etc/make.conf?
> My buildworld also fails if i set any optimizations.
> Just a guess
/usr/src/lib/libpam/modules/pam_echo/pam_echo.c is compiled with -Werror 
(treat warnings as errors). And I get:

/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

So the build fails.
gcc version 3.3.3 [FreeBSD] 20031106

make.conf does have
CFLAGS= -O2 -pipe

I'll try to build it without -O2, thanks.

More information about the freebsd-current mailing list