-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jason Cooper wrote:
| Captain FantastiK ([EMAIL PROTECTED]) scribbled:
|
|>Now, I foudn out what was the problem. It seems to be the -static USE
Flag
|>(But I don't understand why) so when I removed, the compiling Process was
|>OK. But Now, I have another Problem with X: the modules is failing from
|>Loading: Here is the output of Xorg.0.log:
|>
|
| [snip log info]
|
|>(II) LoadModule: "bitmap"
|>(II) Loading /usr/lib/modules/fonts/libbitmap.a
|>Duplicate symbol __i686.get_pc_thunk.bx in
|>/usr/lib/modules/fonts/libbitmap.a:bitmapmod.o
|>Also defined in /usr/lib/modules/fonts/libbitmap.a
|>
|>Fatal server error:
|>Module load failure
|
|
| This is a bug with using a hardened gcc/glibc combo.  There are two
| solutions to this problem.  The first is to patch Xorg source to add the
| '-norun' flag (this is from memory, may not be the right word).  Or you
| can remove the hardened USE flag, and re-merge gcc, glibc, and then
| Xorg.
|
| I'll be honest, I took the easier route and re-merged without -hardened.
| I encountered this same problem on my primary work machine and needed to
| get it back up fast.
|
| This has to do with when functions are looked up in shared libraries.
| Without -hardened, gcc/glibc does 'lazy lookups'.  When you use
| -hardened, all symbols are looked up at initial execution, thus
| inconsistencies are found.
|
| hth,
|
| Cooper.
|
| --
| [email protected] mailing list
|
|
Hi,
IMO there are two ways to go.
1.Switch off hardened USE-flag (-hardened), must also switch (temporary)
to your GCC's vanilla-profile (not a hardened one).
All this if using a hardened-system/toolchain.
2.Left +hardened but also add +dlloader USE-flag, thus even the latest
xorg-x11-6.8.1.904 compiles and runs OK (some XKB problems here).
PS: note you can't use 3-D accel. with nvidia using +dlloader, only 2D
(by using nv-driver). See hardened-doc-pages.
HTH
Rumen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0-ecc0.1.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCBlV+w4vKYiLy/AsRArZzAJ9mSkBopeYTpqkoOTLDzW1iYLRoFACglgg1
4UtTFCBmwBVpMQZjKnY5zOs=
=63Tx
-----END PGP SIGNATURE-----

--
[email protected] mailing list



Reply via email to