Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58368 - xorg-x11-6.7.0-r2 issues on sparc
Summary: xorg-x11-6.7.0-r2 issues on sparc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 55757
  Show dependency tree
 
Reported: 2004-07-26 02:24 UTC by Jeremy Huddleston (RETIRED)
Modified: 2004-09-02 09:13 UTC (History)
1 user (show)

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


Attachments
full X log showing segfault triggered by xmms (Xorg.0.log.old,24.30 KB, text/plain)
2004-07-26 08:47 UTC, Jeremy Huddleston (RETIRED)
Details
-static -dlloader Xorg.0.log (Xorg.0.log,165.40 KB, text/plain)
2004-07-27 00:33 UTC, Jeremy Huddleston (RETIRED)
Details
non-hardened gcc -static -dlloader (Xorg.0.log,17.02 KB, text/plain)
2004-08-02 15:06 UTC, Jeremy Huddleston (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Huddleston (RETIRED) gentoo-dev 2004-07-26 02:24:54 UTC
Alright, I've been testing out 6.7.0-r2 with the sparc compilation patch, and I've run into a problem when starting xmms... the serevr segfaults, and the fillowing is what is at the bottom of the /var/log/Xorg.0.log file:

(II) Mouse1: ps2EnableDataReporting: succeeded
SetClientVersion: 0 8
SetKbdSettings - type: 2 rate: 30 delay: 500 snumlk: 0
SetKbdSettings - Succeeded
(II) 3rd Button detected: disabling emulate3Button

Fatal server error:
Caught signal 11.  Server aborting


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.

(WW) Attempt to disable VGA routing through Simba at 0:1:0 disallowed.

xorg-x11-6.7.0-r2 was compiled as follows:
(-3dfx) (-3dnow) -cjk +debug -dlloader +doc +ipv6 (-mmx) +nls +pam -sdk (-sse) +static

Portage 2.0.51_pre13 (default-sparc64-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r11 sparc64 sun4u)
=================================================================
System uname: 2.6.7-gentoo-r11 sparc64 sun4u
Gentoo Base System version 1.4.16
distcc 2.13 sparc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
Binutils: sys-devel/binutils-2.14.90.0.7-r4
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CFLAGS="-pipe -g"
CHOST="sparc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -g"
DISTDIR="/mnt/raid0/gentoo/distfiles"
FEATURES="autoaddcvs ccache cvs fixpackages keeptemp keepwork nostrip sandbox userpriv"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/opt/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/mnt/raid0/gentoo/gentoo-x86"
SYNC="rsync://192.168.0.1/gentoo-portage"
USE="sparc X Xaw3d aac aalib accessibility acl aim apache2 arts asterisk audiofile avi berkdb bidi bonobo brltty cap caps cddb cdparanoia cdr chroot clamav crypt cups curl debug dnd doc dv dvd dvdr dvdread edl emacs emacs-w3 encode esd evo expat ext-png ext-zlib extlib f77 faac faad fam fastcgi fbcon fbdev ffmpeg fftw flac flash fltk fluidsynth foomaticdb foreign-package freetype fullrpc gcl gd gdbm ggi gif gimpprint glade glgd glut gnome gnomedb gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hardened hdf hdf5 idea imagemagick imap imlib imlib2 innodb ipv6 jabber java javamail javascript jbig jdepend jikes joystick jpeg junit justify kde kerberos krb4 ladcca lcms leim libg libgda libwww live lzo mad maildir makecheck mikmod mmap mng mono motif mozilla moznocompose moznoirc mozsvg mpeg mpeg4 msn mule multilib music mysql mythtv nas ncurses net network nls nptl oav objc odbc offensive oggvorbis oldworld openal opengl operanom2 oscar oss pam parse-clocks pcre pda pdflib perl php png portaudio postgres prelude propolice pthreads python qhull qt readline rtc ruby samba sasl sdk sdl serial silc slang slp sndfile snmp socks5 sox speex spell sqlite ssl tcltk tcpd tetex tga theora tiff timidity transcode truetype type1 usb videos vim-with-x virus-scan wxwindows xchattext xemacs xine xml xml2 xmms xosd xv xvid yahoo zlib"


When I compiled it using -static -sdk +dlloader, the server wouldn't start, and this is what I saw in the log:
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
dlopen: /usr/X11R6/lib/modules/extensions/libglx.so: undefined symbol: __glDDXExtensionInfo
(EE) Failed to load /usr/X11R6/lib/modules/extensions/libglx.so
(II) UnloadModule: "glx"
(EE) Failed to load module "glx" (loader failed, 7)
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.so
dlopen: /usr/X11R6/lib/modules/extensions/libdri.so: undefined symbol: __glXActiveScreens
(EE) Failed to load /usr/X11R6/lib/modules/extensions/libdri.so
(II) UnloadModule: "dri"
(EE) Failed to load module "dri" (loader failed, 7)
(II) LoadModule: "sunffb"
(II) Loading /usr/X11R6/lib/modules/drivers/sunffb_drv.so
dlopen: /usr/X11R6/lib/modules/drivers/sunffb_drv.so: undefined symbol: cfbPutImage
(EE) Failed to load /usr/X11R6/lib/modules/drivers/sunffb_drv.so
(II) UnloadModule: "sunffb"
(EE) Failed to load module "sunffb" (loader failed, 7)

If nobody else does, I'll look into this when I get a chance... but it won't be until atleast August 20.
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2004-07-26 03:58:14 UTC
The dlloader stuff is fully expected. See bug #47197, for example.

Could you attach a full X log? And am I right in assuming this problem only occurs with the patch, not without?
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-07-26 08:47:00 UTC
Created attachment 36199 [details]
full X log showing segfault triggered by xmms
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-07-27 00:33:39 UTC
Created attachment 36243 [details]
-static -dlloader Xorg.0.log

Here's the X log for starting with the following USE flags set:

(-3dfx) (-3dnow) -cjk +debug -dlloader +doc +ipv6 (-mmx) +nls +pam -sdk (-sse)
-static
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2004-07-27 01:58:00 UTC
All the __guard etc blah makes me think you want to USE="-hardened" emerge gcc, then remerge xorg.
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2004-08-02 15:06:25 UTC
Created attachment 36671 [details]
non-hardened gcc -static -dlloader

Alright, I tried without a hardened gcc...

-static -dlloader doesn't allow X to start on my system.  The tail of the log
shows that it stalls out just after detecting my video card:

(II) /dev/fb0: Detected FFB2+/vertical, Z-buffer, Double-buffered.
(II) /dev/fb0: BT498 (PAC2) ramdac detected
(II) /dev/fb0: Detected Creator/Creator3D
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2004-09-02 09:13:01 UTC
These issues are fixed in 6.8.0 RC3