Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366611 - sys-devel/llvm-gcc-2.9 / hardened - ld: c-lang.o: relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPI
Summary: sys-devel/llvm-gcc-2.9 / hardened - ld: c-lang.o: relocation R_X86_64_32 agai...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 392951
  Show dependency tree
 
Reported: 2011-05-09 16:29 UTC by Henrik Ala-Uotila
Modified: 2011-12-02 22:11 UTC (History)
2 users (show)

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


Attachments
sys-devel/llvm-gcc-2.9 build.log, compressed (build.log.gz,80.49 KB, application/x-gzip)
2011-05-09 16:35 UTC, Henrik Ala-Uotila
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henrik Ala-Uotila 2011-05-09 16:29:59 UTC
Compiling sys-devel/llvm-gcc-2.9  USE="fortran (multilib) nls -bootstrap -objc -objc++ -test" fails with hardened x86_64-pc-linux-gnu-4.4.5:

c++   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute    -DHAVE_CONFIG_H  -o cc1-dummy c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o c-parser.o  c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o dummy-checksum.o \
  llvm-main.o  libbackend.a ../libcpp/libcpp.a /usr/lib64/llvm/libLLVMBitReader.a /usr/lib64/llvm/libLLVMipo.a /usr/lib64/llvm/libLLVMBitWriter.a /usr/lib64/llvm/libLLVMX86Disassembler.a /usr/lib64/llvm/libLLVMX86AsmParser.a /usr/lib64/llvm/libLLVMX86CodeGen.a /usr/lib64/llvm/libLLVMSelectionDAG.a /usr/lib64/llvm/libLLVMAsmPrinter.a /usr/lib64/llvm/libLLVMMCParser.a /usr/lib64/llvm/libLLVMCodeGen.a /usr/lib64/llvm/libLLVMScalarOpts.a /usr/lib64/llvm/libLLVMInstCombine.a /usr/lib64/llvm/libLLVMTransformUtils.a /usr/lib64/llvm/libLLVMipa.a /usr/lib64/llvm/libLLVMAnalysis.a /usr/lib64/llvm/libLLVMTarget.a /usr/lib64/llvm/libLLVMX86AsmPrinter.a /usr/lib64/llvm/libLLVMX86Utils.a /usr/lib64/llvm/libLLVMCore.a /usr/lib64/llvm/libLLVMX86Info.a /usr/lib64/llvm/libLLVMMC.a /usr/lib64/llvm/libLLVMSupport.a ../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/usr/lib64/llvm  -lpthread -lffi -ldl -lm 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: c-lang.o: relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
c-lang.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [cc1-dummy] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/obj/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/obj'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/obj'


