bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/23566] New: emultempl/elf32.em and gcc 8.2: -Werror uninitialize


From: felix-glibc at fefe dot de
Subject: [Bug ld/23566] New: emultempl/elf32.em and gcc 8.2: -Werror uninitialized value
Date: Thu, 23 Aug 2018 11:29:28 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]