Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 627750 - Glibc-2.25-r3 failed to compile
Summary: Glibc-2.25-r3 failed to compile
Status: RESOLVED DUPLICATE of bug 627164
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-13 06:10 UTC by Cănărău Constantin
Modified: 2017-08-13 12:29 UTC (History)
0 users

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


Attachments
build.log (build.log.tar.xz,72.55 KB, application/x-xz)
2017-08-13 06:11 UTC, Cănărău Constantin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cănărău Constantin 2017-08-13 06:10:21 UTC
glibc-2.25-r3 failed to compile with:
x86_64-pc-linux-gnu-gcc -m32 -Wl,-O1,--sort-common,--hash-style=gnu,--as-needed,-z,relro,-z,now -pipe -march=native -mtune=skylake -w -fuse-ld=bfd regexp.c -c -std=gnu11 -fgnu89-inline  -O2 -Wall -Wundef -Wwrite-strings -fmerge-all-constants -fno-strict-aliasing -frounding-math -fstack-protector-all -march=native -mtune=skylake -pipe -w -Wstrict-prototypes -Wold-style-definition   -fPIC -Wa,-mtune=i686    -ftls-model=initial-exec   -U_FORTIFY_SOURCE   -I../include -I/var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/misc  -I/var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl  -I../sysdeps/unix/sysv/linux/i386/i686  -I../sysdeps/i386/i686/nptl  -I../sysdeps/unix/sysv/linux/i386  -I../sysdeps/unix/sysv/linux/x86  -I../sysdeps/i386/nptl  -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux  -I../sysdeps/nptl  -I../sysdeps/pthread  -I../sysdeps/gnu  -I../sysdeps/unix/inet  -I../sysdeps/unix/sysv  -I../sysdeps/unix/i386  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/i386/i686/fpu/multiarch  -I../sysdeps/i386/i686/fpu  -I../sysdeps/i386/i686/multiarch  -I../sysdeps/i386/i686  -I../sysdeps/i386/fpu  -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu  -I../sysdeps/i386  -I../sysdeps/x86  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/ieee754  -I../sysdeps/generic  -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/include-fixed -isystem /usr/include  -D_LIBC_REENTRANT -include /var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC -DSHARED     -o /var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/misc/regexp.os -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/misc/regexp.os.dt -MT /var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/misc/regexp.os
{standard input}: Assembler messages:
{standard input}: Error: `loc1@GLIBC_2.0' can't be versioned to common symbol 'loc1'
{standard input}: Error: `loc2@GLIBC_2.0' can't be versioned to common symbol 'loc2'
{standard input}: Error: `locs@GLIBC_2.0' can't be versioned to common symbol 'locs'
make[2]: *** [../o-iterator.mk:9: /var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/misc/regexp.os] Error 1
make[2]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.25-r3/work/glibc-2.25/misc'
make[1]: *** [Makefile:216: misc/subdir_lib] Error 2
make[1]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.25-r3/work/glibc-2.25'
make: *** [Makefile:9: all] Error 2
make: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl'



Portage 2.3.7 (python 3.6.2-final-0, default/linux/amd64/13.0/systemd, gcc-7.1.1, glibc-2.25-r2, 4.12.6-gentoo-costel x86_64)
=================================================================
System uname: Linux-4.12.6-gentoo-costel-x86_64-Intel-R-_Core-TM-_i7-6700K_CPU_@_4.00GHz-with-gentoo-2.4.1
KiB Mem:    31844672 total,  26932940 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 13 Aug 2017 05:15:01 +0000
Head commit of repository gentoo: 9766cef34b23cb3389aa44ebba3d5dbdf44b6863
sh bash 4.4_p12
ld GNU gold (Gentoo 2.29 p1.0 2.29) 1.14
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.0::gentoo
dev-lang/python:          2.7.13::newer, 3.6.2::newer
dev-util/cmake:           3.9.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r1::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.15.1::gentoo
sys-devel/binutils:       2.29::gentoo
sys-devel/gcc:            7.1.1::newer
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.ro.gentoo.org/gentoo-portage/
    priority: -1000
    sync-rsync-vcs-ignore: true
    sync-rsync-extra-opts: --human-readable --delete-before --progress

 echo '#define SYSCALL_CANCELLABLE 0'; \
 echo '#define SYSCALL_NOERRNO 0'; \
 echo '#define SYSCALL_ERRVAL 0'; \
 echo '#include <syscall-template.S>'; \
 echo 'weak_alias (__dup2, dup2)'; \
 echo 'hidden_weak (dup2)'; \
) | x86_64-pc-linux-gnu-gcc -m32 -Wl,-O1,--sort-common,--hash-style=gnu,--as-needed,-z,relro,-z,now -pipe -march=native -mtune=skylake -w -fuse-ld=bfd -c  -U_FORTIFY_SOURCE   -I../include -I/var/tmp/portage/sys-li
bs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/io  -I/var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl  -I../sysdeps/unix/sysv/linux/i386/i686  -I../sysdeps/i386/i686/nptl
-I../sysdeps/unix/sysv/linux/i386  -I../sysdeps/unix/sysv/linux/x86  -I../sysdeps/i386/nptl  -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux  -I../sysdeps/nptl  -I../sysdeps/pthread  -I../sysdeps
/gnu  -I../sysdeps/unix/inet  -I../sysdeps/unix/sysv  -I../sysdeps/unix/i386  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/i386/i686/fpu/multiarch  -I../sysdeps/i386/i686/fpu  -I../sysdeps/i386/i686/multiar
ch  -I../sysdeps/i386/i686  -I../sysdeps/i386/fpu  -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu  -I../sysdeps/i386  -I../sysdeps/x86  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/ldbl-96/include -I../sysdep
s/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/ieee754  -I../sysdeps/generic  -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/include -isyst
em /usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/include-fixed -isystem /usr/include  -D_LIBC_REENTRANT -include /var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/libc-modules.h -DMODULE_NAM
E=libc -include ../include/libc-symbols.h       -DASSEMBLER  -DGAS_SYNTAX  -Werror=undef -Wa,--noexecstack  -Werror=undef -Wa,--noexecstack  -Wa,-mtune=i686 -o /var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x8
added
    location: /usr/portage/local/added
    masters: gentoo
    priority: 30

newer
    location: /usr/portage/local/newer
    masters: gentoo
    priority: 100

python
    location: /usr/portage/local/python
    masters: gentoo
    priority: 100

Installed sets: @app32, @desktop, @dev, @minimal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=skylake -fomit-frame-pointer -w -flto=8 -fuse-linker-plugin -floop-nest-optimize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
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/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -mtune=skylake -fomit-frame-pointer -w -flto=8 -fuse-linker-plugin -floop-nest-optimize"
DISTDIR="/mnt/linux/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=4 --load-average=11 --keep-going --with-bdeps=y --complete-graph --quiet-build=n --autounmask-write"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy cgroup collision-protect config-protect-if-modified distlocks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict news nodoc noinfo parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-filter unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.evowise.com/gentoo/ http://ftp.romnet.org/gentoo/ ftp://ftp.romnet.org/gentoo/ http://distfiles.gentoo.org/"
LANG="ro_RO.UTF-8"
LC_ALL="ro_RO.UTF-8"
LDFLAGS="-Wl,-O1,--sort-common,--hash-style=gnu,--as-needed,-z,relro,-z,now -O2 -pipe -march=native -mtune=skylake -fomit-frame-pointer -w -flto=8 -fuse-linker-plugin -floop-nest-optimize"
MAKEOPTS="-j8 --load-average=10"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--human-readable --delete-before --progress"
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="X a52 aac acl acpi aes alsa amd64 avx avx2 branding bzip2 cairo caps cli colord cracklib crypt cups custom-cflags custom-optimization cxx dbus dri egl encode exif fam flac fma3 fortran gif glamor gles gpm gstreamer gtk gtk3 iconv icu idn ipv6 jemalloc jpeg lcms libnotify libressl lz4 mad mmx mmxext modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp opus pam pango pch pcre pdf png policykit popcnt pulseaudio readline sdl seccomp server session sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 svg systemd tcpd threads tiff truetype udev udisks unicode usb vaapi vdpau vhosts vorbis wayland x264 xattr xcb xvid zlib" ABI_X86="32 64" ALSA_CARDS="hda-intel usb-audio" 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="kexi words flow plan sheets stage tables krita karbon braindump author" 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" CURL_SSL="libressl" 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" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" L10N="ro en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ro en" NETBEANS_MODULES="apisupport extide php webcommon" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset fastcgi gzip limit_conn limit_req memcached referer rewrite split_clients userid gunzip naxsi realip" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-1" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" 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"
USE_PYTHON="2.7 3.6"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Cănărău Constantin 2017-08-13 06:11:51 UTC
Created attachment 488738 [details]
build.log
Comment 2 Cănărău Constantin 2017-08-13 06:31:02 UTC
I just tested and glibc-2.25-r2 it is also affected. 
At a better search I discovered that it is a duplicate of Bug 627164
Sorry for that.
Comment 3 Ulenrich 2017-08-13 11:13:55 UTC
glibc-2.25-r{2,3} build for me using Gentoo~unstable (gcc-6.4)

- if Bug 627164 is a duplicate with having installed
  sys-devel/binutils-2.29  which is not keyworded
- if building glibc-2.25-r2 also is affected 
then your bug is about binutils-2.29
Comment 4 Cănărău Constantin 2017-08-13 12:29:51 UTC
Yes, as emerge --info show, I am using binutils 2.29.
And patch 00_all_0020-Avoid-.symver-on-common-symbols-BZ-21666.patch solved the problem.
So, yes, it is a duplicate of bug 627164

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