This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug build/20615] New: glibc build fails when using --with-cpu=power9 --enable-multi-arch
- From: "tuliom at linux dot vnet.ibm.com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 16 Sep 2016 19:41:02 +0000
- Subject: [Bug build/20615] New: glibc build fails when using --with-cpu=power9 --enable-multi-arch
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=20615
Bug ID: 20615
Summary: glibc build fails when using --with-cpu=power9
--enable-multi-arch
Product: glibc
Version: 2.23
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: tuliom at linux dot vnet.ibm.com
CC: carlos at redhat dot com
Target Milestone: ---
The system complains of multiple defined symbols when building glibc 2.23, 2.24
and master with --with-cpu=power9 --enable-multi-arch:
gcc-6 -nostdlib -nostartfiles -r -o /home/tuliom/tmp/glibc-build/libc_pic.os
\
-Wl,-d -Wl,--whole-archive /home/tuliom/tmp/glibc-build/libc_pic.a -o
/home/tuliom/tmp/
glibc-build/libc_pic.os
/home/tuliom/tmp/glibc-build/libc_pic.a(bzero.os): In function `__bzero':
/home/tuliom/src/glibc/string/../sysdeps/powerpc/powerpc64/multiarch/bzero.c:31:
multipl
e definition of `__bzero'
/home/tuliom/tmp/glibc-build/libc_pic.a(memset.os):/home/tuliom/src/glibc/string/../sysd
eps/powerpc/powerpc64/power8/memset.S:446: first defined here
/home/tuliom/tmp/glibc-build/libc_pic.a(memcmp-ppc64.os): In function
`__memcmp_ppc':
/home/tuliom/src/glibc/string/../string/memcmp.c:312: multiple definition of
`__GI_memcm
p'
/home/tuliom/tmp/glibc-build/libc_pic.a(memcmp.os):/home/tuliom/src/glibc/string/../sysd
eps/powerpc/powerpc64/power7/memcmp.S:26: first defined here
--
You are receiving this mail because:
You are on the CC list for the bug.