[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#819069: dietlibc: FTBFS on powerpcspe due to missing FPU emulation in library

[ replying off-bug but on-list, please CC me since I'm not subscribed ]

On 03/23/2016 02:21 PM, John Paul Adrian Glaubitz wrote:
> "__unorddf2" is a function in the FPU emulation library present in glibc. In
> the past, the FPU emulation code was present in libgcc which is why dietlibc
> used to build find on powerpcspe. However, the FPU emulation code in gcc
> has been deprecated in favour of the code present in glibc 2.19 or newer [1]
> and any recent version of gcc built on a system with glibc 2.19 or newer
> will automatically deactivate its built-in FPU emulation code.
> I don't know if any FPU emulation code is actually present in dietlibc, but
> if there is, it should be enabled similar to what was done in glibc [2].

dietlibc has traditionally not contained any FPU emulation, because on
most platforms that was always done in by the compiler in libgcc. If
that has changed, i.e. this stuff is moved to glibc, then obviously
this should be ported over to dietlibc. I'd be willing to do that, but
I don't have access to PowerPCSPE hardware. Of course, I could play
the game of "let's try something and upload to experimental and see
what the buildds do", but my previous upload of dietlibc to
experimental (unrelated to this bug) isn't even built yet on ppcspe,
so I'd rather not do that. Is there any way to get access to some
hardware to test this? I asked around in IRC a bit and was told that
ppcspe isn't bootstrapped yet, so my guess is that there's no official
porterbox access, right? Is there any hardware you have where I could
get access to? [1]


[1] Of course, if you know how to properly set up a qemu-based chroot
    on amd64, that'd also be sufficient for me. But I did try to
    debootstrap with the http://antcom.de/powerpcspe/ repository
    according to <https://wiki.debian.org/PowerPCSPEPort>, but
    qemu-ppc-static doesn't like it and I get "illegal instruction",
    regardless of what binary I try to execute. qemu-ppc-static does
    work for the 'powerpc' architecture in that fashion. (I'm using
    QEMU 2.5 btw.)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: