All of lore.kernel.org
 help / color / mirror / Atom feed
* FireFox on PowerPC
@ 2010-03-31 13:59 Gary Thomas
  2010-03-31 14:58 ` Martyn Welch
  2010-03-31 17:06 ` Khem Raj
  0 siblings, 2 replies; 13+ messages in thread
From: Gary Thomas @ 2010-03-31 13:59 UTC (permalink / raw)
  To: openembedded-devel

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"

Thanks for any help with this

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: FireFox on PowerPC
  2010-03-31 13:59 FireFox on PowerPC Gary Thomas
@ 2010-03-31 14:58 ` Martyn Welch
  2010-03-31 14:59   ` Gary Thomas
  2010-03-31 17:06 ` Khem Raj
  1 sibling, 1 reply; 13+ messages in thread
From: Martyn Welch @ 2010-03-31 14:58 UTC (permalink / raw)
  To: openembedded-devel

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?
This any help?:

http://www.ppcnux.com/?q=firefox-360-community-build-for-linux-powerpc
>
> 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"
>
> Thanks for any help with this
>


-- 
Martyn Welch (Principal Software Engineer)   |   Registered in England and
GE Intelligent Platforms                     |   Wales (3828642) at 100
T +44(0)127322748                            |   Barbirolli Square, Manchester,
E martyn.welch@ge.com                        |   M2 3AB  VAT:GB 927559189




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: FireFox on PowerPC
  2010-03-31 14:58 ` Martyn Welch
@ 2010-03-31 14:59   ` Gary Thomas
  0 siblings, 0 replies; 13+ messages in thread
From: Gary Thomas @ 2010-03-31 14:59 UTC (permalink / raw)
  To: openembedded-devel

On 03/31/2010 08:58 AM, Martyn Welch wrote:
> 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?
> This any help?:
>
> http://www.ppcnux.com/?q=firefox-360-community-build-for-linux-powerpc

Not much help as this is not OpenEmbedded related.  I want to build
FireFox using OE and currently it's broken :-(

Thanks

>>
>> 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"
>>
>> Thanks for any help with this
>>
>
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: FireFox on PowerPC
  2010-03-31 13:59 FireFox on PowerPC Gary Thomas
  2010-03-31 14:58 ` Martyn Welch
@ 2010-03-31 17:06 ` Khem Raj
  2010-03-31 17:13   ` Gary Thomas
  1 sibling, 1 reply; 13+ messages in thread
From: Khem Raj @ 2010-03-31 17:06 UTC (permalink / raw)
  To: openembedded-devel

On Wed, Mar 31, 2010 at 6:59 AM, Gary Thomas <gary@mlbassoc.com> 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.

>
> Thanks for any help with this
>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: FireFox on PowerPC
  2010-03-31 17:06 ` Khem Raj
@ 2010-03-31 17:13   ` Gary Thomas
  2010-03-31 17:36     ` Tom Rini
  0 siblings, 1 reply; 13+ messages in thread
From: Gary Thomas @ 2010-03-31 17:13 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 3677 bytes --]

On 03/31/2010 11:06 AM, Khem Raj wrote:
> On Wed, Mar 31, 2010 at 6:59 AM, Gary Thomas<gary@mlbassoc.com>  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
------------------------------------------------------------

[-- Attachment #2: ppc-js.patch --]
[-- Type: text/plain, Size: 345 bytes --]

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___ */

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* Re: FireFox on PowerPC
  2010-03-31 17:13   ` Gary Thomas
@ 2010-03-31 17:36     ` Tom Rini
  2010-04-03 15:28       ` Gary Thomas
  0 siblings, 1 reply; 13+ messages in thread
From: Tom Rini @ 2010-03-31 17:36 UTC (permalink / raw)
  To: openembedded-devel

On Wed, 2010-03-31 at 11:13 -0600, Gary Thomas wrote:
> On 03/31/2010 11:06 AM, Khem Raj wrote:
> > On Wed, Mar 31, 2010 at 6:59 AM, Gary Thomas<gary@mlbassoc.com>  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.

Oh man that takes me (and I bet you too) back... Sounds like mozilla
needs some patching again.  Maybe the ppcnux folks have one somewhere
already tho?

-- 
Tom Rini <tom_rini@mentor.com>
Mentor Graphics Corporation



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: FireFox on PowerPC
  2010-03-31 17:36     ` Tom Rini
@ 2010-04-03 15:28       ` Gary Thomas
  2010-04-03 16:40         ` Tom Rini
  0 siblings, 1 reply; 13+ messages in thread
From: Gary Thomas @ 2010-04-03 15:28 UTC (permalink / raw)
  To: openembedded-devel

On 03/31/2010 11:36 AM, Tom Rini wrote:
> On Wed, 2010-03-31 at 11:13 -0600, Gary Thomas wrote:
>> On 03/31/2010 11:06 AM, Khem Raj wrote:
>>> On Wed, Mar 31, 2010 at 6:59 AM, Gary Thomas<gary@mlbassoc.com>   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.
>
> Oh man that takes me (and I bet you too) back... Sounds like mozilla
> needs some patching again.  Maybe the ppcnux folks have one somewhere
> already tho?
>

I didn't find anything there.

That said, this seems to be a [Make] parallelism problem, not clear why/how.
If I just rerun 'bitbake firefox' which restarts the compile step, it will
run to completion.  I do normally use -j4, but disabling this did not seem
to make any difference.

Note: the previous version I built (3.5.2) did not exhibit this behaviour.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: FireFox on PowerPC
  2010-04-03 15:28       ` Gary Thomas
@ 2010-04-03 16:40         ` Tom Rini
  2010-04-03 17:22           ` Gary Thomas
  0 siblings, 1 reply; 13+ messages in thread
From: Tom Rini @ 2010-04-03 16:40 UTC (permalink / raw)
  To: Gary Thomas; +Cc: openembedded-devel

On Sat, 2010-04-03 at 09:28 -0600, Gary Thomas wrote:

> That said, this seems to be a [Make] parallelism problem, not clear why/how.
> If I just rerun 'bitbake firefox' which restarts the compile step, it will
> run to completion.  I do normally use -j4, but disabling this did not seem
> to make any difference.
> 
> Note: the previous version I built (3.5.2) did not exhibit this behaviour.

Well that's depressing since we just added the best we can tell correct
magic to build firefox with make -jN.  If you put PARALLEL_MAKE = "" in
the .bb, does it complete this time?

-- 
Tom Rini <tom_rini@mentor.com>
Mentor Graphics Corporation



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: FireFox on PowerPC
  2010-04-03 16:40         ` Tom Rini
@ 2010-04-03 17:22           ` Gary Thomas
  2010-04-03 23:11             ` Tom Rini
  0 siblings, 1 reply; 13+ messages in thread
From: Gary Thomas @ 2010-04-03 17:22 UTC (permalink / raw)
  To: Tom Rini; +Cc: openembedded-devel

On 04/03/2010 10:40 AM, Tom Rini wrote:
> On Sat, 2010-04-03 at 09:28 -0600, Gary Thomas wrote:
>
>> That said, this seems to be a [Make] parallelism problem, not clear why/how.
>> If I just rerun 'bitbake firefox' which restarts the compile step, it will
>> run to completion.  I do normally use -j4, but disabling this did not seem
>> to make any difference.
>>
>> Note: the previous version I built (3.5.2) did not exhibit this behaviour.
>
> Well that's depressing since we just added the best we can tell correct
> magic to build firefox with make -jN.  If you put PARALLEL_MAKE = "" in
> the .bb, does it complete this time?
>

No change, I'm afraid.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: FireFox on PowerPC
  2010-04-03 17:22           ` Gary Thomas
@ 2010-04-03 23:11             ` Tom Rini
  2010-04-04  1:44               ` Gary Thomas
  0 siblings, 1 reply; 13+ messages in thread
From: Tom Rini @ 2010-04-03 23:11 UTC (permalink / raw)
  To: Gary Thomas; +Cc: openembedded-devel

On Sat, 2010-04-03 at 11:22 -0600, Gary Thomas wrote:
> On 04/03/2010 10:40 AM, Tom Rini wrote:
> > On Sat, 2010-04-03 at 09:28 -0600, Gary Thomas wrote:
> >
> >> That said, this seems to be a [Make] parallelism problem, not clear why/how.
> >> If I just rerun 'bitbake firefox' which restarts the compile step, it will
> >> run to completion.  I do normally use -j4, but disabling this did not seem
> >> to make any difference.
> >>
> >> Note: the previous version I built (3.5.2) did not exhibit this behaviour.
> >
> > Well that's depressing since we just added the best we can tell correct
> > magic to build firefox with make -jN.  If you put PARALLEL_MAKE = "" in
> > the .bb, does it complete this time?
> >
> 
> No change, I'm afraid.

Interesting.  From log.do_compile, was make -jN taken out?  I kinda fear
not...

