Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117669 - xorg-server-1.0.1-r1 fails to compile with gcc-3.4.5
Summary: xorg-server-1.0.1-r1 fails to compile with gcc-3.4.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Highest normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-03 14:56 UTC by Mike Auty (RETIRED)
Modified: 2006-03-23 01:02 UTC (History)
0 users

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


Attachments
config.log for the failed compilation (config.log,139.39 KB, text/x-log)
2006-01-04 01:02 UTC, Mike Auty (RETIRED)
Details
startx.c from the failed compilation (startx.c,4.22 KB, text/x-csrc)
2006-01-04 01:04 UTC, Mike Auty (RETIRED)
Details
xorg-server build log (xorg-server-1.0.1-r1.log.tar.bz2,62.45 KB, application/x-bzip)
2006-01-04 12:46 UTC, Mike Auty (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Auty (RETIRED) gentoo-dev 2006-01-03 14:56:16 UTC
The most recent update of xorg-server fails to compile with the following message.  This appears to be a problem with gcc-3.4.5, since recompiling 1.0.1 also fails with an identical message.  Note that even though I am running with the hardened profile, this was compiled with the vanilla gcc-config.

i686-pc-linux-gnu-gcc -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I../../../../include -I../../../../include -I../../../../Xext -I../../../../composite -I../../../../damageext -I../../../../xfixes -I../../../../Xi -I../../../../mi -I../../../../miext/shadow -I../../../../miext/damage -I../../../../render -I../../../../randr -I../../../../fb -I../../../../lbx -O2 -march=athlon-xp -fomit-frame-pointer -o xorgcfg xorgcfg-accessx.o xorgcfg-card-cfg.o xorgcfg-cards.o xorgcfg-config.o xorgcfg-expert.o xorgcfg-help.o xorgcfg-interface.o xorgcfg-keyboard-cfg.o xorgcfg-libc_wrapper.o xorgcfg-loader.o xorgcfg-loadmod.o xorgcfg-monitor-cfg.o xorgcfg-mouse-cfg.o xorgcfg-options.o xorgcfg-screen-cfg.o xorgcfg-screen.o xorgcfg-startx.o xorgcfg-stubs.o xorgcfg-text-mode.o xorgcfg-vidmode.o xorgcfg-xf86config.o xorgcfg-strlcat.o xorgcfg-strlcpy.o  /usr/lib/libxkbui.so /usr/lib/libxkbfile.so /usr/lib/libXxf86misc.so /usr/lib/libXxf86vm.so /usr/lib/libXaw7.so /usr/lib/libXmu.so /usr/lib/libXt.so /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libXpm.so /usr/lib/libXext.so /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -ldl -lcurses ../../parser/libxf86config.a ../../loader/libloader.a ../../os-support/.libs/libxorgos.a ../../dummylib/libdummy-nonserver.a -lm
xorgcfg-accessx.o: In function `startaccessx':
accessx.c:(.text+0x25): undefined reference to `DPY'
accessx.c:(.text+0xc0): undefined reference to `DPY'
accessx.c:(.text+0x461): undefined reference to `DPY'
xorgcfg-accessx.o: In function `AccessXConfigureStart':
accessx.c:(.text+0x7a8): undefined reference to `DPY'
xorgcfg-accessx.o: In function `ApplyCallback':
accessx.c:(.text+0x1b52): undefined reference to `DPY'
xorgcfg-accessx.o:accessx.c:(.text+0x20dc): more undefined references to `DPY' follow
xorgcfg-interface.o: In function `QuitCallback':
interface.c:(.text+0x30d): undefined reference to `endx'
interface.c:(.text+0x5ed): undefined reference to `DPY'
xorgcfg-interface.o: In function `main':
interface.c:(.text+0x3967): undefined reference to `startx'
interface.c:(.text+0x39d7): undefined reference to `DPY'
interface.c:(.text+0x39ed): undefined reference to `DPY'
interface.c:(.text+0x44a1): undefined reference to `DPY'
interface.c:(.text+0x44cf): undefined reference to `DPY'
interface.c:(.text+0x480a): undefined reference to `endx'
xorgcfg-keyboard-cfg.o: In function `InitializeKeyboard':
keyboard-cfg.c:(.text+0x743): undefined reference to `DPY'
keyboard-cfg.c:(.text+0x7bb): undefined reference to `DPY'
keyboard-cfg.c:(.text+0xa68): undefined reference to `DPY'
xorgcfg-keyboard-cfg.o: In function `UpdateKeyboard':
keyboard-cfg.c:(.text+0x14ac): undefined reference to `DPY'
xorgcfg-options.o: In function `OptionsPopup':
options.c:(.text+0x642): undefined reference to `DPY'
xorgcfg-vidmode.o:vidmode.c:(.text+0x2080): more undefined references to `DPY' follow
collect2: ld returned 1 exit status
make[6]: *** [xorgcfg] Error 1
make[6]: Leaving directory `/var/tmp/portage/xorg-server-1.0.1-r1/work/xorg-server-1.0.1/hw/xfree86/utils/xorgcfg'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/var/tmp/portage/xorg-server-1.0.1-r1/work/xorg-server-1.0.1/hw/xfree86/utils/xorgcfg'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/xorg-server-1.0.1-r1/work/xorg-server-1.0.1/hw/xfree86/utils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/xorg-server-1.0.1-r1/work/xorg-server-1.0.1/hw/xfree86'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-server-1.0.1-r1/work/xorg-server-1.0.1/hw/xfree86'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xorg-server-1.0.1-r1/work/xorg-server-1.0.1/hw'
make: *** [all-recursive] Error 1

My emerge info is as follows:

Portage 2.1_pre3-r1 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-rc7 i686)
=================================================================
System uname: 2.6.15-rc7 i686 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.12.0_pre12
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache cvs distlocks parallel-fetch sandbox sfperms strict test"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/personal"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 100dpi 3dnow 75dpi X aac aalib acl acpi adns alsa animation ao audiofile avi bash-completion berkdb bitmap-fonts boundschecking bzip2 cairo ccache cdr cjk client crypt cups dbus djvu dlloader dpms dri dvd dvdr dvi eds emboss encode ethereal exif expat fam ffmpeg firefox flac foomaticdb fortran gd gdbm gif glade glitz glut gnome gnuplot gnutls graphviz gstreamer gtk gtk2 gtkhtml hal hardened idn imagemagick imap imlib java jpeg junit lcms ldap libg++ libwww lua mad maildir mbox mikmod mime mmx mmxext mng mozsvg mp3 mpeg ncurses nls nntp nptl nptlonly nvidia ogg oggvorbis opengl pam pcre pdflib perl pic pie plot png pop3 postgres python quicktime readline real sdl server snmp spell sqlite sse sse2 ssl svg t1lib tcpd theora tiff truetype truetype-fonts type1 type1-fonts udev unicode usb v4l v4l2 vorbis win32codecs xine xml2 xrandr xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Joshua Baergen (RETIRED) gentoo-dev 2006-01-03 21:21:49 UTC
> default-linux/x86/2005.0

That doesn't look like the hardened profile to me :P You just have the USE flag set.

And I'm working off of a machine with gcc 3.4.5 right now.

Looking at the missing symbols, something appears to be wrong with the compilation of 
/var/tmp/portage/xorg-server-1.0.1-r1/work/xorg-server-1.0.1/hw/xfree86/utils/xorgcfg/startx.c

Please attach a compile log of xorg-server and the above file when the failure occurs.
Comment 2 Mike Auty (RETIRED) gentoo-dev 2006-01-04 01:02:43 UTC
Created attachment 76139 [details]
config.log for the failed compilation

Ah, you're quite right, it is just the use flag, but that causes me enough headaches as it is!  5:)

I've attached the config.log since I'm assuming that's what you meant by compile log.
Comment 3 Mike Auty (RETIRED) gentoo-dev 2006-01-04 01:04:11 UTC
Created attachment 76140 [details]
startx.c from the failed compilation

And here's the startx.c file.
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2006-01-04 08:51:47 UTC
(In reply to comment #2)
> I've attached the config.log since I'm assuming that's what you meant by
> compile log.

No, what we mean is an actual log of the compilation process. Set PORT_LOGDIR in make.conf and attach the big file that ends up in there.
Comment 5 Mike Auty (RETIRED) gentoo-dev 2006-01-04 12:46:04 UTC
Created attachment 76178 [details]
xorg-server build log

Ok, sorry, I had no idea portage could keep the full compilation results in a file.  Here you go, I'm afraid I could only attach it as a bz2, since anything over a meg isn't allowed in bugzilla and uncompressed this is about 2.5 Mb.  If there's anything else I can help with, please let me know and I'll get on it as quickly as I can...
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-23 00:42:49 UTC
I still can't reproduce this. Does it remain an issue for you?

Have you run hardware tests, such as memtest86, and also ensured this is a 100% reproduceable failure?
Comment 7 Mike Auty (RETIRED) gentoo-dev 2006-03-23 01:02:51 UTC
Yeah, sorry.  This seems to be building fine now on all my dev boxes, not sure when it fixed itself...  Marking as Fixed.