Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187035 - qt-4.2.3-r1 doesn't compile w/ gcc-4.2.0 on amd64
Summary: qt-4.2.3-r1 doesn't compile w/ gcc-4.2.0 on amd64
Status: RESOLVED DUPLICATE of bug 186089
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-29 17:06 UTC by ShadowHawkBV
Modified: 2007-07-29 18:56 UTC (History)
0 users

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


Attachments
qt error log (build.log,261.74 KB, text/plain)
2007-07-29 17:07 UTC, ShadowHawkBV
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ShadowHawkBV 2007-07-29 17:06:53 UTC
While emerging qt with the gcc-4.2.0 qt fails with: 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .obj/release-shared/qmetatype.o: relocation R_X86_64_PC32 against `QList<QVariant>::detach_helper()' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value

Reproducible: Always

Steps to Reproduce:
1.  emerge qt with gcc-4.2.0 as the compiler
2.  watch it fail


Actual Results:  
qt emerge fails with this error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .obj/release-shared/qmetatype.o: relocation R_X86_64_PC32 against `QList<QVariant>::detach_helper()' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [../../lib/libQtCore.so.4.2.3] Error 1
make[2]: Leaving directory `/home/tmp/portage/x11-libs/qt-4.2.3-r1/work/qt-x11-opensource-src-4.2.3/src/corelib'
make[1]: *** [sub-corelib-all] Error 2
make[1]: Leaving directory `/home/tmp/portage/x11-libs/qt-4.2.3-r1/work/qt-x11-opensource-src-4.2.3/src'
make: *** [sub-src-all-ordered] Error 2
 * 
 * ERROR: x11-libs/qt-4.2.3-r1 failed.
 * Call stack:
 *   ebuild.sh, line 1648:   Called dyn_compile
 *   ebuild.sh, line 988:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   qt-4.2.3-r1.ebuild, line 201:   Called die
 * 
 * (no error message)
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/home/tmp/portage/x11-libs/qt-4.2.3-r1/temp/build.log'.
 * 

Expected Results:  
qt should successfully emerge

I'll upload the logfile ASAP
Comment 1 ShadowHawkBV 2007-07-29 17:07:56 UTC
Created attachment 126368 [details]
qt error log

Error log for installing qt-4.2.3-r1 under gcc-4.2.0
Comment 2 ShadowHawkBV 2007-07-29 17:19:48 UTC
And of course being senile.. I forgot to add emerge --info:

Portage 2.1.3_rc9 (default-linux/amd64/2007.0/desktop, gcc-4.2.0, glibc-2.6-r0, 2.6.20-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r8 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 29 Jul 2007 09:30:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.5-r3, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/home/bvance/mnt/LKSERVER/shared_drive/distfiles"
FEATURES="buildpkg ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.mirrored.ca/ ftp://gentoo.mirrored.ca/ http://gentoo.osuosl.org/ ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/home/bvance/mnt/LKSERVER/shared_drive/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/home/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bidi bitmap-fonts cairo cdda cdio cdparanoia cdr cli cracklib crypt cups dbus divx4linux doc dri dts dvd dvdr dvdread eds emboss encode esd evo exif fam ffmpeg firefox flac foomanticdb fortran freetype gdbm gif glitz glut gnome gnutls gpm gstreamer gtk gtkhtml hal httpd iconv ipv6 isdnlog java jbig jpeg kde kerberos ldap libg++ live mad matroska midi mikmod mmx mp3 mpeg mudflap ncurses nls nocd nptl nptlonly nvidia offensive ogg opengl openmp oss pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl stream svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf-8 vcd vlm vorbis wxwindows xine xinerama xml xorg xv xvid zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-07-29 18:56:49 UTC

*** This bug has been marked as a duplicate of bug 186089 ***