Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388217 - dev-lang/spidermonkey-1.8.5: build fails on PPC64
Summary: dev-lang/spidermonkey-1.8.5: build fails on PPC64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal major (vote)
Assignee: Dirkjan Ochtman (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2011-10-23 12:59 UTC by Emmanuel Andry
Modified: 2012-01-25 14:13 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (build.log,25.04 KB, text/plain)
2011-10-23 12:59 UTC, Emmanuel Andry
Details
Emerge info (emerge-info.txt,5.14 KB, text/plain)
2011-10-23 12:59 UTC, Emmanuel Andry
Details
supoort 64bit big endian (mozilla-2.0_support_64bit_big_endian.patch,1.63 KB, patch)
2012-01-25 14:02 UTC, Jory A. Pratt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Emmanuel Andry 2011-10-23 12:59:18 UTC
powerpc64-unknown-linux-gnu-g++ -o jsapi.o -c  -fvisibility=hidden -DOSTYPE=\"Linux3.0\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS  -I. -I. -I./dist/include -I./dist/include/nsprpub  -I/usr/include/nspr   -I. -I./assembler -I./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 -O2 -pipe -ggdb -mcpu=G5 -mtune=G5 -maltivec -mabi=altivec -mpowerpc-gfxopt -mpowerpc64 -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/jsapi.pp jsapi.cpp
In file included from jsobj.h:64:0,
                 from jsstr.h:56,
                 from jsatom.h:52,
                 from jscntxt.h:59,
                 from jsanalyze.h:45,
                 from jsanalyze.cpp:40:
jsvalue.h: In member function ‘const jsuword* js::Value::payloadWord() const’:
jsvalue.h:732:32: erreur: ‘const union jsval_layout::<anonymous struct>::<anonymous>’ has no member named ‘word’
In file included from jsobj.h:64:0,
                 from jsstr.h:56,
                 from jsatom.h:52,
                 from jsarray.h:47,
                 from jsapi.cpp:57:
jsvalue.h: In member function ‘const jsuword* js::Value::payloadWord() const’:
jsvalue.h:732:32: erreur: ‘const union jsval_layout::<anonymous struct>::<anonymous>’ has no member named ‘word’
make[1]: *** [jsanalyze.o] Erreur 1
make[1]: *** Attente des tâches non terminées....
In file included from jsapi.cpp:94:0:
jsobjinlines.h: In member function ‘void JSObject::setArrayLength(uint32)’:
jsobjinlines.h:316:24: attention : transtypage vers un pointeur depuis un entier de taille différente [-Wint-to-pointer-cast]
make[1]: *** [jsapi.o] Erreur 1
make[1] : on quitte le répertoire « /var/tmp/portage/dev-lang/spidermonkey-1.8.5/work/js-1.8.5/js/src »
make: *** [default] Erreur 2
emake failed


Reproducible: Always

Steps to Reproduce:
1. emerge gnome-3.2
2.
3.
Actual Results:  
Build fails on spidermonkey, preventing the build of gnome 3.2
Comment 1 Emmanuel Andry 2011-10-23 12:59:37 UTC
Created attachment 290629 [details]
Build log
Comment 2 Emmanuel Andry 2011-10-23 12:59:55 UTC
Created attachment 290631 [details]
Emerge info
Comment 3 Mike Gilbert gentoo-dev 2011-10-23 17:23:25 UTC
In future bug reports, please produce a build log in English (LC_MESSAGES=C). Fortunately, the error message seems to have no translation in this case.
Comment 4 Jory A. Pratt gentoo-dev 2011-11-14 18:28:04 UTC
(In reply to comment #3)
> In future bug reports, please produce a build log in English (LC_MESSAGES=C).
> Fortunately, the error message seems to have no translation in this case.

This is not needed, mozilla herd is well aware of the bug and will fix it today.
Comment 5 Jory A. Pratt gentoo-dev 2011-11-14 21:01:34 UTC
Thanks for reporting, bugs have been addressed if problem persists do not hesitate to reopen.
Comment 6 Emmanuel Andry 2011-11-15 20:06:42 UTC
Sorry guys, but the problem is still here...
Comment 7 Ian Stakenvicius (RETIRED) gentoo-dev 2011-11-15 20:24:52 UTC
Is it identical?  If not could you attach a new build.log?
Comment 8 Emmanuel Andry 2011-12-17 22:51:47 UTC
This is exactly the same error :

jsapi.cpp
powerpc64-unknown-linux-gnu-g++ -o jsapi.o -c  -fvisibility=hidden -DOSTYPE=\"Linux3.1\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS  -I. -I. -I./dist/include -I./dist/include/nsprpub  -I/usr/include/nspr   -I. -I./assembler -I./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 -O2 -pipe -ggdb -mcpu=G5 -mtune=G5 -maltivec -mabi=altivec -mpowerpc-gfxopt -mpowerpc64 -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/jsapi.pp jsapi.cpp
In file included from jsobj.h:64:0,
                 from jsstr.h:56,
                 from jsatom.h:52,
                 from jscntxt.h:59,
                 from jsanalyze.h:45,
                 from jsanalyze.cpp:40:
jsvalue.h: In member function 'const jsuword* js::Value::payloadWord() const':
jsvalue.h:732:32: error: 'const union jsval_layout::<anonymous struct>::<anonymous>' has no member named 'word'
In file included from jsobj.h:64:0,
                 from jsstr.h:56,
                 from jsatom.h:52,
                 from jsarray.h:47,
                 from jsapi.cpp:57:
jsvalue.h: In member function 'const jsuword* js::Value::payloadWord() const':
jsvalue.h:732:32: error: 'const union jsval_layout::<anonymous struct>::<anonymous>' has no member named 'word'
make[1]: *** [jsanalyze.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from jsapi.cpp:94:0:
jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)':
jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
make[1]: *** [jsapi.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-lang/spidermonkey-1.8.5-r1/work/js-1.8.5/js/src'
make: *** [default] Error 2
emake failed
Comment 9 Jory A. Pratt gentoo-dev 2012-01-25 14:02:29 UTC
Created attachment 299863 [details, diff]
supoort  64bit big endian

Test this with 1.8.5 and you should be good to go, sorry for the delay.
Comment 10 Jory A. Pratt gentoo-dev 2012-01-25 14:13:10 UTC
This is so trivial I have added it no matter what, it should have not been drop'd when patches were ported over from xulrunner-2.