NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: port-powerpc/43042: frexp(), ldexp() and modf() are missing from powerpc64 libm/libc
latest about this: we should not add these to the "compat"
build, but they need to be solved some how. dennis says:
Yes, the other alternative is to add warts for
machines which don't have the problem to
the libm Makefile, e.g.
--- Makefile 2010-01-11 16:28:39.000000000 +0000
+++ /home/dennis/Makefile 2010-03-25 09:21:12.000000000 +0000
@@ -140,8 +140,13 @@
llroundf.c \
s_fmax.c s_fmaxf.c s_fmaxl.c s_fmin.c s_fminf.c s_fminl.c s_fdim.c
-# Also in libc.
-#COMMON_SRCS += s_frexp.c s_ldexp.c s_modf.c
+#
+# Add these for machines which don't have compatibility
+# functions in libc
+#
+.if (${MACHINE_ARCH} == "powerpc64")
+COMMON_SRCS += s_frexp.c s_ldexp.c s_modf.c
+.endif
.PATH: ${.CURDIR}/compat
COMMON_SRCS+= compat_cabs.c compat_cabsf.c
I'll try that and let you know.
Home |
Main Index |
Thread Index |
Old Index