This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: powerpc and --without-fp build failure: fenv_libc.h not found
- From: Daniel Jacobowitz <drow at false dot org>
- To: Martin Michlmayr <tbm at cyrius dot com>
- Cc: Steven Munroe <munroesj at us dot ibm dot com>, libc-ports at sources dot redhat dot com
- Date: Wed, 10 Oct 2007 13:39:49 -0400
- Subject: Re: powerpc and --without-fp build failure: fenv_libc.h not found
- References: <20071010173201.GA19011@deprecation.cyrius.com>
On Wed, Oct 10, 2007 at 07:32:01PM +0200, Martin Michlmayr wrote:
> Has anyone tried to build glibc on powerpc with --without-fp recently?
> Using glibc 2.6.1, I'm seeing a build failure in ldbl-128ibm.
> s_rintl.c tries to include fenv_libc.h but that's in
> sysdeps/powerpc/fpu/fenv_libc.h and obviously won't get included on a
> --without-fp build.
>
> I worked around the problem by creating a sysdeps/powerpc/fenv_libc.h
> with only #include <fenv.h> in it, but I'm wondering whether there's a
> real fix for this.
I think you're missing --enable-add-ons=ports. You should be getting
sysdeps/powerpc/nofpu/fenv_libc.h.
--
Daniel Jacobowitz
CodeSourcery