| Summary: | sys-libs/glibc-2.27-r6 - ld: /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/crtbegin.o: relocation R_X86_64_32 against hidden symbol `__TMC_END__' can not be used when making a PIE object | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Marian Kyral <mkyral> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | hydrapolic |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build.log.bz2 | ||
Created attachment 553738 [details]
build.log.bz2
*** This bug has been marked as a duplicate of bug 664340 *** I don't know what changed, but today it compiled correctly :-O |
Emerge of =sys-libs/glibc-2.27-r6::gentoo failed with ld error: x86_64-pc-linux-gnu-gcc -m64 -march=native -pipe -fPIC -O2 -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed -nostdlib -nostartfiles -o /var/tmp/portage/sys-libs/glibc-2.27-r6/work/build-amd64-x86_64-pc-linux-gnu-nptl/iconv/iconvconfig -Wl,-O1 -Wl,--as-needed -Wl,-z,combreloc -Wl,-z,relro /var/tmp/portage/sys-libs/glibc-2.27-r6/work/build-amd64-x86_64-pc-linux-gnu-nptl/csu/crt1.o /var/tmp/portage/sys-libs/glibc-2.27-r6/work/build-amd64-x86_64-pc-linux-gnu-nptl/csu/crti.o `x86_64-pc-linux-gnu-gcc -m64 -march=native -pipe -fPIC -O2 -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed --print-file-name=crtbegin.o` /var/tmp/portage/sys-libs/glibc-2.27-r6/work/build-amd64-x86_64-pc-linux-gnu-nptl/iconv/iconvconfig.o /var/tmp/portage/sys-libs/glibc-2.27-r6/work/build-amd64-x86_64-pc-linux-gnu-nptl/iconv/strtab.o /var/tmp/portage/sys-libs/glibc-2.27-r6/work/build-amd64-x86_64-pc-linux-gnu-nptl/iconv/xmalloc.o /var/tmp/portage/sys-libs/glibc-2.27-r6/work/build-amd64-x86_64-pc-linux-gnu-nptl/iconv/hash-string.o -Wl,-dynamic-linker=/lib64/ld-linux-x86-64.so.2 -Wl,-rpath-link=/var/tmp/portage/sys-libs/glibc-2.27-r6/work/build-amd64-x86_64-pc-linux-gnu-nptl:/var/tmp/portage/sys-libs/glibc-2.27-r6/work/build-amd64-x86_64-pc-linux-gnu-nptl/math:/var/tmp/portage/sys-libs/glibc-2.27-r6/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf:/var/tmp/portage/sys-libs/glibc-2.27-r6/work/build-amd64-x86_64-pc-linux-gnu-nptl/dlfcn:/var/tmp/portage/sys-libs/glibc-2.27-r6/work/build-amd64-x86_64-pc-linux-gnu-nptl/nss:/var/tmp/portage/sys-libs/glibc-2.27-r6/work/build-amd64-x86_64-pc-linux-gnu-nptl/nis:/var/tmp/portage/sys-libs/glibc-2.27-r6/work/build-amd64-x86_64-pc-linux-gnu-nptl/rt:/var/tmp/portage/sys-libs/glibc-2.27-r6/work/build-amd64-x86_64-pc-linux-gnu-nptl/resolv:/var/tmp/portage/sys-libs/glibc-2.27-r6/work/build-amd64-x86_64-pc-linux-gnu-nptl/crypt:/var/tmp/portage/sys-libs/glibc-2.27-r6/work/build-amd64-x86_64-pc-linux-gnu-nptl/mathvec:/var/tmp/portage/sys-libs/glibc-2.27-r6/work/build-amd64-x86_64-pc-linux-gnu-nptl/support:/var/tmp/portage/sys-libs/glibc-2.27-r6/work/build-amd64-x86_64-pc-linux-gnu-nptl/nptl /var/tmp/portage/sys-libs/glibc-2.27-r6/work/build-amd64-x86_64-pc-linux-gnu-nptl/libc.so.6 /var/tmp/portage/sys-libs/glibc-2.27-r6/work/build-amd64-x86_64-pc-linux-gnu-nptl/libc_nonshared.a -Wl,--as-needed /var/tmp/portage/sys-libs/glibc-2.27-r6/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf/ld.so -Wl,--no-as-needed -lgcc `x86_64-pc-linux-gnu-gcc -m64 -march=native -pipe -fPIC -O2 -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed --print-file-name=crtend.o` /var/tmp/portage/sys-libs/glibc-2.27-r6/work/build-amd64-x86_64-pc-linux-gnu-nptl/csu/crtn.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/crtbegin.o: relocation R_X86_64_32 against hidden symbol `__TMC_END__' can not be used when making a PIE object /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Nonrepresentable section on output collect2: error: ld returned 1 exit status make[2]: *** [../Rules:194: /var/tmp/portage/sys-libs/glibc-2.27-r6/work/build-amd64-x86_64-pc-linux-gnu-nptl/iconv/iconvconfig] Error 1 make[2]: *** Waiting for unfinished jobs.... /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/crtbegin.o: relocation R_X86_64_32 against hidden symbol `__TMC_END__' can not be used when making a PIE object /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Nonrepresentable section on output collect2: error: ld returned 1 exit status make[2]: *** [../Rules:194: /var/tmp/portage/sys-libs/glibc-2.27-r6/work/build-amd64-x86_64-pc-linux-gnu-nptl/iconv/iconv_prog] Error 1 make[2]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.27-r6/work/glibc-2.27/iconv' make[1]: *** [Makefile:216: iconv/others] Error 2 make[1]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.27-r6/work/glibc-2.27' make: *** [Makefile:9: all] Error 2 make: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.27-r6/work/build-amd64-x86_64-pc-linux-gnu-nptl' ------------------------------------------------------------------------------ # emerge --info '=sys-libs/glibc-2.27-r6::gentoo' Portage 2.3.49 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-7.3.0, glibc-2.26-r7, 4.18.13-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.18.13-gentoo-x86_64-Intel-R-_Core-TM-_i5-4210M_CPU_@_2.60GHz-with-gentoo-2.4.1 KiB Mem: 16328132 total, 4585656 free KiB Swap: 4000148 total, 4000148 free Timestamp of repository gentoo: Wed, 31 Oct 2018 02:44:33 +0000 Head commit of repository gentoo: ed58c7b5321c02bceb4858b91a1e9be375cd224a sh bash 4.4_p12 ld GNU ld (Gentoo 2.30 p5) 2.30.0 app-shells/bash: 4.4_p12::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.24.3-r1::gentoo dev-lang/python: 2.7.15::gentoo, 3.4.8::gentoo, 3.6.5::gentoo dev-util/cmake: 3.9.6::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/openrc: 0.38.3::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.15.1-r2::gentoo sys-devel/binutils: 2.30-r4::gentoo sys-devel/gcc: 7.3.0-r3::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers) sys-libs/glibc: 2.26-r7::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo priority: -1000 mkyral location: /usr/local/portage masters: gentoo priority: 0 crossdev location: /usr/local/portage-crossdev masters: gentoo priority: 10 booboo location: /var/lib/layman/booboo sync-type: laymansync sync-uri: https://github.com/l29ah/booboo.git masters: gentoo priority: 50 eclipse location: /var/lib/layman/eclipse sync-type: laymansync sync-uri: https://github.com/gentoo/eclipse-overlay.git masters: gentoo priority: 50 gen2-overlay location: /var/lib/layman/gen2-overlay sync-type: laymansync sync-uri: https://bitbucket.org/szymonsz/gen2-overlay.git masters: gentoo priority: 50 grub2-themes location: /var/lib/layman/grub2-themes sync-type: laymansync sync-uri: https://github.com/gentoo/grub2-themes-overlay.git masters: gentoo priority: 50 java location: /var/lib/layman/java sync-type: laymansync sync-uri: git://anongit.gentoo.org/proj/java.git masters: gentoo priority: 50 kde location: /var/lib/layman/kde sync-type: laymansync sync-uri: git://anongit.gentoo.org/proj/kde.git masters: gentoo priority: 50 python location: /var/lib/layman/python sync-type: laymansync sync-uri: git://anongit.gentoo.org/proj/python.git masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -fPIC" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.1/ext-active/ /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe -fPIC" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y --autounmask-keep-masks --backtrack=30" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.supp.name/ http://ftp.fi.muni.cz/pub/linux/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.web4u.cz/ ftp://gentoo.mirror.web4u.cz/" LANG="cs_CZ.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="cs cs_CZ" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--quiet" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="7zip X a52 aac acl acpi activities alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus declarative dri dri3 dts dvd dvdr emboss encode exif faad fam ffmpeg flac fortran gdbm gif git glamor gpg gpm gstreamer iconv icu imagemagick ipv6 jpeg jpeg2k kde kipi kwallet lame lcms ldap libnotify libtirpc logrotate lzma lzo mad matroska mmx mmxext mng mozilla mp3 mp4 mpeg mplayer msql multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds python qml qt5 quicktime raw readline samba sdl seccomp semantic-desktop smp spell sqlite sqlite3 sse sse2 ssl ssse3 startup-notification subversion svg tcpd theora threads thumbnail thunderbird tiff truetype udev udisks unicode unzip upower usb vaapi vim-syntax vorbis widgets wmf wmp wxwidgets x264 xattr xcb xcomposite xine xinerama xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" L10N="cs" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="intel i965" 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: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS ------------------------------------------------------------------------------ # emerge -pqv '=sys-libs/glibc-2.27-r6::gentoo' [ebuild U ] sys-libs/glibc-2.27-r6 [2.26-r7] USE="multiarch%* (multilib) -audit -caps (-compile-locales) -doc -gd (-hardened) -headers-only -nscd -profile (-selinux) -suid -systemtap (-vanilla) (-debug%)"