From owner-freebsd-current@FreeBSD.ORG Fri Aug 29 08:48:59 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 44E6516A4BF for ; Fri, 29 Aug 2003 08:48:59 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACA4A43F93 for ; Fri, 29 Aug 2003 08:48:57 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9/8.12.9) with ESMTP id h7TFmSrO046258; Fri, 29 Aug 2003 11:48:28 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)h7TFmSVM046255; Fri, 29 Aug 2003 11:48:28 -0400 (EDT) Date: Fri, 29 Aug 2003 11:48:27 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Mike Jakubik In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Current Subject: Re: buildworld failure 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: Fri, 29 Aug 2003 15:48:59 -0000 On Fri, 29 Aug 2003, Mike Jakubik wrote: > I have re cvsuped 2 days later (Fri Aug 29 10:19:29 EDT 2003) and I am > still getting the same error, can anyone shed some light here? Here's the build output from my build of pam_echo a couple of days ago: cc -O -pipe -mcpu=pentiumpro -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 The differences here seem to be: (1) I'm using -O, not -O2 (2) I'm optimizing -mcpu as pentiumpro, not pentium4 I'd try changing your optimization settings and see if things improve -- the cast in question takes the pointer to a local (const char *) and passes it to pam_get_item as a (const void **), which probably confuses alias analysis, but is legitimate and necessary, I think. > > Thanks. > > ===> lib/libpam/modules/pam_echo cc -O2 -pipe -march=pentium4 > -I/usr/src/lib/libpam/modules/pam_echo/../../.. > /../contrib/openpam/include > -I/usr/src/lib/libpam/modules/pam_echo/../../lib pam -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 > > Stop in /usr/src/lib/libpam/modules/pam_echo. > *** Error code 1 > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >