The problem seems to be that libstdc++.a(stubs.o) contains a
definition of powf(), but it shouldn't, because the mingw32-runtime
math.h already defines powf() as an inline function. libstdc++'s
configure should spot this and define HAVE_POWF but it doesn't.

I think the fix might be to add GLIBCXX_CHECK_MATH_SUPPORT to the
mingw32 part of libstdc++'s crossconfig.m4, where it already has
GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT.

Something similar has been done in the recent fix for this bug:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38919

Jay.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to