This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/38919] New: math_stubs_long_double.cc: error: redefinition of 'long double ...'
- From: "pluto at agmk dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jan 2009 00:55:06 -0000
- Subject: [Bug libstdc++/38919] New: math_stubs_long_double.cc: error: redefinition of 'long double ...'
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
building 4.4 snap with mingw-w64-snapshot-20081115.tar.bz2 ends with:
(...)
libtool: compile:
/home/users/pluto/rpm/BUILD/gcc-4.4-20090116/BUILDDIR/./gcc/xgcc -shared-libgcc
-B/home/users/pluto/rpm/BUILD/gcc-4.4-20090116/BUILDDIR/./gcc -nostdinc++
-L/home/users/pluto/rpm/BUILD/gcc-4.4-20090116/BUILDDIR/x86_64-mingw32/libstdc++-v3/src
-L/home/users/pluto/rpm/BUILD/gcc-4.4-20090116/BUILDDIR/x86_64-mingw32/libstdc++-v3/src/.libs
-L/home/users/pluto/rpm/BUILD/gcc-4.4-20090116/BUILDDIR/x86_64-mingw32/winsup/mingw
-L/home/users/pluto/rpm/BUILD/gcc-4.4-20090116/BUILDDIR/x86_64-mingw32/winsup/w32api/lib
-isystem /home/users/pluto/rpm/BUILD/gcc-4.4-20090116/winsup/mingw/include
-isystem /home/users/pluto/rpm/BUILD/gcc-4.4-20090116/winsup/w32api/include
-B/usr/x86_64-mingw32/bin/ -B/usr/x86_64-mingw32/lib/ -isystem
/usr/x86_64-mingw32/include -isystem /usr/x86_64-mingw32/sys-include
-I/home/users/pluto/rpm/BUILD/gcc-4.4-20090116/BUILDDIR/x86_64-mingw32/libstdc++-v3/include/x86_64-mingw32
-I/home/users/pluto/rpm/BUILD/gcc-4.4-20090116/BUILDDIR/x86_64-mingw32/libstdc++-v3/include
-I/home/users/pluto/rpm/BUILD/gcc-4.4-20090116/libstdc++-v3/libsupc++
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -O2
-fno-strict-aliasing -fwrapv -march=x86-64 -c
../../../../libstdc++-v3/src/math_stubs_long_double.cc -DDLL_EXPORT -DPIC -o
.libs/math_stubs_long_double.o
../../../../libstdc++-v3/src/math_stubs_long_double.cc: In function 'long
double fabsl(long double)':
../../../../libstdc++-v3/src/math_stubs_long_double.cc:40: error: redefinition
of 'long double fabsl(long double)'
/usr/x86_64-mingw32/include/math.h:181: error: 'long double fabsl(long double)'
previously defined here
../../../../libstdc++-v3/src/math_stubs_long_double.cc: In function 'long
double modfl(long double, long double*)':
../../../../libstdc++-v3/src/math_stubs_long_double.cc:172: error: redefinition
of 'long double modfl(long double, long double*)'
/usr/x86_64-mingw32/include/math.h:187: error: 'long double modfl(long double,
long double*)' previously defined here
make[4]: *** [math_stubs_long_double.lo] Error 1
--
Summary: math_stubs_long_double.cc: error: redefinition of 'long
double ...'
vs. /usr/x86_64-mingw32/include/math.h
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pluto at agmk dot net
GCC target triplet: x86_64-mingw32
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38919