From owner-freebsd-current@FreeBSD.ORG Sat Jul 12 09:47:16 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 1CC9537B401 for ; Sat, 12 Jul 2003 09:47:16 -0700 (PDT) Received: from nihil.reifenberger.com (pD9E8D7C7.dip.t-dialin.net [217.232.215.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9645D43F75 for ; Sat, 12 Jul 2003 09:47:14 -0700 (PDT) (envelope-from root@nihil.reifenberger.com) Received: from nihil.reifenberger.com (localhost.reifenberger.com [127.0.0.1]) h6CGl95u038386; Sat, 12 Jul 2003 18:47:09 +0200 (CEST) (envelope-from root@nihil.reifenberger.com) Received: from localhost (root@localhost)h6CGl9IG038383; Sat, 12 Jul 2003 18:47:09 +0200 (CEST) Date: Sat, 12 Jul 2003 18:47:09 +0200 (CEST) From: Michael Reifenberger To: Craig Rodrigues In-Reply-To: <20030712140231.GA42299@crodrigues.org> Message-ID: <20030712175928.D22886@nihil.reifenberger.com> References: <20030712105817.B22886@nihil.reifenberger.com> <20030712140231.GA42299@crodrigues.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: FreeBSD-Current Subject: Re: -current buildworld failure in libpam 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: Sat, 12 Jul 2003 16:47:16 -0000 On Sat, 12 Jul 2003, Craig Rodrigues wrote: > Date: Sat, 12 Jul 2003 10:02:31 -0400 > From: Craig Rodrigues > To: Michael Reifenberger > Cc: FreeBSD-Current > Subject: Re: -current buildworld failure in libpam > > On Sat, Jul 12, 2003 at 10:59:44AM +0200, Michael Reifenberger wrote: > > ===> lib/libpam/modules/pam_echo > > cc -O2 -pipe > > -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 > > What do you have in your /etc/make.conf? If you change optimization > from -O2 to -O, then this problem goes away. > > I looked into this problem, and created a patch based on a workaround > for a similar problem that I saw here: > > http://sources.redhat.com/ml/libc-hacker/2002-11/msg00048.html > > Can you try this patch? > -O seems to work, your patch not unfortunately. Bye! ---- Michael Reifenberger ^.*Plaut.*$, IT, R/3 Basis, GPS