Closed Bug 1318306 Opened 9 years ago Closed 9 years ago

Build process is stopped after creating libjs_static.a - gcc 6.x related ?

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(firefox53 affected)

RESOLVED DUPLICATE of bug 1317764
Tracking Status
firefox53 --- affected

People

(Reporter: fredbezies, Unassigned)

Details

I cannot get Mozilla Firefox (trunk version) to be build. Besides bug 1316653, build process goes a little further, but is stopped right after creating libjs_static.a Here is what I get : 20:54.03 /home/fred/logs/fox/objdir-fx/dist/include/mozilla/Casting.h:51:3: attention : ‘result’ may be used uninitialized in this function [-Wmaybe-uninitialized] 20:54.03 u.mFrom = aFrom; 20:54.03 ^ 20:54.03 In file included from /home/fred/logs/fox/objdir-fx/js/src/Unified_cpp_js_src39.cpp:47:0: 20:54.03 /home/fred/logs/fox/src/js/src/wasm/WasmTextToBinary.cpp:1898:11: note : ‘result’ was declared here 20:54.04 Float result; 20:54.04 ^~~~~~ 21:40.96 libjs_static.a 21:41.68 make[3]: *** [/home/fred/logs/fox/src/config/recurse.mk:33: compile] Error 2 21:41.68 make[2]: *** [/home/fred/logs/fox/src/config/rules.mk:523: default] Error 2 21:41.68 make[1]: *** [/home/fred/logs/fox/src/client.mk:415: realbuild] Error 2 21:41.68 make: *** [client.mk:170: build] Error 2 21:41.69 0 compiler warnings present. 21:41.74 ccache (direct) hit rate: 0.0%; (preprocessed) hit rate: 1.8%; miss rate: 98.2% Could it be a side effect of commits for bug 1316651 on WasmTextToBinary.cpp ? Just guessing of course. Could be also a gcc 6.x bug :)
Can you attach or pastebin more of your compile log? I suspect there's a compiler error there, it's just farther back in the log.
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #1) > Can you attach or pastebin more of your compile log? I suspect there's a > compiler error there, it's just farther back in the log. Of course. I will try again asap and paste the log. I went up back to 3 minutes before the crash and did not notice anything special.
Nailed it? Here is the starting error which leads to the crash : In the directory /home/fred/logs/fox/objdir-fx/media/webrtc/signaling/fuzztest The following command failed to execute properly: /usr/bin/ccache /usr/bin/g++ -std=gnu++11 -o sdp_file_parser.o -c -I/home/fred/logs/fox/objdir-fx/dist/system_wrappers -include /home/fred/logs/fox/src/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DMOZ_NO_MOZALLOC -DSIP_OS_LINUX -DXPCOM_GLUE -DMOZ_HAS_MOZGLUE -I/home/fred/logs/fox/src/media/webrtc/signaling/fuzztest -I/home/fred/logs/fox/objdir-fx/media/webrtc/signaling/fuzztest -I/home/fred/logs/fox/src/media/webrtc -I/home/fred/logs/fox/src/media/mtransport -I/home/fred/logs/fox/src/media/webrtc/signaling/src/common/browser_logging -I/home/fred/logs/fox/objdir-fx/dist/include -I/home/fred/logs/fox/objdir-fx/dist/include/nspr -I/home/fred/logs/fox/objdir-fx/dist/include/nss -fPIC -DMOZILLA_CLIENT -include /home/fred/logs/fox/objdir-fx/mozilla-config.h -MD -MP -MF .deps/sdp_file_parser.o.pp -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++14-compat -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -freorder-blocks -Os -fomit-frame-pointer /home/fred/logs/fox/src/media/webrtc/signaling/fuzztest/sdp_file_parser.cpp
Related to disable-tests once again : https://bugzilla.mozilla.org/show_bug.cgi?id=1317764 So, duplicate of it or not ?
Was a duplicate of 1317764. But now, I'm facing bug 1318195... Sigh :(
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.