This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/20615] New: glibc build fails when using --with-cpu=power9 --enable-multi-arch


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]