bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/28734] New: error with build-many-glibcs.py


From: zimmerma+gcc at loria dot fr
Subject: [Bug binutils/28734] New: error with build-many-glibcs.py
Date: Fri, 31 Dec 2021 06:39:11 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=28734

            Bug ID: 28734
           Summary: error with build-many-glibcs.py
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: zimmerma+gcc at loria dot fr
  Target Milestone: ---

while trying to use build-many-glibcs.py, I got the following error with
./build-many-glibcs.py -j64 /localdisk/zimmerma/glibc-many compilers
x86_64-linux-gnu on a x86_64 machine under Linux with gcc version 10.2.1
20210110 (Debian 10.2.1-6):

$ tail -20
./logs/compilers/x86_64-linux-gnu/004-compilers-x86_64-linux-gnu-binutils-build-log.txt
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I/localdisk/zimmerma/glibc-many/src/binutils/ld  -I.
-I/localdisk/zimmerma/glibc-many/src/binutils/ld -I../bfd
-I/localdisk/zimmerma/glibc-many/src/binutils/ld/../bfd
-I/localdisk/zimmerma/glibc-many/src/binutils/ld/../include
-I/localdisk/zimmerma/glibc-many/src/binutils/ld/../zlib  -g -O2
-DLOCALEDIR="\"/localdisk/zimmerma/glibc-many/install/compilers/x86_64-linux-gnu/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 -g -O2 -MT
ldelf.o -MD -MP -MF .deps/ldelf.Tpo -c -o ldelf.o
/localdisk/zimmerma/glibc-many/src/binutils/ld/ldelf.c
/localdisk/zimmerma/glibc-many/src/binutils/ld/ldelf.c: In function
‘ldelf_after_open’:
/localdisk/zimmerma/glibc-many/src/binutils/ld/ldelf.c:1049:43: error: the
comparison will always evaluate as ‘true’ for the address of ‘elf_header’ will
never be NULL [-Werror=address]
 1049 |           && elf_tdata (abfd)->elf_header != NULL
      |                                           ^~
In file included from
/localdisk/zimmerma/glibc-many/src/binutils/ld/ldelf.c:37:
/localdisk/zimmerma/glibc-many/src/binutils/ld/../bfd/elf-bfd.h:1932:21: note:
‘elf_header’ declared here
 1932 |   Elf_Internal_Ehdr elf_header[1];      /* Actual data, but ref like
ptr */
      |                     ^~~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [Makefile:1569: ldelf.o] Error 1
make[5]: Leaving directory
'/localdisk/zimmerma/glibc-many/build/compilers/x86_64-linux-gnu/binutils/ld'
make[4]: *** [Makefile:1815: all-recursive] Error 1
make[3]: *** [Makefile:1055: all] Error 2
make[2]: *** [Makefile:7214: all-ld] Error 2
make[1]: *** [Makefile:854: all] Error 2

FAIL: compilers-x86_64-linux-gnu binutils build

Thu 30 Dec 2021 10:25:37 AM CET

-- 
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]