public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Adam Jackson <ajax@redhat.com>
To: Knut Petersen <Knut_Petersen@t-online.de>
Cc: intel-gfx <intel-gfx@lists.freedesktop.org>
Subject: Re: [BUG] intel_drv.so fails to load
Date: Fri, 20 Jul 2012 11:10:47 -0400	[thread overview]
Message-ID: <500974F7.5080702@redhat.com> (raw)
In-Reply-To: <50094923.3070609@t-online.de>

On 7/20/12 8:03 AM, Knut Petersen wrote:
> Am 18.07.2012 16:29, schrieb Adam Jackson:
>> So this really honestly is a toolchain problem, not a driver problem.
>
> Neither icecream nor gcc are broken.
>
> The solution is pretty simple:
>
> ====================================
> Never ever include -v or --verbose in CFLAGS
> ====================================
>
> Why?
>
> Because otherwise there will be some output to
> stdout during the -fPIC test compile executed from
> configure, and that output causes the build system
> to erroneously assume that -fPIC does not work.
>
> Hence xorg parts that normally would be build with
> -fPIC will be built without that flag.

autoconf bug!  Nice find.

> I think the test for "-fPIC" support is fundamentally
> broken and should be fixed. Or would it be better
> to check for -v and --verbose in CFLAGS?

It sounds like the test is broken, yeah.  Although I wonder how many 
other standard autoconf tests have this property.

- ajax

  reply	other threads:[~2012-07-20 15:10 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-17 20:08 [BUG] intel_drv.so fails to load Knut Petersen
2012-07-17 20:16 ` Chris Wilson
2012-07-17 20:41   ` Chris Wilson
2012-07-17 20:54     ` Knut Petersen
2012-07-17 21:11       ` Adam Jackson
2012-07-17 21:34         ` Knut Petersen
2012-07-17 21:16       ` Chris Wilson
2012-07-17 21:52         ` Knut Petersen
2012-07-18 14:02         ` Adam Jackson
2012-07-18 14:07           ` Chris Wilson
2012-07-18 14:29             ` Adam Jackson
2012-07-18 14:36               ` Chris Wilson
2012-07-18 19:47                 ` Adam Jackson
2012-07-18 22:34                   ` Chris Wilson
2012-07-19 14:08                     ` Adam Jackson
2012-07-18 18:04               ` Knut Petersen
2012-07-18 19:34                 ` Adam Jackson
2012-07-19  6:04                   ` Knut Petersen
2012-07-20 12:03               ` Knut Petersen
2012-07-20 15:10                 ` Adam Jackson [this message]
2012-07-20 16:01                   ` Knut Petersen
2012-07-17 20:41   ` Knut Petersen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=500974F7.5080702@redhat.com \
    --to=ajax@redhat.com \
    --cc=Knut_Petersen@t-online.de \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox