From owner-freebsd-current@FreeBSD.ORG Thu Nov 27 01:02:47 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5009816A4CE for ; Thu, 27 Nov 2003 01:02:47 -0800 (PST) Received: from mx1.mail.ru (mx1.mail.ru [194.67.23.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7224F43F93 for ; Thu, 27 Nov 2003 01:02:46 -0800 (PST) (envelope-from rihad@mail.ru) Received: from [212.47.129.6] (port=37183 helo=mail.ru) by mx1.mail.ru with esmtp id 1API2o-000P7o-00; Thu, 27 Nov 2003 12:02:45 +0300 Message-ID: <3FC5BD9A.5020103@mail.ru> Date: Thu, 27 Nov 2003 13:02:18 +0400 From: rihad User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.5-3 X-Accept-Language: en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Sebastian_B=F6ck?= References: <3FC5AED4.4070706@mail.ru> <3FC5B7A6.4020501@freenet.de> In-Reply-To: <3FC5B7A6.4020501@freenet.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: freebsd-current@freebsd.org Subject: Re: 5.1-CURRENT: buildworld fails X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Nov 2003 09:02:47 -0000 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.