[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patches] eglibc & powerpc-linuxspe-gcc (problem configuring/compiling eglibc svn trunk for mpc8540)
- To: "Joseph S. Myers" <joseph@xxxxxxxxxxxxxxxx>
- Subject: Re: [patches] eglibc & powerpc-linuxspe-gcc (problem configuring/compiling eglibc svn trunk for mpc8540)
- From: Philippe De Muyter <phdm@xxxxxxxxx>
- Date: Sun, 9 Dec 2007 15:13:54 +0100
On Sun, Dec 09, 2007 at 12:08:11PM +0100, I wrote:
> I will try by copying the ports/ directory into the libc/ directory, but that
> makes the use of the svn version more difficult.
I have done what I wrote above, thus copying eglibc/ports into eglibc/libc,
and configuring with --witch-cpu=e500 --enable-add-ons=ports, but
it 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
The "impossible constraint" is "f', which effectively is not allowed on a
spe-only target.
I have then tried to replace the sysdeps directory of libc by the sydeps
directory of ports, but it then fails with :
In file included from <command-line>:0:
./include/libc-symbols.h:824:26: error: symbol-hacks.h: No such file or directory
I have then tried to merge the sysdeps directory of ports into the sysdeps
directory of libc, and that seems better, but I now get :
tls.make.c:0: error: bad value (e500) for -mcpu= switch
I do not know why my powerpc-linuxspe compiler does not understand -mcpu=e500
Is that not yet supported to build eglibc with a powerpc-linuxspe compiler
or do I miss some obvious configuration setting ?
Best regards
Philippe