Mailinglist Archive: opensuse-bugs (4295 mails)

< Previous Next >
[Bug 1039384] New: mozjs24 fails to build with GCC7
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 16 May 2017 19:17:51 +0000
  • Message-id: <bug-1039384-21960@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1039384


Bug ID: 1039384
Summary: mozjs24 fails to build with GCC7
Classification: openSUSE
Product: openSUSE Tumbleweed
Version: Current
Hardware: Other
OS: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Firefox
Assignee: bnc-team-mozilla@xxxxxxxxxxxxxxxxxxxxxx
Reporter: dimstar@xxxxxxxxxxxx
QA Contact: qa-bugs@xxxxxxx
CC: martin.liska@xxxxxxxx, wolfgang@xxxxxxxxxxxxx
Depends on: 1032474
Blocks: 1030236
Found By: ---
Blocker: ---

Can be seen here:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:C:DVD/mozjs24/standard/x86_64

[ 352s]
/home/abuild/rpmbuild/BUILD/mozjs-24.2.0/js/src/shell/jsoptparse.cpp:256:25:
error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
[ 352s] if (value[0] == '\0')
[ 352s] ^~~~
[ 352s] make[2]: *** [../config/rules.mk:1140: jsoptparse.o] Error 1
[ 352s] make[2]: *** Waiting for unfinished jobs....
[ 358s] /home/abuild/rpmbuild/BUILD/mozjs-24.2.0/js/src/shell/js.cpp: In
function 'JSBool Evaluate(JSContext*, unsigned int, jsval*)':
[ 358s] /home/abuild/rpmbuild/BUILD/mozjs-24.2.0/js/src/shell/js.cpp:1036:20:
warning: '*((void*)(& ancx)+32).js::AutoCompartment::origin_' may be used
uninitialized in this function [-Wmaybe-uninitialized]
[ 358s] AutoNewContext ancx;

Likely the patch is not too different from what was merged for mozjs17

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >