Skip to contentSkip to conversation

FireFox on PowerPC

DISCUSSION Gary Thomas 4 participants 13 messages Mar 31, 2010 – Apr 7, 2010

lore
Share & tools
lore
#0 lore raw

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

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw
Quoted 9 lines · Gary Thomas

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

Quoted 7 lines

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

Signature · 4 lines
Martyn Welch (Principal Software Engineer)   |   Registered in England and
GE Intelligent Platforms                     |   Wales (3828642) at 100
T +44(0)127322748                            |   Barbirolli Square, Manchester,
E [email protected]                        |   M2 3AB  VAT:GB 927559189
#2 lore raw
Quoted 6 lines · Martyn Welch
Quoted 5 lines · Gary Thomas

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"

Quoted 7 lines
Quoted 4 lines

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

Quoted 9 lines
Quoted 7 lines

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

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#3 lore raw
In reply to Gary Thomas
Quoted 5 lines · Gary Thomas

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"

Quoted 8 lines

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.

Quoted 14 lines

Thanks for any help with this

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

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#4 lore raw
Quoted 9 lines · Khem Raj
Quoted 8 lines · Gary Thomas

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

Quoted 8 lines
Quoted 5 lines

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.

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
recipes/mozilla/files/powerpc/jsautocfg.h +2 -0
index 408a5e4..bc5da80 100644
@@ -51,4 +51,6 @@
 
 #define JS_HAVE_LONG_LONG
 
+#define HAVE_VA_LIST_AS_ARRAY
+
 #endif /* js_cpucfg___ */
#5 lore raw
Quoted 48 lines · Gary Thomas
Quoted 9 lines · Khem Raj
Quoted 8 lines · Gary Thomas

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

Quoted 8 lines
Quoted 5 lines

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

(quoted diff) +0 -8
-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

Quoted 2 lines

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?

Signature · 2 lines
Tom Rini <[email protected]>
Mentor Graphics Corporation
#6 lore raw
Quoted 49 lines · Tom Rini
Quoted 48 lines · Gary Thomas
Quoted 9 lines · Khem Raj
Quoted 8 lines · Gary Thomas

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

Quoted 8 lines
Quoted 5 lines

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

(quoted diff) +0 -8
-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

Quoted 7 lines
Quoted 2 lines

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.

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#7 lore raw
Quoted 6 lines · Gary Thomas

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?

Signature · 2 lines
Tom Rini <[email protected]>
Mentor Graphics Corporation
#8 lore raw
Quoted 7 lines · Tom Rini
Quoted 5 lines · Gary Thomas

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.

Quoted 6 lines
Quoted 1 line

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.

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#9 lore raw
Quoted 8 lines · Gary Thomas
Quoted 7 lines · Tom Rini
Quoted 5 lines · Gary Thomas

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.

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

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...

Signature · 2 lines
Tom Rini <[email protected]>
Mentor Graphics Corporation
#10 lore raw
Quoted 16 lines · Tom Rini
Quoted 15 lines · Gary Thomas
Quoted 13 lines · Tom Rini
Quoted 6 lines · Gary Thomas

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?

Quoted 5 lines
Quoted 1 line

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

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#11 lore raw
Quoted 21 lines · Gary Thomas
Quoted 20 lines · Tom Rini
Quoted 19 lines · Gary Thomas
Quoted 17 lines · Tom Rini
Quoted 10 lines · Gary Thomas

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?

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

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

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

From eedcc958ad89e17d4737f3948919b549335fd20e Mon Sep 17 00:00:00 2001
From: Gary Thomas <[email protected]>
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
recipes/mozilla/files/powerpc/jsautocfg.h +2 -0
index 408a5e4..bc5da80 100644
@@ -51,4 +51,6 @@
 
 #define JS_HAVE_LONG_LONG
 
+#define HAVE_VA_LIST_AS_ARRAY
+
 #endif /* js_cpucfg___ */
recipes/mozilla/firefox-3.6.2/powerpc_va_list.patch new file +14 -0
new file mode 100644
index 0000000..2ae56e4
@@ -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)
recipes/mozilla/firefox_3.6.2.bb +1 -0
index 1c975e0..604ab82 100644
@@ -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"
Signature · 1 line
1.6.2.5
#12 lore raw
Quoted 31 lines · Gary Thomas
Quoted 21 lines · Gary Thomas
Quoted 20 lines · Tom Rini
Quoted 19 lines · Gary Thomas
Quoted 17 lines · Tom Rini
Quoted 10 lines · Gary Thomas

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?

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

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

Quoted 6 lines

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.

Quoted 3 lines

Thanks

Signature · 2 lines
Tom Rini <[email protected]>
Mentor Graphics Corporation