Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Recent build breaks on PowerPC iMac G4.

4 views
Skip to first unread message

Super Bisquit

unread,
Jan 16, 2011, 1:07:16 AM1/16/11
to support...@lists.mozilla.org, dev-apps...@lists.mozilla.org
I used the "impatient" build instructions.

c++ -o jsarray.o -c -fvisibility=hidden -DOSTYPE=\"Linux2.6\"
-DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES
-DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -Ictypes/libffi/include -I.
-I/tmp/mozilla-central/js/src -I. -I./../../dist/include
-I./../../dist/include/nsprpub
-I/tmp/mozilla-central/objdir-ff-release/dist/include/nspr
-I/tmp/mozilla-central/js/src -I/tmp/mozilla-central/js/src/assembler
-I/tmp/mozilla-central/js/src/yarr -fPIC -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 -Werror=return-type -pedantic -Wno-long-long
-fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3
-fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1
-DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include
./js-confdefs.h -MD -MF .deps/jsarray.pp
/tmp/mozilla-central/js/src/jsarray.cpp
jsatom.cpp
c++ -o jsatom.o -c -fvisibility=hidden -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux
-DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\"
-DDLL_SUFFIX=\".so\" -Ictypes/libffi/include -I.
-I/tmp/mozilla-central/js/src -I. -I./../../dist/include
-I./../../dist/include/nsprpub
-I/tmp/mozilla-central/objdir-ff-release/dist/include/nspr
-I/tmp/mozilla-central/js/src -I/tmp/mozilla-central/js/src/assembler
-I/tmp/mozilla-central/js/src/yarr -fPIC -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 -Werror=return-type -pedantic -Wno-long-long
-fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3
-fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1
-DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include
./js-confdefs.h -MD -MF .deps/jsatom.pp
/tmp/mozilla-central/js/src/jsatom.cpp
In file included from /tmp/mozilla-central/js/src/jsarray.cpp:110:
/tmp/mozilla-central/js/src/jsinterpinlines.h: In member function ‘bool
js::InvokeSessionGuard::invoke(JSContext*) const’:
/tmp/mozilla-central/js/src/jsinterpinlines.h:589: error: ‘struct JSScript’
has no member named ‘getJIT’
In file included from /tmp/mozilla-central/js/src/jsapi.cpp:94:
/tmp/mozilla-central/js/src/jsinterpinlines.h: In member function ‘bool
js::InvokeSessionGuard::invoke(JSContext*) const’:
/tmp/mozilla-central/js/src/jsinterpinlines.h:589: error: ‘struct JSScript’
has no member named ‘getJIT’
make[4]: *** [jsarray.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [jsapi.o] Error 1
make[4]: Leaving directory `/tmp/mozilla-central/objdir-ff-release/js/src'
make[3]: *** [libs_tier_js] Error 2
make[3]: Leaving directory `/tmp/mozilla-central/objdir-ff-release'
make[2]: *** [tier_js] Error 2
make[2]: Leaving directory `/tmp/mozilla-central/objdir-ff-release'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/tmp/mozilla-central/objdir-ff-release'
make: *** [build] Error 2
stompy:/tmp/mozilla-central#

OS is Debian Lenny.

Kevin Brosnan

unread,
Jan 16, 2011, 3:17:31 AM1/16/11
to Super Bisquit, support...@lists.mozilla.org, dev-apps...@lists.mozilla.org
There is no JIT code for the JavaScript engine for Linux PPC. Try
compiling with "ac_add_option --disable-jit" in your .mozconfig

Kevin

> _______________________________________________
> dev-apps-firefox mailing list
> dev-apps...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-apps-firefox
>

Philip Chee

unread,
Jan 16, 2011, 6:44:02 AM1/16/11
to
On 16/01/2011 16:17, Kevin Brosnan wrote:
> There is no JIT code for the JavaScript engine for Linux PPC. Try

He's asking about Macs not Linux.

> compiling with "ac_add_option --disable-jit" in your .mozconfig
>
> Kevin

Bug 624164 - [NPOTB] complete PowerPC nanojit for Firefox
Bug 621175 - Getting the PPC patches for Firefox 4.0 from the TenFourFox
team into mozilla-2.0

Super Bisquit would also need the set of private patches from the
TenFourFox builds for G4 iMacs.
<http://www.floodgap.com/software/tenfourfox/>

FWIW nanojit on G4 cuts SunSpider time in half,

Phil

>> /tmp/mozilla-central/js/src/jsinterpinlines.h: In member function �bool
>> js::InvokeSessionGuard::invoke(JSContext*) const�:
>> /tmp/mozilla-central/js/src/jsinterpinlines.h:589: error: �struct JSScript�
>> has no member named �getJIT�


>> In file included from /tmp/mozilla-central/js/src/jsapi.cpp:94:

>> /tmp/mozilla-central/js/src/jsinterpinlines.h: In member function �bool
>> js::InvokeSessionGuard::invoke(JSContext*) const�:
>> /tmp/mozilla-central/js/src/jsinterpinlines.h:589: error: �struct JSScript�
>> has no member named �getJIT�


>> make[4]: *** [jsarray.o] Error 1
>> make[4]: *** Waiting for unfinished jobs....
>> make[4]: *** [jsapi.o] Error 1
>> make[4]: Leaving directory `/tmp/mozilla-central/objdir-ff-release/js/src'
>> make[3]: *** [libs_tier_js] Error 2
>> make[3]: Leaving directory `/tmp/mozilla-central/objdir-ff-release'
>> make[2]: *** [tier_js] Error 2
>> make[2]: Leaving directory `/tmp/mozilla-central/objdir-ff-release'
>> make[1]: *** [default] Error 2
>> make[1]: Leaving directory `/tmp/mozilla-central/objdir-ff-release'
>> make: *** [build] Error 2
>> stompy:/tmp/mozilla-central#
>>
>> OS is Debian Lenny.
>> _______________________________________________
>> dev-apps-firefox mailing list
>> dev-apps...@lists.mozilla.org
>> https://lists.mozilla.org/listinfo/dev-apps-firefox
>>


--
-==-
Philip Chee <phi...@aleytys.pc.my>, <phili...@gmail.com>
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.

Super Bisquit

unread,
Jan 16, 2011, 12:13:01 PM1/16/11
to Philip Chee, dev-apps...@lists.mozilla.org
Forgive me for this being in the middle of the thread.
. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-ff-release
mk_add_options MOZ_MAKE_FLAGS="-j4"
ac_add_option --disable-jit

In file included from /tmp/mozilla-central/js/src/jsbool.cpp:57:


/tmp/mozilla-central/js/src/jsinterpinlines.h: In member function ‘bool
js::InvokeSessionGuard::invoke(JSContext*) const’:
/tmp/mozilla-central/js/src/jsinterpinlines.h:589: error: ‘struct JSScript’
has no member named ‘getJIT’

In file included from /tmp/mozilla-central/js/src/jscntxt.cpp:89:


/tmp/mozilla-central/js/src/jsinterpinlines.h: In member function ‘bool
js::InvokeSessionGuard::invoke(JSContext*) const’:
/tmp/mozilla-central/js/src/jsinterpinlines.h:589: error: ‘struct JSScript’
has no member named ‘getJIT’

In file included from /tmp/mozilla-central/js/src/jsarray.cpp:110:

/tmp/mozilla-central/js/src/jsinterpinlines.h: In member function ‘bool
js::InvokeSessionGuard::invoke(JSContext*) const’:
/tmp/mozilla-central/js/src/jsinterpinlines.h:589: error: ‘struct JSScript’
has no member named ‘getJIT’

In file included from /tmp/mozilla-central/js/src/jsapi.cpp:94:

/tmp/mozilla-central/js/src/jsinterpinlines.h: In member function ‘bool
js::InvokeSessionGuard::invoke(JSContext*) const’:
/tmp/mozilla-central/js/src/jsinterpinlines.h:589: error: ‘struct JSScript’
has no member named ‘getJIT’

make[4]: *** [jsbool.o] Error 1


make[4]: *** Waiting for unfinished jobs....

/tmp/mozilla-central/js/src/jscntxt.cpp: At global scope:
/tmp/mozilla-central/js/src/jscntxt.cpp:2265: warning: ‘bool
IsJITBrokenHere()’ defined but not used
make[4]: *** [jscntxt.o] Error 1


make[4]: *** [jsarray.o] Error 1

make[4]: *** [jsapi.o] Error 1
make[4]: Leaving directory `/tmp/mozilla-central/objdir-ff-release/js/src'
make[3]: *** [libs_tier_js] Error 2
make[3]: Leaving directory `/tmp/mozilla-central/objdir-ff-release'
make[2]: *** [tier_js] Error 2
make[2]: Leaving directory `/tmp/mozilla-central/objdir-ff-release'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/tmp/mozilla-central/objdir-ff-release'
make: *** [build] Error 2
stompy:/tmp/mozilla-central#


It's Linux on the PPC architecture. I already know that the debian
maintainers of Iceweasel have not gone about working with this for the PPC
architecture. If there is anyone who has had a successful build with the
same or similar equipment, please have them contact me and show what they
did.
Thanks.

> >> /tmp/mozilla-central/js/src/jsinterpinlines.h: In member function ‘bool
> >> js::InvokeSessionGuard::invoke(JSContext*) const’:
> >> /tmp/mozilla-central/js/src/jsinterpinlines.h:589: error: ‘struct
> JSScript’
> >> has no member named ‘getJIT’

> >> In file included from /tmp/mozilla-central/js/src/jsapi.cpp:94:

> >> /tmp/mozilla-central/js/src/jsinterpinlines.h: In member function ‘bool
> >> js::InvokeSessionGuard::invoke(JSContext*) const’:
> >> /tmp/mozilla-central/js/src/jsinterpinlines.h:589: error: ‘struct
> JSScript’
> >> has no member named ‘getJIT’

Super Bisquit

unread,
Jan 16, 2011, 12:13:01 PM1/16/11
to Philip Chee, dev-apps...@lists.mozilla.org
Forgive me for this being in the middle of the thread.
. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-ff-release
mk_add_options MOZ_MAKE_FLAGS="-j4"
ac_add_option --disable-jit

In file included from /tmp/mozilla-central/js/src/jsbool.cpp:57:

/tmp/mozilla-central/js/src/jsinterpinlines.h: In member function ‘bool
js::InvokeSessionGuard::invoke(JSContext*) const’:
/tmp/mozilla-central/js/src/jsinterpinlines.h:589: error: ‘struct JSScript’
has no member named ‘getJIT’

In file included from /tmp/mozilla-central/js/src/jscntxt.cpp:89:


/tmp/mozilla-central/js/src/jsinterpinlines.h: In member function ‘bool
js::InvokeSessionGuard::invoke(JSContext*) const’:
/tmp/mozilla-central/js/src/jsinterpinlines.h:589: error: ‘struct JSScript’
has no member named ‘getJIT’

In file included from /tmp/mozilla-central/js/src/jsarray.cpp:110:

/tmp/mozilla-central/js/src/jsinterpinlines.h: In member function ‘bool
js::InvokeSessionGuard::invoke(JSContext*) const’:
/tmp/mozilla-central/js/src/jsinterpinlines.h:589: error: ‘struct JSScript’
has no member named ‘getJIT’

In file included from /tmp/mozilla-central/js/src/jsapi.cpp:94:

/tmp/mozilla-central/js/src/jsinterpinlines.h: In member function ‘bool
js::InvokeSessionGuard::invoke(JSContext*) const’:
/tmp/mozilla-central/js/src/jsinterpinlines.h:589: error: ‘struct JSScript’
has no member named ‘getJIT’

make[4]: *** [jsbool.o] Error 1


make[4]: *** Waiting for unfinished jobs....

/tmp/mozilla-central/js/src/jscntxt.cpp: At global scope:
/tmp/mozilla-central/js/src/jscntxt.cpp:2265: warning: ‘bool
IsJITBrokenHere()’ defined but not used

make[4]: *** [jscntxt.o] Error 1


make[4]: *** [jsarray.o] Error 1

make[4]: *** [jsapi.o] Error 1
make[4]: Leaving directory `/tmp/mozilla-central/objdir-ff-release/js/src'
make[3]: *** [libs_tier_js] Error 2
make[3]: Leaving directory `/tmp/mozilla-central/objdir-ff-release'
make[2]: *** [tier_js] Error 2
make[2]: Leaving directory `/tmp/mozilla-central/objdir-ff-release'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/tmp/mozilla-central/objdir-ff-release'
make: *** [build] Error 2
stompy:/tmp/mozilla-central#

It's Linux on the PPC architecture. I already know that the debian
maintainers of Iceweasel have not gone about working with this for the PPC
architecture. If there is anyone who has had a successful build with the
same or similar equipment, please have them contact me and show what they
did.
Thanks.

On Sun, Jan 16, 2011 at 6:44 AM, Philip Chee <phili...@gmail.com> wrote:

> >> /tmp/mozilla-central/js/src/jsinterpinlines.h: In member function ‘bool
> >> js::InvokeSessionGuard::invoke(JSContext*) const’:
> >> /tmp/mozilla-central/js/src/jsinterpinlines.h:589: error: ‘struct
> JSScript’
> >> has no member named ‘getJIT’

> >> In file included from /tmp/mozilla-central/js/src/jsapi.cpp:94:

> >> /tmp/mozilla-central/js/src/jsinterpinlines.h: In member function ‘bool
> >> js::InvokeSessionGuard::invoke(JSContext*) const’:
> >> /tmp/mozilla-central/js/src/jsinterpinlines.h:589: error: ‘struct
> JSScript’
> >> has no member named ‘getJIT’

Mike Shaver

unread,
Jan 16, 2011, 12:20:48 PM1/16/11
to Super Bisquit, dev-apps...@lists.mozilla.org
On Sun, Jan 16, 2011 at 1:07 AM, Super Bisquit <superb...@gmail.com> wrote:
> /tmp/mozilla-central/js/src/jsinterpinlines.h:589: error: ‘struct JSScript’
> has no member named ‘getJIT’

(Dropping support list, that's for end users really.)

We had a mistake in the b8 (and maybe b9) tree that broke building
without the JIT, it's fixed in tracemonkey and m-c now I believe.

Sorry about that!

Mike

Super Bisquit

unread,
Jan 16, 2011, 12:30:59 PM1/16/11
to Mike Shaver, dev-apps...@lists.mozilla.org
I downloaded the patch but have no idea where to apply it.
Class's email seems to be incomplete.
Is there an online reference to the proper build instructions?
If you need, I'll try building tracemonkey on my machine.


I'll also assume that I will need a new source, yes?

Super Bisquit

unread,
Jan 16, 2011, 8:04:07 PM1/16/11
to Philip Chee, dev-apps...@lists.mozilla.org
The Tamarin build system does not have a Linux powerpc base.
The --disable-jit from both autoconfigure with mozconfig and from configure
with the option removed from mozconfig and appended as ./configure
--disable-jit crashes. I am using the recent build from the mercurial
repository.

On Sun, Jan 16, 2011 at 12:13 PM, Super Bisquit <superb...@gmail.com>wrote:

> Forgive me for this being in the middle of the thread.
> . $topsrcdir/browser/config/mozconfig
> mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-ff-release
> mk_add_options MOZ_MAKE_FLAGS="-j4"
>
> ac_add_option --disable-jit
>
>
>
> In file included from /tmp/mozilla-central/js/src/jsbool.cpp:57:
>

> /tmp/mozilla-central/js/src/jsinterpinlines.h: In member function ‘bool
> js::InvokeSessionGuard::invoke(JSContext*) const’:
> /tmp/mozilla-central/js/src/jsinterpinlines.h:589: error: ‘struct JSScript’
> has no member named ‘getJIT’

> In file included from /tmp/mozilla-central/js/src/jscntxt.cpp:89:


>
> /tmp/mozilla-central/js/src/jsinterpinlines.h: In member function ‘bool
> js::InvokeSessionGuard::invoke(JSContext*) const’:
> /tmp/mozilla-central/js/src/jsinterpinlines.h:589: error: ‘struct JSScript’
> has no member named ‘getJIT’

> In file included from /tmp/mozilla-central/js/src/jsarray.cpp:110:

> /tmp/mozilla-central/js/src/jsinterpinlines.h: In member function ‘bool
> js::InvokeSessionGuard::invoke(JSContext*) const’:
> /tmp/mozilla-central/js/src/jsinterpinlines.h:589: error: ‘struct JSScript’
> has no member named ‘getJIT’

> In file included from /tmp/mozilla-central/js/src/jsapi.cpp:94:

> /tmp/mozilla-central/js/src/jsinterpinlines.h: In member function ‘bool
> js::InvokeSessionGuard::invoke(JSContext*) const’:
> /tmp/mozilla-central/js/src/jsinterpinlines.h:589: error: ‘struct JSScript’
> has no member named ‘getJIT’

> make[4]: *** [jsbool.o] Error 1


>
> make[4]: *** Waiting for unfinished jobs....

> /tmp/mozilla-central/js/src/jscntxt.cpp: At global scope:
> /tmp/mozilla-central/js/src/jscntxt.cpp:2265: warning: ‘bool
> IsJITBrokenHere()’ defined but not used

> make[4]: *** [jscntxt.o] Error 1


>
> make[4]: *** [jsarray.o] Error 1

> make[4]: *** [jsapi.o] Error 1
> make[4]: Leaving directory `/tmp/mozilla-central/objdir-ff-release/js/src'
> make[3]: *** [libs_tier_js] Error 2
> make[3]: Leaving directory `/tmp/mozilla-central/objdir-ff-release'
> make[2]: *** [tier_js] Error 2
> make[2]: Leaving directory `/tmp/mozilla-central/objdir-ff-release'
> make[1]: *** [default] Error 2
> make[1]: Leaving directory `/tmp/mozilla-central/objdir-ff-release'
> make: *** [build] Error 2
> stompy:/tmp/mozilla-central#
>
>

> It's Linux on the PPC architecture. I already know that the debian
> maintainers of Iceweasel have not gone about working with this for the PPC
> architecture. If there is anyone who has had a successful build with the
> same or similar equipment, please have them contact me and show what they
> did.
> Thanks.
>
>
>
>
>
>
>
>
> On Sun, Jan 16, 2011 at 6:44 AM, Philip Chee <phili...@gmail.com>wrote:
>

>> >> /tmp/mozilla-central/js/src/jsinterpinlines.h: In member function ‘bool
>> >> js::InvokeSessionGuard::invoke(JSContext*) const’:
>> >> /tmp/mozilla-central/js/src/jsinterpinlines.h:589: error: ‘struct
>> JSScript’
>> >> has no member named ‘getJIT’

>> >> In file included from /tmp/mozilla-central/js/src/jsapi.cpp:94:

>> >> /tmp/mozilla-central/js/src/jsinterpinlines.h: In member function ‘bool
>> >> js::InvokeSessionGuard::invoke(JSContext*) const’:
>> >> /tmp/mozilla-central/js/src/jsinterpinlines.h:589: error: ‘struct
>> JSScript’
>> >> has no member named ‘getJIT’

0 new messages