Problem with inlining

Joerg Sonnenberger joerg at britannica.bec.de
Tue Aug 15 12:34:32 PDT 2006


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





More information about the Users mailing list