From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from hermes.mlbassoc.com ([76.76.67.137] helo=mail.chez-thomas.org) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1Nx1Wq-0005fy-LL for openembedded-devel@lists.openembedded.org; Wed, 31 Mar 2010 19:16:57 +0200 Received: by mail.chez-thomas.org (Postfix, from userid 999) id 09C9516604EF; Wed, 31 Mar 2010 11:13:16 -0600 (MDT) Received: from hermes.chez-thomas.org (hermes_local [192.168.1.101]) by mail.chez-thomas.org (Postfix) with ESMTP id 0DD1E1660464; Wed, 31 Mar 2010 11:13:15 -0600 (MDT) Message-ID: <4BB382AA.3040901@mlbassoc.com> Date: Wed, 31 Mar 2010 11:13:14 -0600 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc11 Thunderbird/3.0.3 MIME-Version: 1.0 To: openembedded-devel@lists.openembedded.org References: <4BB35552.9070508@mlbassoc.com> In-Reply-To: X-SA-Exim-Connect-IP: 76.76.67.137 X-SA-Exim-Mail-From: gary@mlbassoc.com X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: Re: FireFox on PowerPC X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2010 17:17:44 -0000 X-Groupsio-MsgNum: 18303 Content-Type: multipart/mixed; boundary="------------020509030707020802000600" --------------020509030707020802000600 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 03/31/2010 11:06 AM, Khem Raj wrote: > On Wed, Mar 31, 2010 at 6:59 AM, Gary Thomas wrote: >> Has anyone had success building FireFox for a PowerPC >> target - I'm using the development branch (org.openembedded.dev) >> MACHINE=efika >> DISTRO = "angstrom-2008.1" >> >> I've tried to build a number of different FireFox packages, >> none with success. So far I've tried 2.0.0.3, 3.5.2& 3.6.2 >> >> Any pointers? >> >> Query: is there an easy way to build a particular package version? >> What I've done is just add a line like this to my local.conf: >> PREFERRED_VERSION_firefox="3.5.2" > > > what errors do you get. It depends on the version. For 3.6.2 (latest), I get this: ccache powerpc-angstrom-linux-g++ -mcpu=603e -mhard-float -L/local/Angstrom_BeagleBoard/tmp/staging/ppc603e-angstrom-linux/usr/lib -Wl,-rpath-link,/local/Angstrom_BeagleBoard/tmp/staging/ppc603e-angstrom-linux/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -o jsbool.o -c -fvisibility=hidden -DOSTYPE=\"Linux\" -DOSARCH=Linux -DEXPORT_JS_API -DJS_USE_SAFE_ARENA -I. -I. -I./../../dist/include -I./../../dist/include/nsprpub -I/local/Angstrom_BeagleBoard/tmp/work/ppc603e-angstrom-linux/firefox-3.6.2-r0/mozilla-1.9.2/dist/include/nspr -I. -fPIC -isystem/local/Angstrom_BeagleBoard/tmp/staging/ppc603e-angstrom-linux/usr/include -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Wno-long-long -pedantic -isystem/local/Angstrom_BeagleBoard/tmp/staging/ppc603e-angstrom-linux/usr/include -Os -fsigned-char -fno-strict-aliasing -fpermissive -fvisibility-inlines-hidden -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -g -fno-inline -O2 -isystem/local/Angstrom_BeagleBoard/tmp/staging/ppc603e-angstrom-linux/usr/include -DMOZILLA_CLIENT -include ./js-confdefs.h -Wp,-MD,.deps/jsbool.pp jsbool.cpp jsapi.cpp: In function 'JSBool JS_ConvertArgumentsVA(JSContext*, uintN, jsval*, const char*, __va_list_tag*)': jsapi.cpp:289: error: cannot convert '__va_list_tag**' to '__va_list_tag (*)[1]' for argument '5' to 'JSBool TryArgumentFormatter(JSContext*, const char**, JSBool, jsval**, __va_list_tag (*)[1])' jsapi.cpp: In function 'jsval* JS_PushArgumentsVA(JSContext*, void**, const char*, __va_list_tag*)': jsapi.cpp:398: error: cannot convert '__va_list_tag**' to '__va_list_tag (*)[1]' for argument '5' to 'JSBool TryArgumentFormatter(JSContext*, const char**, JSBool, jsval**, __va_list_tag (*)[1])' make[4]: *** [jsapi.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/local/Angstrom_BeagleBoard/tmp/work/ppc603e-angstrom-linux/firefox-3.6.2-r0/mozilla-1.9.2/js/src' make[3]: *** [libs_tier_js] Error 2 make[3]: Leaving directory `/local/Angstrom_BeagleBoard/tmp/work/ppc603e-angstrom-linux/firefox-3.6.2-r0/mozilla-1.9.2' make[2]: *** [tier_js] Error 2 make[2]: Leaving directory `/local/Angstrom_BeagleBoard/tmp/work/ppc603e-angstrom-linux/firefox-3.6.2-r0/mozilla-1.9.2' make[1]: *** [default] Error 2 make[1]: Leaving directory `/local/Angstrom_BeagleBoard/tmp/work/ppc603e-angstrom-linux/firefox-3.6.2-r0/mozilla-1.9.2' make: *** [build] Error 2 FATAL: oe_runmake failed Note: to even get this far, I had to apply the attached patch as the default setup falls apart with regard to va_list processing. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ --------------020509030707020802000600 Content-Type: text/plain; name="ppc-js.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ppc-js.patch" diff --git a/recipes/mozilla/files/powerpc/jsautocfg.h b/recipes/mozilla/files/powerpc/jsautocfg.h index 408a5e4..bc5da80 100644 --- a/recipes/mozilla/files/powerpc/jsautocfg.h +++ b/recipes/mozilla/files/powerpc/jsautocfg.h @@ -51,4 +51,6 @@ #define JS_HAVE_LONG_LONG +#define HAVE_VA_LIST_AS_ARRAY + #endif /* js_cpucfg___ */ --------------020509030707020802000600--