This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: powerpc and --without-fp build failure: fenv_libc.h not found


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]