Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79365 - 'bitmap' module(libbitmap.a) fails to load in xorg 6.8.0, 6.8.1
Summary: 'bitmap' module(libbitmap.a) fails to load in xorg 6.8.0, 6.8.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-24 10:43 UTC by spiritus
Modified: 2006-03-20 01:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description spiritus 2005-01-24 10:43:25 UTC
After migrating from xorg 6.7 to 6.8 due to updated ATI-drivers for xorg 6.8 available I am unable to get X.org working due to duplicate symbols in libbitmap.a

Reproducible: Always
Steps to Reproduce:
$ emerge -pv xorg-x11

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] x11-base/xorg-x11-6.8.1.902 [6.8.0-r4] -3dfx -3dnow +bitmap-fonts -cjk -debug -dlloader -dmx +doc +font-server +hardened -insecure-drivers +ipv6 -minimal +mmx +nls +opengl +pam -sdk +sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 43,266 kB

Total size of downloads: 43,266 kB 
$ startx

X Window System Version 6.8.0
Release Date: 8 September 2004
X Protocol Version 11, Revision 0, Release 6.8
Build Operating System: Linux 2.6.10-gentoo-r2 i686 [ELF]
Current Operating System: Linux security 2.6.10-gentoo-r2 #7 Thu Jan 13 14:30:11 YEKT 2005 i686
Build Date: 23 January 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: Sun Jan 23 06:36:28 2005
(==) Using config file: "/etc/X11/xorg.conf"
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.


XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining. 

And with the 6.8.1

$ emerge -pv xorg-x11

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] x11-base/xorg-x11-6.8.1.902  -3dfx -3dnow +bitmap-fonts -cjk
-debug -dlloader -dmx +doc +font-server +hardened -insecure-drivers +ipv6
-minimal +mmx +nls +opengl +pam -sdk +sse -static +truetype-fonts +type1-fonts
(-uclibc) -xprint +xv 0 kB

Total size of downloads: 0 kB 
$ startx

This is a pre-release version of the The X.Org Foundation X11.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the The X.Org Foundation "monolithic tree" CVS
repository hosted at http://www.freedesktop.org/Software/xorg/
X Window System Version 6.8.1.902 (6.8.2 RC 2)
Release Date: 12 January 2005
X Protocol Version 11, Revision 0, Release 6.8.1.902
Build Operating System: Linux 2.6.10-gentoo-r2 i686 [ELF]
Current Operating System: Linux security 2.6.10-gentoo-r2 #7 Thu Jan 13 14:30:11 YEKT 2005 i686
Build Date: 24 January 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: Mon Jan 24 11:02:56 2005
(==) Using config file: "/etc/X11/xorg.conf"

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.

XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.



Additional information will be provided soon
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-01-24 10:57:49 UTC
spiritus: Please use New -> Gentoo Linux -> Component: Ebuilds. Infrastructure is not the correct addressee.
Comment 2 Adam Jackson 2005-01-24 11:42:57 UTC
please search before adding bugs.

USE=hardened for xorg-x11 only works if you specify USE=dlloader.  you can't use dlloader with xorg, so you need to try again with USE=-hardened.

*** This bug has been marked as a duplicate of 43177 ***
Comment 3 Adam Jackson 2005-01-24 11:45:00 UTC
excuse me, can't use dlloader with fglrx.
Comment 4 spiritus 2005-01-24 12:32:48 UTC
I have recompiled xorg 6.8.0 and 6.8.1 five times with the most recent portage with and without USE=-hardened and gcc 3.3.4. The result is the same:

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

I didn't emerge fgxlr from ati-drivers yet - just pure xorg 6.8.x. 

Some time before I have working 6.8.0-r3 but I have compiled it with the old gcc(3.3.4) and binutils(14.x).

Here is my current OS information:

Gentoo Base System version 1.4.16
Portage 2.0.51-r14 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r2 i686)
=================================================================
System uname: 2.6.10-gentoo-r2 i686 Intel(R) Celeron(TM) CPU                1100MHz
Python:              dev-lang/python-2.3.3-r1 [2.3.3 (#1, Jul 11 2004, 19:39:29)]
dev-lang/python:     2.3.3-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -pipe -freorder-blocks -msse -mfpmath=sse -fstack-protector-all"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -freorder-blocks -msse -mfpmath=sse -fstack-protector-all"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://ftp.du.se/pub/os/gentoo http://trumpetti.atm.tut.fi/gentoo/ ftp://mirrors1.netvisao.pt/gentoo/ http://www.gigaload.org/gentoo.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acl activefilter alsa apache2 apm arts artswrappersuid audiofile avi berkdb bitmap-fonts bluetooth caps cdparanoia crypt cups curl dhcp directfb divx4linux divxforlinux doc encode erandom esd f77 fam fbcon flac font-server foomaticdb fortran gdbm gif gnokii gnome gphoto2 gpm gstreamer gtk gtk2 guile hardened imagemagick imlib ipv6 irda jack java jpeg jpeg2k junit kde kerberos ldap libclamav libg++ libwww lirc mad mbox mikmod milter mmap mmx mmx2 motif mpeg mppe-mppc multicall mysql ncurses nls nptl ntlm oggvorbis opengl oss pam pda pdflib perl png portaudio povray python qt quicktime quotas readline reiserfs ruby samba sasl scanner sdl sftplogging slang slp sms socks5 speex spell sse ssl svga tcltk tcpd threads tiff truetype truetype-fonts type1-fonts usb v4l v4l2 wifi winbind wmf xine xinerama xml2 xmms xscreensaver xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY


Comment 5 spiritus 2005-01-24 17:06:42 UTC
The problem is resolved!!! :) After switching to the vanilla-gcc and emerging the xorg-x11 I've got X.org 6.8.1.902 working.

$ gcc-config -l
[1] i686-pc-linux-gnu-3.3.4
[2] i686-pc-linux-gnu-3.4.3
[3] i686-pc-linux-gnu-3.4.3-hardenednopie
[4] i686-pc-linux-gnu-3.4.3-hardenednossp
[5] i686-pc-linux-gnu-3.4.3-vanilla *