Closed Bug 958941 Opened 10 years ago Closed 3 years ago

SpiderMonkey (mozjs-24.2.0) build failure on Linux/PowerPC

Categories

(Core :: JavaScript Engine, defect)

PowerPC
Linux
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: aaro.koskinen, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:24.0) Gecko/20131215 Firefox/24.0 Iceweasel/24.2.0 (Nightly/Aurora)
Build ID: 20131215160340

Steps to reproduce:

mozjs-24.2.0 compilation on Linux/PowerPC with GCC 4.8.2 and GLIBC 2.18 fails.



Actual results:

/work/powerpc/mozjs-24.2.0/js/src/jsprf.cpp: In function 'NumArgState* BuildArgArray(const char*, __va_list_tag*, int*, NumArgState*)':
/work/powerpc/mozjs-24.2.0/js/src/jsprf.cpp:33:47: error: incompatible types in assignment of '__va_list_tag*' to 'va_list {aka __va_list_tag [1]}'
 #define VARARGS_ASSIGN(foo, bar)        (foo) = (bar)
                                               ^
/home/aaro/los/work/powerpc/mozjs-24.2.0/js/src/jsprf.cpp:611:9: note: in expansion of macro 'VARARGS_ASSIGN'
         VARARGS_ASSIGN(nas[cn].ap, ap);
         ^
make[4]: *** [jsprf.o] Error 1



Expected results:

Build should be successful.
Hardware: x86 → PowerPC
See Also: → 958940
Aaro,

I assume your config.status shows VA_COPY has not being present. Any idea why?

On gcc 4.7.2 with glibc 2.16 (ppc64) I get

   (''' VA_COPY ''', r''' va_copy '''),
   (''' HAVE_VA_COPY ''', ' 1 '),

va_copy is defined in
/usr/lib/gcc/ppc64-redhat-linux/4.7.2/include/stdarg.h
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.