This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
[PATCH] fix build problem in powerpc soft-fp
- From: Steven Munroe <munroesj at us dot ibm dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: libc-ports at sources dot redhat dot com, Khem Raj <kraj at mvista dot com>
- Date: Thu, 07 Jun 2007 14:48:23 -0500
- Subject: [PATCH] fix build problem in powerpc soft-fp
- Organization: IBM LTC
- References: <4660A070.2080608@us.ibm.com> <20070607140758.GA18482@caradoc.them.org>
Daniel Jacobowitz wrote:
> On Fri, Jun 01, 2007 at 05:40:48PM -0500, Steven Munroe wrote:
>
>> This patch fixes a build problem associated with a missing target caused
>> by the resent feholdexcpt() fixes.
>>
>
> What are these needed for? fe_mask is added to libm-support by
> sysdeps/powerpc/fpu/Makefile and a nofpu build shouldn't ever see
> that.
>
Ok, fe_nomask is not needed at all for soft-fp, so this patch removes
fe_nomask from the ./nofpu/Makefile.
2007-06-07 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/nofpu/Makefile: Remove fe_nomask from libm-support.
diff -urN dummy-libc/ports-cvstip-20070606/sysdeps/powerpc/nofpu/Makefile libc25/ports/sysdeps/powerpc/nofpu/Makefile
--- dummy-libc/ports-cvstip-20070606/sysdeps/powerpc/nofpu/Makefile 2006-11-22 09:13:11.000000000 -0600
+++ libc25/ports/sysdeps/powerpc/nofpu/Makefile 2007-06-07 09:53:05.708240976 -0500
@@ -6,7 +6,7 @@
endif
ifeq ($(subdir),math)
-libm-support += fenv_const fe_nomask
+libm-support += fenv_const
CPPFLAGS += -I../soft-fp/
# The follow CFLAGS are a work around for GCC Bugzilla Bug 29253
# "expand_abs wrong default code for floating point"