Thanks very much Tony :-D

I removed my CFLAGS and COPTFLAGS from make.conf and just left the
CPUTYPE flag and rebuilt and installed kernel and world, all seems to
work fine again now, if anything the system seems a bit faster :-D

Thanks again. Adam.

On Fri, 2006-09-08 at 10:16 +1000, Tony Maher wrote:
> Adam Retter wrote:
> > On Fri, 2006-09-08 at 08:48 +1000, Tony Maher wrote:
> >>Do you have any compile options in /etc/make.conf?
> >>These can affect loader.
> >
> > Yes, these are set in make.conf, but I have always had these set and
> > there have been no problems in the past...
> > 
> > 
> > # Compile for Pentium 4 CPU
> > CPUTYPE=p4
> > 
> > # Compiler optimisation flags
> > CFLAGS= -O2 -pipe -funroll-loops -ffast-math
> > 
> > # Compiler optimisation flags for the Kernel
> > COPTFLAGS= -O2 -pipe -funroll-loops -ffast-math
> 
> >From private email from someone else with same problem (they had
> -funroll-loops in make.conf),
> 
>   "optimizations are bad for the loader"... but it still works fine for me
>    using -O -pipe.
> 
> --
> tonym
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to