[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patches] problem configuring/compiling eglibc svn trunk for mpc8540
- To: "Joseph S. Myers" <joseph@xxxxxxxxxxxxxxxx>
- Subject: Re: [patches] problem configuring/compiling eglibc svn trunk for mpc8540
- From: Philippe De Muyter <phdm@xxxxxxxxx>
- Date: Sun, 9 Dec 2007 12:08:11 +0100
On Sat, Dec 08, 2007 at 02:03:02AM +0000, Joseph S. Myers wrote:
> On Fri, 7 Dec 2007, Philippe De Muyter wrote:
>
> > But when I try to configure/compile eglibc I do not succeed to convince
> > eglibc to select/compile the appropriate e500 version :
>
> You need to have the ports add-on in your source tree (inside the libc/
> directory not parallel to it unless your --enable-add-ons argument
> explicitly gives the path to the add-on) for E500 support.
Thanks. I have now used --enable-add-ons=$src/eglibc/ports, and configure
does not complain anymore about --with-cpu=e500, but compilation still fails
with
In file included from ../sysdeps/powerpc/powerpc32/fpu/s_isnan.c:1:
../sysdeps/powerpc/fpu/s_isnan.c:59: warning: conflicting types for built-in function `isnanf'
../sysdeps/powerpc/fpu/s_isnan.c: In function `__isnan':
../sysdeps/powerpc/fpu/s_isnan.c:45: error: impossible constraint in `asm'
../sysdeps/powerpc/fpu/s_isnan.c:48: error: impossible constraint in `asm'
make[2]: *** [/archives/meip/devtools/cross-build/ppc/obj/eglibc/math/s_isnan.o] Error 1
make[2]: Leaving directory `/archives/meip/devtools/cross-build/src/eglibc/libc/math'
make[1]: *** [math/subdir_lib] Error 2
make[1]: Leaving directory `/archives/meip/devtools/cross-build/src/eglibc/libc'
make: *** [all] Error 2
Does that mean that it is impossible to compile the eglibc svn tree as-is for
e500 ?
I will try by copying the ports/ directory into the libc/ directory, but that
makes the use of the svn version more difficult.
Philippe