Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Sep 2006 16:28:12 +0100
From:      Adam Retter <adam@adamretter.eclipse.co.uk>
To:        Tony Maher <anthony.maher@uts.edu.au>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Broken loader in STABLE
Message-ID:  <1157902092.855.1.camel@funkalicious.home.dom>
In-Reply-To: <4500B648.4000009@uts.edu.au>
References:  <1157632691.58001.6.camel@funkalicious.home.dom> <4500A1A0.3060706@uts.edu.au> <1157673230.58001.11.camel@funkalicious.home.dom> <4500B648.4000009@uts.edu.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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 "freebsd-stable-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1157902092.855.1.camel>