From: Knut Petersen <Knut_Petersen@t-online.de>
To: Adam Jackson <ajax@redhat.com>
Cc: intel-gfx <intel-gfx@lists.freedesktop.org>
Subject: Re: [BUG] intel_drv.so fails to load
Date: Fri, 20 Jul 2012 14:03:47 +0200 [thread overview]
Message-ID: <50094923.3070609@t-online.de> (raw)
In-Reply-To: <1342621766.3590.29.camel@atropine>
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
next prev parent reply other threads:[~2012-07-20 12:03 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 [this message]
2012-07-20 15:10 ` Adam Jackson
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=50094923.3070609@t-online.de \
--to=knut_petersen@t-online.de \
--cc=ajax@redhat.com \
--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