[Intel-gfx] [BUG] intel_drv.so fails to load

Adam Jackson ajax at redhat.com
Fri Jul 20 17:10:47 CEST 2012


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



More information about the Intel-gfx mailing list