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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to