[Intel-gfx] [BUG] intel_drv.so fails to load
Knut Petersen
Knut_Petersen at t-online.de
Fri Jul 20 14:03:47 CEST 2012
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.
The resulting Xorg server will fail to start with the
normal configuration setup as lazy resolution is
assumed but impossible. It will work perfectly if
you add a suitable Section "Module" that loads
all necessary modules in the right order.
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?
cu,
Knut
More information about the Intel-gfx
mailing list