public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/9772] New: __copysign redefinition
@ 2009-01-21 14:38 linuxfan at walla dot com
  2009-01-21 14:39 ` [Bug math/9772] " linuxfan at walla dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: linuxfan at walla dot com @ 2009-01-21 14:38 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug math/9772] __copysign redefinition
  2009-01-21 14:38 [Bug math/9772] New: __copysign redefinition linuxfan at walla dot com
@ 2009-01-21 14:39 ` linuxfan at walla dot com
  2009-01-29 18:18 ` doksander at yahoo dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: linuxfan at walla dot com @ 2009-01-21 14:39 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From linuxfan at walla dot com  2009-01-21 14:39 -------
glibc-2.9

-- 


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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug math/9772] __copysign redefinition
  2009-01-21 14:38 [Bug math/9772] New: __copysign redefinition linuxfan at walla dot com
  2009-01-21 14:39 ` [Bug math/9772] " linuxfan at walla dot com
@ 2009-01-29 18:18 ` doksander at yahoo dot com
  2009-01-29 20:10 ` joseph at codesourcery dot com
  2009-01-30 17:01 ` doksander at yahoo dot com
  3 siblings, 0 replies; 5+ messages in thread
From: doksander at yahoo dot com @ 2009-01-29 18:18 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From doksander at yahoo dot com  2009-01-29 18:18 -------
I can confirm this

Target: arm-unknown-linux-gnu
Configured with: ../gcc-4.3.3/configure --prefix=/lfs --build=i686-pc-linux-gnu
--host=i686-pc-linux-gnu --target=arm-unknown-linux-gnu --disable-shared
--disable-threads --enable-decimal-float --disable-libgomp --without-headers
--with-newlib --disable-libmudflap --disable-libssp --enable-languages=c
Thread model: single
gcc version 4.3.3 (GCC)

-- 


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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug math/9772] __copysign redefinition
  2009-01-21 14:38 [Bug math/9772] New: __copysign redefinition linuxfan at walla dot com
  2009-01-21 14:39 ` [Bug math/9772] " linuxfan at walla dot com
  2009-01-29 18:18 ` doksander at yahoo dot com
@ 2009-01-29 20:10 ` joseph at codesourcery dot com
  2009-01-30 17:01 ` doksander at yahoo dot com
  3 siblings, 0 replies; 5+ messages in thread
From: joseph at codesourcery dot com @ 2009-01-29 20:10 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From joseph at codesourcery dot com  2009-01-29 20:10 -------
Subject: Re:  __copysign redefinition

The problem is that the compilation line - at least that quoted in the bug 
report - does not include -fgnu89-inline.  This probably indicates glibc 
has been misconfigured or a broken compiler, although it could conceivably 
be a bug in the configure test for -fgnu89-inline support.



-- 


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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug math/9772] __copysign redefinition
  2009-01-21 14:38 [Bug math/9772] New: __copysign redefinition linuxfan at walla dot com
                   ` (2 preceding siblings ...)
  2009-01-29 20:10 ` joseph at codesourcery dot com
@ 2009-01-30 17:01 ` doksander at yahoo dot com
  3 siblings, 0 replies; 5+ messages in thread
From: doksander at yahoo dot com @ 2009-01-30 17:01 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From doksander at yahoo dot com  2009-01-30 17:01 -------
Removing a faulty line(libc_cv_gnu89_inline) from my custom configure.cache
solved this problem. -fgnu89-inline was included automatically

-- 


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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-01-30 17:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-21 14:38 [Bug math/9772] New: __copysign redefinition linuxfan at walla dot com
2009-01-21 14:39 ` [Bug math/9772] " linuxfan at walla dot com
2009-01-29 18:18 ` doksander at yahoo dot com
2009-01-29 20:10 ` joseph at codesourcery dot com
2009-01-30 17:01 ` doksander at yahoo dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).