Date: Fri, 29 Aug 2003 11:48:27 -0400 (EDT) From: Robert Watson <rwatson@freebsd.org> To: Mike Jakubik <mikej@trigger.net> Cc: Current <current@freebsd.org> Subject: Re: buildworld failure Message-ID: <Pine.NEB.3.96L.1030829112130.45354C-100000@fledge.watson.org> In-Reply-To: <JCEIKJMCANNPGKFKGLKLGEFBDMAA.mikej@trigger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1030829112130.45354C-100000>