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? -- Craig Rodrigues http://crodrigues.org rodrigc_at_crodrigues.org
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:14 UTC