-- 
Tom Rini <tom_rini@mentor.com>
Mentor Graphics Corporation



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: FireFox on PowerPC
  2010-04-03 23:11             ` Tom Rini
@ 2010-04-04  1:44               ` Gary Thomas
  2010-04-06 13:04                 ` Gary Thomas
  0 siblings, 1 reply; 13+ messages in thread
From: Gary Thomas @ 2010-04-04  1:44 UTC (permalink / raw)
  To: Tom Rini; +Cc: openembedded-devel

On 04/03/2010 05:11 PM, Tom Rini wrote:
> On Sat, 2010-04-03 at 11:22 -0600, Gary Thomas wrote:
>> On 04/03/2010 10:40 AM, Tom Rini wrote:
>>> On Sat, 2010-04-03 at 09:28 -0600, Gary Thomas wrote:
>>>
>>>> That said, this seems to be a [Make] parallelism problem, not clear why/how.
>>>> If I just rerun 'bitbake firefox' which restarts the compile step, it will
>>>> run to completion.  I do normally use -j4, but disabling this did not seem
>>>> to make any difference.
>>>>
>>>> Note: the previous version I built (3.5.2) did not exhibit this behaviour.
>>>
>>> Well that's depressing since we just added the best we can tell correct
>>> magic to build firefox with make -jN.  If you put PARALLEL_MAKE = "" in
>>> the .bb, does it complete this time?
>>>
>>
>> No change, I'm afraid.
>
> Interesting.  From log.do_compile, was make -jN taken out?  I kinda fear
> not...
>

I see only -j1 in the logs

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: FireFox on PowerPC
  2010-04-04  1:44               ` Gary Thomas
@ 2010-04-06 13:04                 ` Gary Thomas
  2010-04-07  2:52                   ` Tom Rini
  0 siblings, 1 reply; 13+ messages in thread
From: Gary Thomas @ 2010-04-06 13:04 UTC (permalink / raw)
  To: Tom Rini; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1614 bytes --]

On 04/03/2010 07:44 PM, Gary Thomas wrote:
> On 04/03/2010 05:11 PM, Tom Rini wrote:
>> On Sat, 2010-04-03 at 11:22 -0600, Gary Thomas wrote:
>>> On 04/03/2010 10:40 AM, Tom Rini wrote:
>>>> On Sat, 2010-04-03 at 09:28 -0600, Gary Thomas wrote:
>>>>
>>>>> That said, this seems to be a [Make] parallelism problem, not clear
>>>>> why/how.
>>>>> If I just rerun 'bitbake firefox' which restarts the compile step,
>>>>> it will
>>>>> run to completion. I do normally use -j4, but disabling this did
>>>>> not seem
>>>>> to make any difference.
>>>>>
>>>>> Note: the previous version I built (3.5.2) did not exhibit this
>>>>> behaviour.
>>>>
>>>> Well that's depressing since we just added the best we can tell correct
>>>> magic to build firefox with make -jN. If you put PARALLEL_MAKE = "" in
>>>> the .bb, does it complete this time?
>>>>
>>>
>>> No change, I'm afraid.
>>
>> Interesting. From log.do_compile, was make -jN taken out? I kinda fear
>> not...
>>
>
> I see only -j1 in the logs
>

I'm not getting anywhere with this.  True, it builds, but only
after a second attempt (the first always fails as reported).

Perhaps you'd like to try?  Just build firefox (3.6.2 is what
I'm using) for a PowerPC target (I use MACHINE=efika, DISTRO="angstrom-2008.1")
You'll need the attached patches to work around some of the va_list bugs.

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

