Re: 5.1-CURRENT: buildworld fails

From: rihad <rihad_at_mail.ru>
Date: Thu, 27 Nov 2003 13:02:18 +0400
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
CPUTYPE?=p4
CFLAGS= -O2 -pipe

I'll try to build it without -O2, thanks.
Received on Thu Nov 27 2003 - 00:02:47 UTC

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