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

UNCONFIRMED
Unassigned

Status

()

UNCONFIRMED
5 years ago
5 years ago

People

(Reporter: aaro.koskinen, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
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.
(Reporter)

Updated

5 years ago
Hardware: x86 → PowerPC

Updated

5 years ago
See Also: → bug 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
You need to log in before you can comment on or make changes to this bug.