[-- Attachment #2: 0001-Fixes-to-build-on-PowerPC.patch --]
[-- Type: text/plain, Size: 2084 bytes --]

From eedcc958ad89e17d4737f3948919b549335fd20e Mon Sep 17 00:00:00 2001
From: Gary Thomas <gary@mlbassoc.com>
Date: Tue, 6 Apr 2010 07:00:57 -0600
Subject: [PATCH] Fixes to build on PowerPC

---
 recipes/mozilla/files/powerpc/jsautocfg.h          |    2 ++
 .../mozilla/firefox-3.6.2/powerpc_va_list.patch    |   14 ++++++++++++++
 recipes/mozilla/firefox_3.6.2.bb                   |    1 +
 3 files changed, 17 insertions(+), 0 deletions(-)
 create mode 100644 recipes/mozilla/firefox-3.6.2/powerpc_va_list.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___ */
diff --git a/recipes/mozilla/firefox-3.6.2/powerpc_va_list.patch b/recipes/mozilla/firefox-3.6.2/powerpc_va_list.patch
new file mode 100644
index 0000000..2ae56e4
--- /dev/null
+++ b/recipes/mozilla/firefox-3.6.2/powerpc_va_list.patch
@@ -0,0 +1,14 @@
+--- mozilla-1.9.1.ORIG/xpcom/glue/nsTextFormatter.cpp	2009-07-30 09:30:35.000000000 -0600
++++ mozilla-1.9.1/xpcom/glue/nsTextFormatter.cpp	2010-03-24 15:48:24.000000000 -0600
+@@ -70,7 +70,10 @@
+ ** Note: on some platforms va_list is defined as an array,
+ ** and requires array notation.
+ */
+-
++#if defined(__powerpc__)
++#define HAVE_VA_LIST_AS_ARRAY
++#endif
++
+ #ifdef HAVE_VA_COPY
+ #define VARARGS_ASSIGN(foo, bar)        VA_COPY(foo,bar)
+ #elif defined(HAVE_VA_LIST_AS_ARRAY)
diff --git a/recipes/mozilla/firefox_3.6.2.bb b/recipes/mozilla/firefox_3.6.2.bb
index 1c975e0..604ab82 100644
--- a/recipes/mozilla/firefox_3.6.2.bb
+++ b/recipes/mozilla/firefox_3.6.2.bb
@@ -14,6 +14,7 @@ SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/f
 	file://firefox-plugin.pc \
 	file://firefox-xpcom.pc \
 	file://nspr.pc \
+        file://powerpc_va_list.patch;patch=1 \
 "
 
 SRC_URI[archive.md5sum] = "a1972a2216ac7139b92b7378a328ec93"
-- 
1.6.2.5


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* Re: FireFox on PowerPC
  2010-04-06 13:04                 ` Gary Thomas
@ 2010-04-07  2:52                   ` Tom Rini
  0 siblings, 0 replies; 13+ messages in thread
From: Tom Rini @ 2010-04-07  2:52 UTC (permalink / raw)
  To: Gary Thomas; +Cc: openembedded-devel

On Tue, 2010-04-06 at 07:04 -0600, Gary Thomas wrote:
> On 04/03/2010 07:44 PM, Gary Thomas wrote:
> > On 04/03/2010 05:11 PM, Tom Rini wrote:
> >> On Sat, 2010-04-03 at 11:22 -0600, Gary Thomas wrote:
> >>> On 04/03/2010 10:40 AM, Tom Rini wrote:
> >>>> On Sat, 2010-04-03 at 09:28 -0600, Gary Thomas wrote:
> >>>>
> >>>>> That said, this seems to be a [Make] parallelism problem, not clear
> >>>>> why/how.
> >>>>> If I just rerun 'bitbake firefox' which restarts the compile step,
> >>>>> it will
> >>>>> run to completion. I do normally use -j4, but disabling this did
> >>>>> not seem
> >>>>> to make any difference.
> >>>>>
> >>>>> Note: the previous version I built (3.5.2) did not exhibit this
> >>>>> behaviour.
> >>>>
> >>>> Well that's depressing since we just added the best we can tell correct
> >>>> magic to build firefox with make -jN. If you put PARALLEL_MAKE = "" in
> >>>> the .bb, does it complete this time?
> >>>>
> >>>
> >>> No change, I'm afraid.
> >>
> >> Interesting. From log.do_compile, was make -jN taken out? I kinda fear
> >> not...
> >>
> >
> > I see only -j1 in the logs
> >
> 
> I'm not getting anywhere with this.  True, it builds, but only
> after a second attempt (the first always fails as reported).
> 
> Perhaps you'd like to try?  Just build firefox (3.6.2 is what
> I'm using) for a PowerPC target (I use MACHINE=efika, DISTRO="angstrom-2008.1")
> You'll need the attached patches to work around some of the va_list bugs.

So, funny thing.  Locally on an older snapshot of OE, 3.6.0 built, for
e500v2 machines, unpatched.  I'll try more combinations (doing
MACHINE=calamari on current now) as time and CPU cycles permit.

> 
> Thanks
> 


-- 
Tom Rini <tom_rini@mentor.com>
Mentor Graphics Corporation



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2010-04-07  2:57 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-31 13:59 FireFox on PowerPC Gary Thomas
2010-03-31 14:58 ` Martyn Welch
2010-03-31 14:59   ` Gary Thomas
2010-03-31 17:06 ` Khem Raj
2010-03-31 17:13   ` Gary Thomas
2010-03-31 17:36     ` Tom Rini
2010-04-03 15:28       ` Gary Thomas
2010-04-03 16:40         ` Tom Rini
2010-04-03 17:22           ` Gary Thomas
2010-04-03 23:11             ` Tom Rini
2010-04-04  1:44               ` Gary Thomas
2010-04-06 13:04                 ` Gary Thomas
2010-04-07  2:52                   ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.