Bug 2872 - X server fails to start with a "Module Load Failure"- Complains about a duplicate symbol
Summary: X server fails to start with a "Module Load Failure"- Complains about a dupli...
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/DDX/Xorg/dlloader (show other bugs)
Version: 6.8.2
Hardware: x86 (IA32) Linux (All)
: highest blocker
Assignee: Adam Jackson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-31 09:57 UTC by John Hayes
Modified: 2005-03-30 19:19 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description John Hayes 2005-03-31 09:57:16 UTC
occurrs after install of cojmpile and install under Gentoo 2004.3.The kernel is
2.6.11.2 
The X.org log from the failed server follows:
jhh@dynamic-jhh-msu:~/public_html/sentinel> more ~jhh/Xorg.0.log
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/dynamic-jhh-msu.edu-1:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.11.2 i686 [ELF]
Current Operating System: Linux dynamic-jhh-msu.edu-1 2.6.11.2 #3 Tue Mar 22
09:24:01 EST 2005 i686
Build Date: 30 March 2005
        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Mar 31 10:25:26 2005
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.Org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Keyboard0"
(**) |-->Input Device "PS/2 Mouse"
(==) |-->Input Device "Serial Mouse"
(WW) The core pointer device wasn't specified explicitly in the layout.
        Using the first mouse device.
(WW) The directory "/usr/share/fonts/ttf-bitstream-vera" does not exist.
        Entry deleted from font path.
(**) FontPath set to
"/usr/share/fonts/misc,/usr/share/fonts/75dpi,/usr/share/fonts/100dpi,/usr/share/fonts/TTF,/usr/share/fonts/Type1"
(**) RgbPath set to "/usr/lib/X11/rgb"
(**) ModulePath set to "/usr/lib/modules"
(**) Option "AllowMouseOpenFail" "true"
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) Module ABI versions:
        X.Org ANSI C Emulation: 0.2
        X.Org Video Driver: 0.7
        X.Org XInput driver : 0.4
        X.Org Server Extension : 0.2
        X.Org Font Renderer : 0.4
(II) Loader running on linux
(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


Please consult the The X.Org Foundation support
         at http://wiki.X.Org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.
Comment 1 Adam Jackson 2005-03-31 12:14:55 UTC
http://bugs.gentoo.org/show_bug.cgi?id=43177

in short, either use dlloader or don't use a hardened system.
Comment 2 John Hayes 2005-03-31 12:53:32 UTC
OK, I'm trying to figure out how I came by a hardened system and to unharden it.

I also have no clue as to how to use dlloader to solved this problem.

I have read through most of the postings with respect to this error.

I searched for components of the error to try and find a solution before posting
but the search produced no usable results.

In my /etc/make.conf file I have:
CFLAGS="-o3 -mcpu=i686 -fomit-frame-pointer -march=pentium4 -pipe"
CHOST="i686-px-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="-gtk -gnome"


The /etc/make.profile link points to the gentoo distribution version as part of
the file name.

/etc/make.profile/make.defaults is stock.

Nowhere is there a:
-fpic

flag.

Thanks,
John Hayes


Thanks for the quick investigation.
John Hayes
Comment 3 Adam Jackson 2005-03-31 13:19:53 UTC
either add the word "dlloader" to your USE flags (with the understanding that
this may break closed binary drivers), or else use gcc-config to select a non
hardened compiler, and add "-hardened" to your USE flags.

see also: http://www.gentoo.org/proj/en/hardened/hardenedxorg.xml


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.