https://sourceware.org/bugzilla/show_bug.cgi?id=23566
Bug ID: 23566
Summary: emultempl/elf32.em and gcc 8.2: -Werror uninitialized
value
Product: binutils
Version: 2.32 (HEAD)
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: felix-glibc at fefe dot de
Target Milestone: ---
make[4]: Entering directory '/hdd/cvs/binutils-gdb/ld'
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../bfd -I./../bfd -I./../include -pipe -Os
-DENABLE_PLUGINS -DLOCALEDIR="\"/usr/share/locale\"" -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror
-DELF_LIST_OPTIONS=TRUE -DELF_SHLIB_LIST_OPTIONS=TRUE
-DELF_PLT_UNWIND_LIST_OPTIONS=TRUE -pipe -Os -MT eelf_x86_64.o -MD -MP -MF
.deps/eelf_x86_64.Tpo -c -o eelf_x86_64.o eelf_x86_64.c
./emultempl/elf32.em: In function ‘gldelf_x86_64_before_allocation’:
./emultempl/elf32.em:1858:29: error: ‘ehdr_start_save.type’ may be used
uninitialized in this function [-Werror=maybe-uninitialized]
ehdr_start->root.type = ehdr_start_save.type;
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils