Summary: | =dev-lang/spidermonkey-1.8.5-r6 - In file included from jsarray.cpp:109: ./assembler/wtf/Platform.h:287:6: error: #error "Not supported ARM architecture" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Walter Hüttenmeyer <walter.huettenmeyer> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | walter.huettenmeyer |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
dev-lang:spidermonkey-1.8.5-r6:20180311-150425.log
GCC defines without -marm GCC defines with -marm |
Description
Walter Hüttenmeyer
2018-03-11 15:03:44 UTC
Created attachment 523510 [details]
dev-lang:spidermonkey-1.8.5-r6:20180311-150425.log
It's throwing errors due to __thumb2__ or __thumb__ not being defined.
Created attachment 523514 [details]
GCC defines without -marm
gcc -dM -E - < /dev/null gives me this on a Raspberry Pi3.
Note the missing __thumb__ and __thumb2__ defines.
Created attachment 523516 [details]
GCC defines with -marm
gcc -marm -dM -E - < /dev/null gives me this on a Raspberry Pi3.
Note the defined __thumb__ and __thumb2__ macros.
strangely I cannot reproduce the second issue of breaking the compile due to the define being set to a string literal. The first one is reproducable and is fixed by compiling with -mthumb. However, I do not know if this is desirable, as the source has code to swtich between ARM and THUMB mode for compilation. AFAIK ARM mode is faster than THUMB, but I could not get spidermonkey to compile in any other way than using -marm. spidermonkey <78 is no longer in tree. The codebase has changed substantially since then, so closing. |