Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 63528

Summary: x11-base/xorg-x11-6.8.0 compile error w/ gcc-3.4.2
Product: Gentoo Linux Reporter: Priit Laes (IRC: plaes) <plaes>
Component: Current packagesAssignee: Please assign to toolchain <gcc-porting>
Status: RESOLVED INVALID    
Severity: minor CC: aross, x11
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Priit Laes (IRC: plaes) 2004-09-10 03:07:58 UTC
make[5]: Leaving directory `/home/root/tmp/portage/xorg-x11-6.8.0/work/xc/lib/GLU/libnurbs/nurbtess'
rm -f libGLU.a
ar clq libGLU.a libutil/unshared/?*.o libtess/unshared/?*.o             libnurbs/internals/unshared/?*.o                libnurbs/interface/unshared/?*.o       libnurbs/nurbtess/unshared/?*.o
ranlib libGLU.a
rm -f ../../exports/lib/libGLU.a
cd ../../exports/lib && ln -s ../../lib/GLU/libGLU.a .
rm -f libGLU.so.1.3~
+ cd .
+ c++ -m32 -o ./libGLU.so.1.3~ -shared -Wl,-soname,libGLU.so.1 libutil/error.o libutil/glue.o libutil/mipmap.o libutil/project.o libutil/quad.o libutil/registry.o libtess/dict.o libtess/geom.o libtess/memalloc.o libtess/mesh.o libtess/normal.o libtess/priorityq.o libtess/render.o libtess/sweep.o libtess/tess.o libtess/tessmono.o libnurbs/internals/arc.o libnurbs/internals/arcsorter.o libnurbs/internals/arctess.o libnurbs/internals/backend.o libnurbs/internals/basiccrveval.o libnurbs/internals/basicsurfeval.o libnurbs/internals/bin.o libnurbs/internals/bufpool.o libnurbs/internals/cachingeval.o libnurbs/internals/ccw.o libnurbs/internals/coveandtiler.o libnurbs/internals/curve.o libnurbs/internals/curvelist.o libnurbs/internals/curvesub.o libnurbs/internals/dataTransform.o libnurbs/internals/displaylist.o libnurbs/internals/flist.o libnurbs/internals/flistsorter.o libnurbs/internals/hull.o libnurbs/internals/intersect.o libnurbs/internals/knotvector.o libnurbs/internals/mapdesc.o libnurbs/internals/mapdescv.o libnurbs/internals/maplist.o libnurbs/internals/mesher.o libnurbs/internals/monoTriangulationBackend.o libnurbs/internals/monotonizer.o libnurbs/internals/mycode.o libnurbs/internals/nurbsinterfac.o libnurbs/internals/nurbstess.o libnurbs/internals/patch.o libnurbs/internals/patchlist.o libnurbs/internals/quilt.o libnurbs/internals/reader.o libnurbs/internals/renderhints.o libnurbs/internals/slicer.o libnurbs/internals/sorter.o libnurbs/internals/splitarcs.o libnurbs/internals/subdivider.o libnurbs/internals/tobezier.o libnurbs/internals/trimline.o libnurbs/internals/trimregion.o libnurbs/internals/trimvertpool.o libnurbs/internals/uarray.o libnurbs/internals/varray.o libnurbs/interface/bezierEval.o libnurbs/interface/bezierPatch.o libnurbs/interface/bezierPatchMesh.o libnurbs/interface/glcurveval.o libnurbs/interface/glinterface.o libnurbs/interface/glrenderer.o libnurbs/interface/glsurfeval.o libnurbs/interface/incurveeval.o libnurbs/interface/insurfeval.o libnurbs/nurbtess/directedLine.o libnurbs/nurbtess/gridWrap.o libnurbs/nurbtess/monoChain.o libnurbs/nurbtess/monoPolyPart.o libnurbs/nurbtess/monoTriangulation.o libnurbs/nurbtess/partitionX.o libnurbs/nurbtess/partitionY.o libnurbs/nurbtess/polyDBG.o libnurbs/nurbtess/polyUtil.o libnurbs/nurbtess/primitiveStream.o libnurbs/nurbtess/quicksort.o libnurbs/nurbtess/rectBlock.o libnurbs/nurbtess/sampleComp.o libnurbs/nurbtess/sampleCompBot.o libnurbs/nurbtess/sampleCompRight.o libnurbs/nurbtess/sampleCompTop.o libnurbs/nurbtess/sampleMonoPoly.o libnurbs/nurbtess/sampledLine.o libnurbs/nurbtess/searchTree.o -L../../exports/lib -lXext -lX11 -lGL -lc
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
+ rm -f libGLU.so.1
+ ln -s libGLU.so.1.3 libGLU.so.1
+ '[' -d ../../exports/lib ']'
+ :
+ set -x
+ rm -f ../../exports/lib/libGLU.so.1
+ cd ../../exports/lib
+ ln -s ../../lib/GLU/libGLU.so.1 .
rm -f libGLU.so.1.3
mv -f libGLU.so.1.3~ libGLU.so.1.3
mv: cannot stat `libGLU.so.1.3~': No such file or directory
make[4]: *** [libGLU.so.1.3] Error 1
make[4]: Leaving directory `/home/root/tmp/portage/xorg-x11-6.8.0/work/xc/lib/GLU'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/root/tmp/portage/xorg-x11-6.8.0/work/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/root/tmp/portage/xorg-x11-6.8.0/work/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/home/root/tmp/portage/xorg-x11-6.8.0/work/xc'
make: *** [World] Error 2

!!! ERROR: x11-base/xorg-x11-6.8.0 failed.
!!! Function src_compile, Line 592, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:





Could be gcc-3.4.2 specific.

decoder ~ # emerge info
Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.8.1)
=================================================================
System uname: 2.6.8.1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.5.3
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mtune=pentium3"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown
/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="-O2 -mtune=pentium3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.linux.ee/pub/gentoo/distfiles"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/mygentoo /home/root/gnome-current/ /home/root/bmg-main"
SYNC="rsync://rsync1.ee.gentoo.org/gentoo-portage"
USE="X X509 acpi alsa apache2 avi bcmath berkdb bidi bitmap-fonts bonobo bzlib
cdparanoia cjk crypt cscope cups curl dba dga divx4linux dmx dvd dvdread encode
erandom esd evo exif expat f77 faad fam flac flash foomaticdb ftp gcj gd gdbm
gif gimpprint gmp gnome gnomedb gnutls gstreamer gtk gtk2 gtkhtml guile hal howl
iconv imap imlib innodb ipv6 java jpeg kde lcms libg++ libgda libwww live lzo
mad mcal mikmod mmap mmx mmx2 mng mono motif mozilla mpeg mysql ncurses network
nls nntp objc offensive oggvorbis opengl oss pam pcmcia pcre pda pdflib perl php
pic plotutils png pnp pwdb python qt quicktime readline rogue rtc ruby samba sdk
sdl slang smartcard smime sockets spell sse ssl svg tcpd tetex tga theora tiff
truetype trusted unicode usb v4l v4l2 vim-with-x wmf x86 xatrix xinerama xml
xml2 xmlrpc xprint xsl xv xvid zlib"
Comment 1 solar (RETIRED) gentoo-dev 2004-09-10 03:47:03 UTC
"Could be gcc-3.4.2 specific."

gcc-3.4.2 is still package masked. You should NOT be using it yet.
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2004-09-10 14:29:23 UTC
we don't officially support 3.4.2 -- changing severity to minor -- you know the risks when you go to an unsupported profile.
Comment 3 Karol Wojtaszek (RETIRED) gentoo-dev 2004-09-11 00:33:53 UTC
It's gcc problem not a xorg. Please sync portage and recompile gcc-3.4.2, then compile xorg