Fails to apply when creating cross-compiler for armv5te-softfloat-linux-gnu
Created attachment 157473 [details] Suggested fix Should work.
i'm not going to update the softfloat patch until someone actually verifies the resulting toolchain works ... and i dont just mean "it compiled"
what kind of tests should I perform? Will compilation and booting of kernel be enough?
building of a kernel would have no bearing at all. floating point is never used in the kernel. you would have to build up a userland with the toolchain and boot it and have it work.
In the meantine, could you please make it dependent on ARM only? I'm constantly tripping over this while building MIPS softfloat toolchains
I used this patch to build armv-based systems (OpenMoko), and it's working nicely.
I used a toolchain with this bug for building a whole system (kernel+glibc+X+enlightenment) using a armv4tl toolchain including this patch and can confirm it works like a charm. Please apply!
(In reply to comment #7) s/with this bug/with this patch/
*** Bug 246295 has been marked as a duplicate of this bug. ***
this works for 4.3.2 and i'm been able to build full rootfs for armv4t and iwmmxt cpus
any update on this one? It seems quite a few of use are using this patch without any problems. Anyway you should remove the current patch or change it to use this one. Please do not leave known broken packages in portage tree.
The gentoo-arm-pandora project is using this patch. We'll report to you guys in a few months if our tests are successful on the real hardware, if that's what you need to continue. (We're currently waiting for the hardware to ship.)
(In reply to comment #12) > The gentoo-arm-pandora project is using this patch. We'll report to you guys in > a few months if our tests are successful on the real hardware, if that's what > you need to continue. (We're currently waiting for the hardware to ship.) > 1) Pandora is based on ARM® Cortex™-A8 (1) - which is ARMv7 (2) 2) as ARMv7 it's got hardware floating point unit (3) So I don't know what "real" hardware are you talking about ... We are testing it on real hardware - CPU based on armv4 (1) http://openpandora.org/ (2) http://www.arm.com/products/CPUs/ARM_Cortex-A8.html (3) http://www.arm.com/products/CPUs/architecture.html
Sorry, didn't mean to offend. I haven't heard anyone say "software works fine on <devicename>" yet, so if that is needed, I'm willing to help out. That's all.
(In reply to comment #14) > Sorry, didn't mean to offend. I haven't heard anyone say "software works fine > on <devicename>" yet, so if that is needed, I'm willing to help out. That's > all. > Oh, I hope I didn't sound too harsh. I'm sorry if I did! Of course you didn't offend me. There are few people who are using this patch in on real hardware (comment 6, 7, 10). This patch is very similar to current softfloat patch (4.0.2).
I needed this patch to build for a beagle. cross-armv7a-softfloat-linux-gnueabi/binutils-2.18-r4 cross-armv7a-softfloat-linux-gnueabi/gcc-4.3.2 cross-armv7a-softfloat-linux-gnueabi/glibc-2.8_p20080602 cross-armv7a-softfloat-linux-gnueabi/linux-headers-2.6.27-r2 Working like a charm. Merged patch in gcc-4.3.2.. Thanks.