Comment #15 on issue 2140 by [email protected]: Fix hardfloat detection in Linux
http://code.google.com/p/v8/issues/detail?id=2140

I've come across this issue when compiling V8 that is part of Qt5. r11951 has not been applied there yet. When building with linaro gcc 4.7-2012.11 with -mfloat-abi=softfp -mcpu=cortex-a8 this actually results in a runtime error because d0 is used for the return value for static functions and float-abi=hard is mistakenly detected.

So I tried to apply the patch for r11951. This fixes the issue for gcc 4.7. However gcc 4.4 is the minimum requirement for Qt5. So I tested gcc 4.5 and as expected this results in a compile error pointing to this issue.

I could probably write a patch to resurrect the old helper as fallback for gcc 4.5, but from what I understand that is not acceptable. I don't know enough assembler for anything else.

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to