Summary: | www-client/chromium-14.0.803.0 build fail for arm platform | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Yixun Lan <dlan> |
Component: | New packages | Assignee: | Chromium Project <chromium> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | arm |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
full build log of chromium
this patch enable eabi_hardfloat |
Description
Yixun Lan
![]() ![]() <Openfree`> anyone has expience build chromium on gentoo-arm, I'm using OMAP4 pandaboard <Openfree`> while using chromium-14.0.803.0, first encounter unrecognize neon instruction problem, because I'm using -mfp=vfpv3-d16 <Openfree`> then I swith to -mfpu=neon, then have problem with -DUSE_EABI_HARDFLOAT, because of enable -mfloat-abi=hard <Openfree`> I'm trying to add this, not sure it will work, http://paste.pocoo.org/show/432028/ <Openfree`> oops, better file a bug report <Openfree`> also have problem with firefox :-( I've try to add this, but with no luck, expect result should see -DUSE_EABI_HARDFLOAT when come to build v8 but I look at log, haven't seen yet panda chromium # diff -Nur /usr/portage/www-client/chromium/chromium-14.0.803.0.ebuild chromium-14.0.803.0.ebuild --- /usr/portage/www-client/chromium/chromium-14.0.803.0.ebuild 2011-06-28 21:27:06.000000000 +0800 +++ chromium-14.0.803.0.ebuild 2011-07-07 15:54:08.000000000 +0800 @@ -220,6 +220,7 @@ append-flags -fno-tree-sink myconf+=" -Dtarget_arch=arm -Ddisable_nacl=1 Dlinux_use_tcmalloc=0" + myconf+=" -Dv8_can_use_vfp_instructions=1 -Dv8_use_arm_eabi_hardfloat=1" else die "Failed to determine target arch, got '$myarch'." fi Created attachment 279313 [details]
full build log of chromium
decompressed log takes 4.8MB, so I compress it
Created attachment 279329 [details]
this patch enable eabi_hardfloat
after apply this patch, you can see compile v8 will enable '-DCAN_USE_VFP_INSTRUCTIONS' '-DUSE_EABI_HARDFLOAT=1'
that patch works, now I compile successfully. also should remove line "doins out/Release/libppGoogleNaClPluginChrome.so || die" there is no this file after compiling Sorry, I think that ebuild isn't even keyworded ~arm, and I think hardfload is not (yet) supported by upstream. |