Already fixed upstream as: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=388b4f1a02f3a801965028bbfcd48d905638b797 Build fails on amd64/x86 as: x86_64-pc-linux-gnu-gcc -m64 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu regexp.c -c -std=gnu11 -fgnu89-inline -O2 -Wall -Wundef -Wwrite-strings -fmerge-all-constants -fno-strict-aliasing -frounding-math -fstack-protector-all -Wstrict-prototypes -Wold-style-definition -fPIC -ftls-model=initial-exec -U_FORTIFY_SOURCE -I../include -I/tmp/portage/sys-libs/glibc-2.25-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/misc -I/tmp/portage/sys-libs/glibc-2.25-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl -I../sysdeps/unix/sysv/linux/x86_64/64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/x86_64/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/x86_64 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu/multiarch -I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu -I../sysdeps/x86_64/multiarch -I../sysdeps/x86_64 -I../sysdeps/x86 -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/7.1.0/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/7.1.0/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include /tmp/portage/sys-libs/glibc-2.25-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -DPIC -DSHARED -o /tmp/portage/sys-libs/glibc-2.25-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/misc/regexp.os -MD -MP -MF /tmp/portage/sys-libs/glibc-2.25-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/misc/regexp.os.dt -MT /tmp/portage/sys-libs/glibc-2.25-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/misc/regexp.os /tmp/ccHgJPPL.s: Assembler messages: /tmp/ccHgJPPL.s: Error: `loc1@GLIBC_2.2.5' can't be versioned to common symbol 'loc1' /tmp/ccHgJPPL.s: Error: `loc2@GLIBC_2.2.5' can't be versioned to common symbol 'loc2' /tmp/ccHgJPPL.s: Error: `locs@GLIBC_2.2.5' can't be versioned to common symbol 'locs'
Created attachment 488264 [details, diff] patch created from upstream fix commit I created this patch with 'git show --patch 388b4f1a02f'. But then I manually edited out the diff for the Changelog file, since that hunk failed. I successfully built sys-libs/glibc-2.24-r3 after modifying it apply this patch.
Added the patch to glibc patch queues for next patchset for 2.24 and 2.25 at: https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo/src/patchsets/glibc/2.25/ https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo/src/patchsets/glibc/2.24/
*** Bug 627750 has been marked as a duplicate of this bug. ***
Did cut new patchset for 2.24-r4 and 2.25-r3 and pushed as: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=925bb6a2ce996cdf1c92ed97918a74efd74ffb8d