Buildworld problem in 5.1-CURRENT

Christopher Johnson cjohnson at wcug.wwu.edu
Fri Jul 25 14:39:30 PDT 2003


On Fri, 25 Jul 2003, Craig Rodrigues wrote:

> On Fri, Jul 25, 2003 at 08:13:58AM -0700, Christopher Johnson wrote:
> > I cvsup'ed this morning and buildworld failed:
> > 
> > ...
> > 
> > ===> lib/libpam/modules/pam_echo
> > cc -O2 -pipe -march=pentiumpro
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> What is in your /etc/make.conf?
> I do not think that -O2 is supported in the build right now,
> due to increased verbosity of warnings in gcc 3.3.
> 
> > /usr/src/lib/libpam/modules/pam_echo/pam_echo.c:92: warning: dereferencing
> > type-punned pointer will break strict-aliasing rules
> > *** Error code 1
> 
> 

Ahh yes, that fixed it.  I've set it to -O, and it works fine.

Chris Johnson
cjohnson at wcug.wwu.edu
Dr. Evil: You're not quite evil enough. You're semi-evil.
You're quasi-evil. You're the margarine of evil.
You're the Diet Coke of evil, just one calorie, not evil enough.



More information about the freebsd-current mailing list