Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jan 2012 14:42:40 -0500
From:      Janos Dohanics <web@3dresearch.com>
To:        Marco Steinbach <coco@executive-computing.de>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: buildworld error 8.2-STABLE amd64
Message-ID:  <20120102144240.dd97f5b8.web@3dresearch.com>
In-Reply-To: <4F019FFF.5020909@executive-computing.de>
References:  <20111231135633.02c92213.web@3dresearch.com> <4F014C4D.80001@executive-computing.de> <20120102050430.f2074796.web@3dresearch.com> <4F019FFF.5020909@executive-computing.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 02 Jan 2012 13:15:59 +0100
Marco Steinbach <coco@executive-computing.de> wrote:

> Janos Dohanics wrote on 02.01.2012 11:04:
> > On Mon, 02 Jan 2012 07:18:53 +0100
> > Marco Steinbach <coco@executive-computing.de> wrote:
> > 
> >> Janos Dohanics wrote on 31.12.2011 19:56:
> >>> Buildworld stopped with this error (with updated source):
> >>>
> >>> [...]
> >>> cc "-O3"  -DNEED_SOLARIS_BOOLEAN
> >> [...]
> >>> I have posted the build log at
> >>> http://wwwp.3dresearch.com/ALMAVIVA2011123101_buildworld
> >>>
> >>> Would you please advise?
> >> Quoting /usr/share/examples/etc/make.conf:
> >>
> >> # CFLAGS controls the compiler settings used when compiling C code.
> >> # Note that optimization settings other than -O and -O2 are not
> >> # recommended or supported for compiling the world or the kernel -
> >> # please revert any nonstandard optimization settings to "-O" or
> >> # "-O2 -fno-strict-aliasing" before submitting bug reports without
> >> # patches to the developers.
> >>
> >> The error you're seeing is a result from using O3 for building the 
> >> source in question -- At least my 8.2-STABLE ran into the same
> >> problem, once I used O3, instead of the default '-O2 -pipe'.
> >>
> >> MfG CoCo
> > 
> > Thank you, there was indeed the line CFLAGS="-O3" in make.conf,
> > after I have commented it out, I could build world.
> > 
> > I'm wondering how was my make.conf changed though; I'm sure I did
> > not add CFLAGS="-O3" - is it possible that one of the ports have
> > added this?
> 
> Although, as far as I can tell, not explicitly forbidden in the
> porter's handbook, I think that to be highly unlikely in the case of
> CFLAGS.
> 
> The least I'd expect would be some kind notice, if so intrusive a
> change is done deliberately.
> 
> 
> If I'd suspect a port fiddling with /etc/make.conf, I'd probably go 
> looking for entries carrying a timestamp close to /etc/make.confs in 
> /var/db/pkg.  Of course, this largely depends on what happened in 
> between the time of actual modification and me noticing, but I think 
> that's the first thing I'd do.
> 
> MfG CoCo

Thanks again, unfortunately, I have edited /etc/make.conf and did not
make note of the time stamp...

-- 
Janos Dohanics



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