Closed
Bug 1355002
Opened 9 years ago
Closed 8 years ago
Building with warnings as error breaks with gcc 7 on -Werror=uninitialized
Categories
(Core :: Memory Allocator, defect)
Core
Memory Allocator
Tracking
()
RESOLVED
DUPLICATE
of bug 1387572
| Tracking | Status | |
|---|---|---|
| firefox55 | --- | affected |
People
(Reporter: Sylvestre, Unassigned)
References
Details
0:44.14 In file included from /root/firefox-gcc-last/memory/mozjemalloc/jemalloc.c:452:0:
0:44.15 /root/firefox-gcc-last/memory/mozjemalloc/jemalloc.c: In function 'extent_tree_szad_remove':
0:44.15 /root/firefox-gcc-last/memory/mozjemalloc/rb.h:107:40: error: 'rbp_r_s.link_szad.rbn_right_red' is used uninitialized in this function [-Werror=uninitialized]
0:44.15 | (((uintptr_t) (a_node)->a_field.rbn_right_red) & ((size_t)1))); \
0:44.15 ^
0:44.15 /root/firefox-gcc-last/memory/mozjemalloc/jemalloc.c: In function 'extent_tree_ad_remove':
0:44.15 /root/firefox-gcc-last/memory/mozjemalloc/rb.h:107:40: error: 'rbp_r_s.link_ad.rbn_right_red' is used uninitialized in this function [-Werror=uninitialized]
0:44.15 /root/firefox-gcc-last/memory/mozjemalloc/jemalloc.c: In function 'extent_tree_szad_insert':
0:44.15 /root/firefox-gcc-last/memory/mozjemalloc/rb.h:107:40: error: 'rbp_i_s.link_szad.rbn_right_red' is used uninitialized in this function [-Werror=uninitialized]
0:44.15 /root/firefox-gcc-last/memory/mozjemalloc/jemalloc.c: In function 'extent_tree_ad_insert':
0:44.15 /root/firefox-gcc-last/memory/mozjemalloc/rb.h:107:40: error: 'rbp_i_s.link_ad.rbn_right_red' is used uninitialized in this function [-Werror=uninitialized]
0:44.15 /root/firefox-gcc-last/memory/mozjemalloc/jemalloc.c: In function 'arena_run_tree_remove':
0:44.15 /root/firefox-gcc-last/memory/mozjemalloc/rb.h:107:40: error: 'rbp_r_s.link.rbn_right_red' is used uninitialized in this function [-Werror=uninitialized]
0:44.15 /root/firefox-gcc-last/memory/mozjemalloc/jemalloc.c: In function 'arena_avail_tree_insert':
0:44.15 /root/firefox-gcc-last/memory/mozjemalloc/rb.h:107:40: error: 'rbp_i_s.link.rbn_right_red' is used uninitialized in this function [-Werror=uninitialized]
0:44.15 /root/firefox-gcc-last/memory/mozjemalloc/jemalloc.c: In function 'arena_avail_tree_remove':
0:44.15 /root/firefox-gcc-last/memory/mozjemalloc/rb.h:107:40: error: 'rbp_r_s.link.rbn_right_red' is used uninitialized in this function [-Werror=uninitialized]
0:44.15 /root/firefox-gcc-last/memory/mozjemalloc/jemalloc.c: In function 'arena_chunk_tree_dirty_remove':
0:44.15 /root/firefox-gcc-last/memory/mozjemalloc/rb.h:107:40: error: 'rbp_r_s.link_dirty.rbn_right_red' is used uninitialized in this function [-Werror=uninitialized]
0:44.15 /root/firefox-gcc-last/memory/mozjemalloc/jemalloc.c: In function 'arena_chunk_tree_dirty_insert':
0:44.15 /root/firefox-gcc-last/memory/mozjemalloc/rb.h:107:40: error: 'rbp_i_s.link_dirty.rbn_right_red' is used uninitialized in this function [-Werror=uninitialized]
0:44.15 /root/firefox-gcc-last/memory/mozjemalloc/jemalloc.c: In function 'arena_run_tree_insert':
0:44.15 /root/firefox-gcc-last/memory/mozjemalloc/rb.h:107:40: error: 'rbp_i_s.link.rbn_right_red' is used uninitialized in this function [-Werror=uninitialized]
0:44.71 libdbm.a.desc
Sylvestre, do you see the following one as well on Linux? If so change bugzilla component to General.
In file included from js/src/json.cpp:23:0,
from obj-x86_64-unknown-freebsd12.0/js/src/Unified_cpp_js_src26.cpp:11:
js/src/vm/JSONParser.h: In function 'bool js::ParseJSONWithReviver(JSContext*, mozilla::Range<const CharT>, JS::HandleValue, JS::MutableHandleValue) [with CharT = unsigned char]':
js/src/vm/JSONParser.h:129:59: error: '<anonymous>.js::JSONParserBase::v' is used uninitialized in this function [-Werror=uninitialized]
freeProperties(mozilla::Move(other.freeProperties))
^
js/src/vm/JSONParser.h: In function 'bool js::ParseJSONWithReviver(JSContext*, mozilla::Range<const CharT>, JS::HandleValue, JS::MutableHandleValue) [with CharT = char16_t]':
js/src/vm/JSONParser.h:129:59: error: '<anonymous>.js::JSONParserBase::v' is used uninitialized in this function [-Werror=uninitialized]
freeProperties(mozilla::Move(other.freeProperties))
^
Flags: needinfo?(sledru)
| Reporter | ||
Comment 2•8 years ago
|
||
Nope, I don't see that. Sorry
This one is a dup actually
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(sledru)
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•