Date: Thu, 27 Nov 2003 13:02:18 +0400 From: rihad <rihad@mail.ru> To: =?ISO-8859-1?Q?Sebastian_B=F6ck?= <sebastianboeck@freenet.de> Cc: freebsd-current@freebsd.org Subject: Re: 5.1-CURRENT: buildworld fails Message-ID: <3FC5BD9A.5020103@mail.ru> In-Reply-To: <3FC5B7A6.4020501@freenet.de> References: <3FC5AED4.4070706@mail.ru> <3FC5B7A6.4020501@freenet.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FC5BD9A.5020103>