Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: problem w/ libm on vax
On Tue, Mar 18, 2008 at 06:29:32PM +0100, Matthias Drochner wrote:
>
> ks%ub.uni-mainz.de@localhost said:
> > /u/NetBSD/arch/vax/dest/lib/libm.so: undefined reference to `_hypotf'
> > [...]
>
> This is likely related to sone namespace protection I added
> a while ago, for functions which are used internally within
> libm.
> Could you please add something like
>
> #include "../src/namespace.h"
> and
> #ifdef __weak_alias
> __weak_alias(hypotf, _hypotf)
> #endif
>
> to the relevant functions in noieee_src?
Hm, this made things kind of worse - what helps is taking out
the functions in ../complex with the patch below.
No idea if this "solution" has something to do with "The Right
Thing To Do" ;-)
Kurt
>-1080: cvs diff -u Makefile
Index: Makefile
===================================================================
RCS file: /cvsroot/src/lib/libm/Makefile,v
retrieving revision 1.82
diff -u -r1.82 Makefile
--- Makefile 20 Feb 2008 09:55:38 -0000 1.82
+++ Makefile 19 Mar 2008 20:43:00 -0000
@@ -229,7 +229,9 @@
MLINKS+=round.3 roundf.3
MLINKS+=trunc.3 truncf.3
+.if (${MACHINE_ARCH} != "vax")
.include "${.CURDIR}/complex/Makefile.inc"
+.endif
.include "${.CURDIR}/gen/Makefile.inc"
.include <bsd.lib.mk>
.include <bsd.subdir.mk>
Home |
Main Index |
Thread Index |
Old Index