CFLAGS=-O2 -pipe problems in RELENG_5 ?

Kris Kennaway kris at obsecurity.org
Mon Jan 17 14:48:11 PST 2005


On Mon, Jan 17, 2005 at 08:38:44PM +0100, Ulrich Spoerlein wrote:
> On Thu, 13.01.2005 at 19:38:27 -0500, Mike Tancsa wrote:
> > >I'm using -Os -pipe ever since installing 5.x after the gcc update.
> > >Haven't encountered any problem so far..
> > There are some differences between O2 and Os according to the man 
> > page.  Are you using that on your kernel and for buildworld ?
> 
> Both, that is everything. Kernel, World, Ports. (Guess I'm lucky)

Yes, it's certainly not supported to build ports with -O2 and many are
known to have broken code exposed by this setting.

> > I let the box run over night building world 8 times with -j2 through -j5 
> > and all worked just fine.
> 
> Ok, that should put hardware out of the question.
> 
> Sorry, no more ideas, besides getting rid of CPUTYPE as that is know to
> cause problems.

Well, not in general, but in certain isolated cases.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050117/d09f1aa7/attachment.bin


More information about the freebsd-stable mailing list