DragonFly BSD
DragonFly users List (threaded) for 2006-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Problem with inlining


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Tue, 15 Aug 2006 21:31:02 +0200
Mail-followup-to: users@crater.dragonflybsd.org

On Tue, Aug 15, 2006 at 11:48:36AM -0700, walt wrote:
> Joerg Sonnenberger wrote:
> > On Mon, Aug 14, 2006 at 07:29:46AM -0700, walt wrote:
> >> I'm trying to compile the latest pkgsrc xine-lib, and I'm getting an
> >> error message I've never seen before:
> 
> > It should have been fixed yesterday (together with the spinning problem).
> 
> Thanks.  Just for my education:  why would -fno-unit-at-a-time be
> active on DF but not on NBSD (or linux)?

Because unit-at-a-time and propolice have a bad interaction. So whenever
propolice is active, -O2 will not activate it implicitly. Similiary,
-fno-strict-aliasing is the default on DragonFly, even with -O2.

> A (possibly) related question:  I notice that the flags -O, -O2, and
> -O3 *all* appear in the gcc command which failed in the xine-lib
> error.  AFAICT the last of these flags is -O2, which is supposed to
> imply -funit-at-a-time, yes?  (So says the gcc manpage.)

See above.

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]