On Sun, 12 May 2002, Axel H. Siebenwirth wrote:

>XFree86 Version 4.2.99.1 / X Window System
>(protocol Version 11, revision 0, vendor release 6600)
>Release Date: xx January 2002
>        If the server is older than 6-12 months, or if your card is
>        newer than the above date, look for a newer version before
>        reporting problems.  (See http://www.XFree86.Org/)
>Build Operating System: Linux 2.4.19-pre8-ac2 i686 [ELF]
>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/XFree86.0.log", Time: Sun May 12 20:04:24 2002
>(==) Using config file: "/etc/X11/XF86Config"
>(==) ServerLayout "Layout[all]"
>(**) |-->Screen "Screen[0]" (0)
>(**) |   |-->Monitor "Monitor[0]"
>(**) |   |-->Device "Device[0]"
>(**) |-->Input Device "Keyboard[0]"
>(**) Option "Protocol" "Standard"
>(**) Option "AutoRepeat" "200 35"
>(**) Option "XkbRules" "xfree86"
>(**) XKB: rules: "xfree86"
>(**) Option "XkbModel" "pc104"
>(**) XKB: model: "pc104"
>(**) Option "XkbLayout" "de"
>(**) XKB: layout: "de"
>(**) Option "XkbVariant" "nodeadkeys"
>(**) XKB: variant: "nodeadkeys"
>(==) Keyboard: CustomKeycode disabled
>(**) |-->Input Device "Mouse[1]"
>(WW) The directory "/usr/X11R6/lib/X11/fonts/URW" does not exist.
>        Entry deleted from font path.
>(WW) The directory "/usr/X11R6/lib/X11/fonts/kwintv" does not exist.
>        Entry deleted from font path.
>(WW) The directory "/usr/X11R6/lib/X11/fonts/uni" does not exist.
>        Entry deleted from font path.
>(WW) The directory "/usr/X11R6/lib/X11/fonts/misc/sgi" does not exist.
>        Entry deleted from font path.
>(WW) The directory "/usr/X11R6/lib/X11/fonts/xtest" does not exist.
>        Entry deleted from font path.
>(**) FontPath set to
>"/usr/X11R6/lib/X11/fonts/misc:unscaled,/usr/X11R6/lib/X11/(**) RgbPath set
>to "/usr/X11R6/lib/X11/rgb"
>(**) ModulePath set to "/usr/X11R6/lib/modules"
>(**) Option "AllowMouseOpenFail"
>(**) Option "Xinerama" "off"
>(--) using VT number 7
>
>(WW) Open APM failed (/dev/apm_bios) (No such device)
>(II) Module ABI versions:
>        XFree86 ANSI C Emulation: 0.1
>        XFree86 Video Driver: 0.6
>        XFree86 XInput driver : 0.3
>        XFree86 Server Extension : 0.1
>        XFree86 Font Renderer : 0.3
>(II) Loader running on linux
>(II) LoadModule: "bitmap"
>(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
>Not loading .rodata.str1.1
>Not loading .rodata.str1.32
>Not loading .rodata.cst8
>Not loading .rodata.str1.1
>Not loading .rodata.str1.32
>Not loading .rodata.str1.32
>Not loading .rodata.str1.1
>Not loading .rodata.cst8
>Not loading .rodata.str1.32
>Not loading .rodata.str1.1
>Not loading .rodata.str1.32
>Not loading .rodata.str1.1
>Not loading .rodata.str1.32
>Not loading .rodata.str1.32
>Not loading .rodata.str1.1
>Not loading .rodata.str1.32
>Not loading .rodata.str1.1
>(II) Symbol  from module /usr/X11R6/lib/modules/fonts/libbitmap.a is 
>unresolved!
>Symbol  from module /usr/X11R6/lib/modules/fonts/libbitmap.a is unresolved!
>  (this last line is repeated about 250 times!)
>
>   *** If unresolved symbols were reported above, they might not
>   *** be the reason for the server aborting.
>
>Fatal server error:
>Caught signal 11.  Server aborting
>------------------------------------------------------------------------------
>
>Then I tried to scan the pci bus..:
>
>----------------------------
>Not loading .rodata.str1.1
>Not loading .rodata.str1.32
>Segmentation fault
>----------------------------

New versions of the gcc compiler have an optimization called 
"string merging" which is enabled by default.  The XFree86 module 
loader chokes on the ELF sections that this optimization adds to 
the ELF objects.

To work around this XFree86 module loader limitation, you need 
to pass -fno-merge-constants to the linker when modules are 
being built. This can be done from host.def with:

ModuleLdFlags -fno-merge-constants

This was automatically detected in later 4.1.0 CVS, and also in 
4.2.0 CVS however it looks like someone removed the automatic 
checks in head CVS.

The above #define must be set as above when compiling with all 
newer versions of gcc 3.x, as well as gcc 2.96.

Hope this helps,
TTYL


-- 
Mike A. Harris                  Shipping/mailing address:
OS Systems Engineer             190 Pittsburgh Ave., Sault Ste. Marie,
XFree86 maintainer              Ontario, Canada, P6C 5B3
Red Hat Inc.
http://www.redhat.com           ftp://people.redhat.com/mharris

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to