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 math/9772] New: __copysign redefinition


whild building a cross toolchain I got the following:

make[2]: Entering directory `/home/yakov/clfs-new/build/glibc-2.9/math'
/opt/cross-tools-new/bin/s390x-unknown-linux-gnu-gcc -
m64 ../sysdeps/ieee754/ldbl-opt/s_copysign.c -c -std=gnu99  -O2 -Wall -
Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes -mlong-
double-128    -Wno-uninitialized -D__NO_MATH_INLINES -
D__LIBC_INTERNAL_MATH_INLINES -I../include -I/home/yakov/clfs-new/build/glibc-
build/math -I/home/yakov/clfs-new/build/glibc-build -I../sysdeps/s390/s390-
64/elf -I../nptl/sysdeps/unix/sysv/linux/s390/s390-64 -
I../sysdeps/unix/sysv/linux/s390/s390-64 -I../sysdeps/unix/sysv/linux/wordsize-
64 -I../sysdeps/unix/sysv/linux/s390/fpu -I../sysdeps/s390/fpu -
I../nptl/sysdeps/unix/sysv/linux/s390 -I../sysdeps/unix/sysv/linux/s390 -
I../sysdeps/ieee754/ldbl-64-128 -I../sysdeps/ieee754/ldbl-opt -
I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -
I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -
I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -
I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../nptl/sysdeps/unix -
I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/s390/s390-64 -
I../sysdeps/wordsize-64 -I../nptl/sysdeps/s390 -I../sysdeps/s390 -
I../sysdeps/ieee754/ldbl-128 -I../sysdeps/ieee754/dbl-64 -
I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -
I../sysdeps/generic -I../nptl  -I.. -I../libio -I. -nostdinc -
isystem /opt/cross-tools-new/lib/gcc/s390x-unknown-linux-gnu/4.3.2/include -
isystem /opt/cross-tools-new/lib/gcc/s390x-unknown-linux-gnu/4.3.2/include-
fixed -isystem /opt/cross-tools-new/usr/include -D_LIBC_REENTRANT -
include ../include/libc-symbols.h       -o /home/yakov/clfs-new/build/glibc-
build/math/s_copysign.o -MD -MP -MF /home/yakov/clfs-new/build/glibc-
build/math/s_copysign.o.dt -MT /home/yakov/clfs-new/build/glibc-
build/math/s_copysign.o
In file included from ../sysdeps/ieee754/ldbl-opt/s_copysign.c:2:
../sysdeps/ieee754/dbl-64/s_copysign.c:27: error: redefinition of '__copysign'
../math/math_private.h:196: error: previous definition of '__copysign' was here
make[2]: *** [/home/yakov/clfs-new/build/glibc-build/math/s_copysign.o] Error 1
make[2]: Leaving directory `/home/yakov/clfs-new/build/glibc-2.9/math'
make[1]: *** [math/subdir_lib] Error 2
make[1]: Leaving directory `/home/yakov/clfs-new/build/glibc-2.9'
make: *** [all] Error 2

-------------------------------
/opt/cross-tools-new/bin/s390x-unknown-linux-gnu-gcc -v
Using built-in specs.
Target: s390x-unknown-linux-gnu
Configured with: ../gcc-4.3.2/configure --prefix=/opt/cross-tools-new --
host=x86_64-unknown-linux-gnu --target=s390x-unknown-linux-gnu --disable-
multilib --disable-nls --disable-shared --disable-threads --enable-
languages=c --with-gmp=/opt/cross-tools-new --with-mpfr=/opt/cross-tools-new
Thread model: single
gcc version 4.3.2 (GCC)

-- 
           Summary: __copysign redefinition
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
        AssignedTo: aj at suse dot de
        ReportedBy: linuxfan at walla dot com
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: s390x-unknown-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=9772

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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