Output of emerge --info =sys-devel/llvm-gcc-2.9:
Portage 2.1.9.48 (hardened/linux/amd64, gcc-4.4.5, glibc-2.11.3-r0, 2.6.38-gentoo-r4 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.38-gentoo-r4-x86_64-Intel-R-_Core-TM-_i3_CPU_M_370_@_2.40GHz-with-gentoo-2.0.2
Timestamp of tree: Mon, 09 May 2011 12:15:01 +0000
app-shells/bash:          4.2_p8-r1
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.2.10
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.11.3
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.fi.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apng bash-completion bashcomp berkdb bluetooth bzip2 cairo cdda cli consolekit cracklib crypt cups cxx dbus declarative device-mapper dhclient dri dts dv dvd encode exif fam ffmpeg flac fontconfig fortran gdbm gif git gpm gps hardened iconv icu inotify ipv6 jpeg justify kde latex libnotify mad mikmod mmx mng modules mp3 mpeg mtp mudflap multilib musepack ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png policykit pppd python qt3support qt4 readline sdl secure-delete semantic-desktop session smp sse sse2 ssl ssse3 svg sysfs system-sqlite tcpd threads tiff truetype udev unicode urandom usb v4l2 vaapi vorbis wavpack x264 xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse synaptics evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sys-devel/llvm-gcc-2.9 was built with the following:
USE="fortran (multilib) nls -bootstrap -objc -objc++ -test"
Comment 1 Henrik Ala-Uotila 2011-05-09 16:35:57 UTC
Created attachment 272633 [details]
sys-devel/llvm-gcc-2.9 build.log, compressed
Comment 2 Marek Bartosiewicz 2011-10-16 09:36:25 UTC
/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/obj/./prev-gcc/xgcc -B/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/obj/./prev-gcc/ -B/usr/lib64/llvm-gcc-4.2-2.9/x86_64-pc-linux-gnu/bin/ -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute    -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/gcc -I/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/gcc/. -I/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/gcc/../include -I/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/gcc/../libcpp/include  -I/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/gcc/../libdecnumber -I../libdecnumber -I/usr/include -DENABLE_LLVM -I/usr/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DLLVM_VERSION_INFO='"4.2-2.9"'   insn-opinit.c -o insn-opinit.o
/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/obj/./prev-gcc/xgcc -B/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/obj/./prev-gcc/ -B/usr/lib64/llvm-gcc-4.2-2.9/x86_64-pc-linux-gnu/bin/ -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute    -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/gcc -I/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/gcc/. -I/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/gcc/../include -I/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/gcc/../libcpp/include  -I/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/gcc/../libdecnumber -I../libdecnumber -I/usr/include -DENABLE_LLVM -I/usr/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DLLVM_VERSION_INFO='"4.2-2.9"'   insn-output.c -o insn-output.o
/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/obj/./prev-gcc/xgcc -B/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/obj/./prev-gcc/ -B/usr/lib64/llvm-gcc-4.2-2.9/x86_64-pc-linux-gnu/bin/ -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute    -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/gcc -I/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/gcc/. -I/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/gcc/../include -I/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/gcc/../libcpp/include  -I/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/gcc/../libdecnumber -I../libdecnumber -I/usr/include -DENABLE_LLVM -I/usr/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DLLVM_VERSION_INFO='"4.2-2.9"'   insn-peep.c -o insn-peep.o
/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/obj/./prev-gcc/xgcc -B/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/obj/./prev-gcc/ -B/usr/lib64/llvm-gcc-4.2-2.9/x86_64-pc-linux-gnu/bin/ -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute    -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/gcc -I/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/gcc/. -I/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/gcc/../include -I/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/gcc/../libcpp/include  -I/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/gcc/../libdecnumber -I../libdecnumber -I/usr/include -DENABLE_LLVM -I/usr/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DLLVM_VERSION_INFO='"4.2-2.9"'   insn-recog.c -o insn-recog.o
/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/obj/./prev-gcc/xgcc -B/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/obj/./prev-gcc/ -B/usr/lib64/llvm-gcc-4.2-2.9/x86_64-pc-linux-gnu/bin/ -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute    -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/gcc -I/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/gcc/. -I/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/gcc/../include -I/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/gcc/../libcpp/include  -I/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/gcc/../libdecnumber -I../libdecnumber -I/usr/include -DENABLE_LLVM -I/usr/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DLLVM_VERSION_INFO='"4.2-2.9"'   insn-automata.c -o insn-automata.o
# LLVM LOCAL
c++   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute    -DHAVE_CONFIG_H  -o Tcollect2 \
	collect2.o tlink.o intl.o version.o ../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/usr/lib64/llvm  -ludis86 -lpthread -lffi -ldl -lm  
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: collect2.o: relocation R_X86_64_32 against `temporary_obstack' can not be used when making a shared object; recompile with -fPIC
collect2.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [collect2] Błąd 1
make[3]: *** Oczekiwanie na niezakończone zadania....
rm cpp.pod gpl.pod gcov.pod gcc.pod gfdl.pod fsf-funding.pod
make[3]: Opuszczenie katalogu `/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/obj/gcc'
make[2]: *** [all-stage2-gcc] Błąd 2
make[2]: Opuszczenie katalogu `/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/obj'
make[1]: *** [stage2-bubble] Błąd 2
make[1]: Opuszczenie katalogu `/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/obj'
make: *** [all] Błąd 2
emake failed



emerge --info
Portage 2.1.10.27 (hardened/linux/amd64, gcc-4.5.3, glibc-2.13-r4, 3.0.4-hardened-r5 x86_64)
=================================================================
System uname: Linux-3.0.4-hardened-r5-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_720_@_1.60GHz-with-gentoo-2.1
Timestamp of tree: Sun, 16 Oct 2011 06:30:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.3-r1, 3.2.2
dev-util/cmake:           2.8.6-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r3
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* @EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="gentoo.prz.rzeszow.pl"
LANG="pl_PL.utf8"
LC_ALL="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="pl en"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X X509 a52 aac acl acpi action_modeswitch alsa amd64 amr apng artworkextra aspell atm audacious autoipd avahi bazaar btrfs bzip2 cache cairo caps cdda cddb cdparanoia cli consolekit contrast cracklib crypt cue cups curl custom-optimization cxx dbus development device-mapper dga dhcpcd djvu dmraid dri dvd egl exif extras faac fam fat fbcon ffmpeg fftw flac fontconfig g3dvl gconf gd gdbm gdu gif gimp git glade gles glibc-omitfp gmp gnutls gpm graphite gs gstreamer gtk gtk3 hardened hddtemp hdri howl-compat hpijs iconv icu id3tag introspection ipc iproute2 ithreads java jpeg jpeg2k justify ladspa lame lcdfilter lcms libass libcanberra libedit libnotify libproxy libsamplerate libssh2 llvm llvm-gcc lm_sensors lua lvm lzma lzo mad matroska mdnsresponder-compat mercurial mktemp mmx mmxext mng modules motif mp3 mpd mpeg mudflap multilib musepack natspec nautilus ncurses network networkmanager nls nptl nptlonly nsplugin nss ntfs ntfsprogs ntp numa offensive ogg open_perms openal opengl openmp openvg optimization pam pam_ssh pango passwdqc passwordsave pax_kernel pcre pdf perl playlist png policykit postproc pppd pulseaudio python python3 q32 q8 qemu qemu-ifup raw rdesktop readline reiser4 resolvconf samba sdl secure-delete session shared-dricore slang smp sndfile snmp spell spice sqlite sqlite3 sse sse2 sse3 ssl ssse3 startup-notification subversion svg symlink sysfs system-sqlite taglib tcpd theora threads thunar tiff tk truetype udev udis86 unicode unlock-notify unsupported upnp urandom usb utils v4l2 vaapi virt-network virtualbox vnc vorbis wavpack webkit webp wifi wmf wxwidgets x264 xattr xcb xcomposite xfs xft xml xmp xorg xosd xprint xscreensaver xulrunner xv xvid xvmc zeroconf zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="coreboot pc emu qemu multiboot" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Lari Korpi 2011-11-08 08:15:27 UTC
I have the same issue.

/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: c-lang.o: relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
c-lang.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [cc1-dummy] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-devel/llvm-gcc-2.9/work/llvm-gcc-4.2-2.9.source/obj/gcc'

# emerge -vp llvm-gcc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ~] sys-devel/llvm-gcc-2.9  USE="fortran (multilib*) nls -bootstrap -objc -objc++ -test" 0 kB
Comment 4 Bernard Cafarelli gentoo-dev 2011-12-02 22:11:27 UTC
llvm-gcc is going away, dragonegg should be easier to support as LLVM/GCC system

Thanks for the report anyway!