Port-arm archive

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

Re: NetBSD/earm and evbearmv7hf on Cubieboard 2



Hi,

From: Robert Swindells <rjs%fdy2.co.uk@localhost>, Date: Mon, 20 Jul 2015 11:14:33 +0100 (BST)

> 
> Ryo ONODERA wrote:
>>I will build Mozilla products on your image.
> 
> I got an error trying to build latest firefox on my Cubietruck using -current
> from July 11, sorry for not posting it earlier:
> 
> In file included from /u1/pkgsrc/www/firefox/work/build/gfx/skia/Unified_cpp_gfx
> _skia20.cpp:11:0:
> /u1/pkgsrc/www/firefox/work/mozilla-release/gfx/skia/trunk/src/opts/SkBitmapProc
> State_opts_arm.cpp: In function 'void SI8_opaque_D32_nofilter_DX_arm(const SkBit
> mapProcState&, const __uint32_t*, int, SkPMColor*)':
> /u1/pkgsrc/www/firefox/work/mozilla-release/gfx/skia/trunk/src/opts/SkBitmapProc
> State_opts_arm.cpp:189:1: error: fp cannot be used in asm here
>  } 
>  ^
> /u1/pkgsrc/www/firefox/work/mozilla-release/config/rules.mk:931: recipe for targ
> et 'Unified_cpp_gfx_skia20.o' failed
> gmake[3]: *** [Unified_cpp_gfx_skia20.o] Error 1
> gmake[3]: Leaving directory '/u1/pkgsrc/www/firefox/work/build/gfx/skia'
> /u1/pkgsrc/www/firefox/work/mozilla-release/config/recurse.mk:74: recipe for tar
> get 'gfx/skia/target' failed

My Cubieboard 2 builds libxml2 now.
It takes some hours to reach firefox-39.0 build.

If you have already gtk2 or other required packages,
could you apply this patch?

Thank you.

--- SkBitmapProcState_opts_arm.cpp.orig	2015-06-30 22:57:52.000000000 +0000
+++ SkBitmapProcState_opts_arm.cpp
@@ -181,7 +181,7 @@ void SI8_opaque_D32_nofilter_DX_arm(cons
             "4:                                       \n\t"   // exit
             : [xx] "+r" (xx), [count] "+r" (count), [colors] "+r" (colors)
             : [table] "r" (table), [srcAddr] "r" (srcAddr)
-            : "memory", "cc", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11"
+            : "memory", "cc", "r4", "r5", "r6", "r7", "r8", "r9", "r10"
         );
     }
 

--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index