Summary: | dev-lang/v8 fails to build on arm hardfloat which has no vfpv3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Chí-Thanh Christopher Nguyễn <chithanh> |
Component: | [OLD] Library | Assignee: | Chromium Project <chromium> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arm |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM | ||
OS: | Linux | ||
See Also: | http://code.google.com/p/v8/issues/detail?id=2393 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
v8-3.13-hardfp-vfp.patch v8-3.16.14.2-armv7-vfp3.patch |
Description
Chí-Thanh Christopher Nguyễn
2012-11-04 23:00:59 UTC
Created attachment 328378 [details, diff]
v8-3.13-hardfp-vfp.patch
possible fix, testing that now
(In reply to comment #1) > Created attachment 328378 [details, diff] [details, diff] > v8-3.13-hardfp-vfp.patch > > possible fix, testing that now Thank you for filing bug about this! Do you want to submit your patch/fix upstream? If so let me know if I can help you with that. Generally I'm not going to apply any patches that have not been accepted upstream, but I'm also interesting in actually getting this fixed upstream. By the way, have you tried using vfp3 argument for the Makefile? I see flags like v8_can_use_vfp3_instructions and v8_can_use_vfp2_instructions, so maybe the infrastructure is already in place. Oh, and so it seems you've found hardfloat does not imply vfp3, right? That's definitely a v8 bug. The patch makes the build complete successfully. I reported issue 2393 upstream. (In reply to comment #3) > The patch makes the build complete successfully. > I reported issue 2393 upstream. Thank you. Upstream is waiting for you to sign the CLA. I signed the CLA, but no reaction from upstream so far. (In reply to comment #5) > I signed the CLA, but no reaction from upstream so far. Pinged upstream: https://groups.google.com/d/topic/v8-users/acVnWcO8utA/discussion Thank you for reporting this, now fixed in CVS. I encountered the same problem (Illegal instruction) while building dev-lang/v8-3.16.14.2 on the Raspberry Pi until I added "vfp3=off" to the emake command line. Probably the ebuild should have IUSE+="+vfp3" and the emake like should have $(use vfp3 || echo "vfp3=off"). (In reply to comment #8) Please report a new bug for any new issues that arose since the original bug was fixed. Created attachment 342512 [details, diff]
v8-3.16.14.2-armv7-vfp3.patch
Note, you also have to disable ARMv7 instructions when building on the Raspberry Pi. These changes to the ebuild did the trick for me.
(In reply to comment #9) > (In reply to comment #8) > Please report a new bug for any new issues that arose since the original bug > was fixed. I'll attach this patch to a new bug. (In reply to comment #11) > I'll attach this patch to a new bug. Bug 462200. |