Re: glibc issues on powerpcspe
On 03/11/2016 08:42 AM, John Paul Adrian Glaubitz wrote:
> Now, since gcc-5 relies on the FPU emulation code to be present in
> glibc, I tried to force-enable e500 support in glibc:
>
> case "$machine" in
> powerpc)
> # $CC $CFLAGS $CPPFLAGS -E -dM -xc /dev/null > conftest.i
> # if grep -q __NO_FPRS__ conftest.i && ! grep -q _SOFT_FLOAT
> conftest.i; then
> base_machine=powerpc machine=powerpc/powerpc32/e500
> # fi
> rm -f conftest.i
> ;;
> esac
And surprisingly, that doesn't help to enforce soft-fp emulation
to be enabled in glibc. During build, I can change into the build
directory and running objdump -t on the libc.so file will actually
list on of the required symbols (__unorddf2).
However, in the final glibc package, the symbol is missing again.
There must be something I am overlooking which will enable soft-fp
support in glibc.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@debian.org
`. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply to: