Re: Solved: libstdc++ problem with recent CURRENT

2002-05-30 Thread Martin Blapp
hi Peter, > To be sure we're all on the same page, simply uncommenting stubs.c solves > your problem with no libm changes, right? Exactly. Martin To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: Solved: libstdc++ problem with recent CURRENT

2002-05-30 Thread Peter Wemm
Martin Blapp wrote: > If we add this patch, we should also add the bits in libm: > > #ifndef HAVE_SQRTL > long double > sqrtl(long double x) > { > return sqrt((double) x); > } > #endif [..] > or we just compile stubs.c in and the gcc provided bits. > But I guess we would also not to link again

Re: Solved: libstdc++ problem with recent CURRENT

2002-05-30 Thread Martin Blapp
Seems I was wrong. Uhm. It's late here... Anyway, I've really running it now. If we add this patch, we should also add the bits in libm: #ifndef HAVE_SQRTL long double sqrtl(long double x) { return sqrt((double) x); } #endif #ifndef HAVE_COSL long double cosl(long double x) { return cos((

Solved: libstdc++ problem with recent CURRENT

2002-05-30 Thread Martin Blapp
http://people.freebsd.org/~mbr/patches/patch-libstd++::config.h This patch fixes the problem. --- gnu/lib/libstdc++/c++config.h.orig Wed May 29 02:45:51 2002 +++ gnu/lib/libstdc++/c++config.h Thu May 30 22:49:07 2002 @@ -420,7 +420,7 @@ /* #undef _GLIBCPP_HAVE_COSHL */ /* Define if yo