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


Martin Michlmayr wrote:

* Daniel Jacobowitz <drow@false.org> [2007-10-10 13:39]:


I think you're missing --enable-add-ons=ports. You should be getting
sysdeps/powerpc/nofpu/fenv_libc.h.



Thanks, Dan. I hadn't realized that the nofpu parts weren't part of glibc proper.

Maybe an error could be printed when --without-fp is used without
--enable-add-ons=ports.

Anyway, now I'm seeing the following error:

make[3]: *** No rule to make target `/home/tbm/build/toolchain/glibc2/glibc-2.6.1/build-tree/ppc405-libc/math/fe_nomask.o', needed by `/home/tbm/build/toolchain/glibc2/glibc-2.6.1/build-tree/ppc405-libc/math/libm.a'. Stop.

which is stange because my previous attempt with a fake
sysdeps/powerpc/fenv_libc.h worked.  I don't know why it suddenly
wants to build math/fe_nomask.o (which of course only exists as
sysdeps/powerpc/fpu/fe_nomask.c)



You need the patch from: http://sources.redhat.com/ml/libc-ports/2007-06/msg00005.html

It is upstream but not back to 2.6.1 tar.


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