[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/25717] New: Binutils failed to build with GCC 10
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug binutils/25717] New: Binutils failed to build with GCC 10 |
Date: |
Tue, 24 Mar 2020 11:51:42 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25717
Bug ID: 25717
Summary: Binutils failed to build with GCC 10
Product: binutils
Version: 2.35 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
Target Milestone: ---
GCC 10 as of
commit 906b3eb9df6c577d3f6e9c3ea5c9d7e4d1e90536
Author: Martin Liska <address@hidden>
Date: Tue Mar 24 11:40:10 2020 +0100
Improve endianess detection.
PR lto/94249
* plugin-api.h: Add more robust endianess detection.
failed to build binutils:
/bin/sh ./libtool --tag=CC --mode=compile
/export/build/gnu/tools-build/gcc-debug/release/usr/gcc-10.0.1-x86-64/bin/gcc
-DHAVE_CONFIG_H -I. -I/export/gnu/import/git/sources/binutils-gdb/bfd
-DBINDIR='"/usr/local/bin"' -DLIBDIR='"/usr/local/lib"' -I.
-I/export/gnu/import/git/sources/binutils-gdb/bfd
-I/export/gnu/import/git/sources/binutils-gdb/bfd/../include
-DHAVE_x86_64_elf64_vec -DHAVE_i386_elf32_vec -DHAVE_iamcu_elf32_vec
-DHAVE_x86_64_elf32_vec -DHAVE_i386_pei_vec -DHAVE_x86_64_pei_vec
-DHAVE_l1om_elf64_vec -DHAVE_k1om_elf64_vec -DHAVE_elf64_le_vec
-DHAVE_elf64_be_vec -DHAVE_elf32_le_vec -DHAVE_elf32_be_vec -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror
-g -O2 -MT elf.lo -MD -MP -MF .deps/elf.Tpo -c -o elf.lo
/export/gnu/import/git/sources/binutils-gdb/bfd/elf.c
libtool: compile:
/export/build/gnu/tools-build/gcc-debug/release/usr/gcc-10.0.1-x86-64/bin/gcc
-DHAVE_CONFIG_H -I. -I/export/gnu/import/git/sources/binutils-gdb/bfd
-DBINDIR=\"/usr/local/bin\" -DLIBDIR=\"/usr/local/lib\" -I.
-I/export/gnu/import/git/sources/binutils-gdb/bfd
-I/export/gnu/import/git/sources/binutils-gdb/bfd/../include
-DHAVE_x86_64_elf64_vec -DHAVE_i386_elf32_vec -DHAVE_iamcu_elf32_vec
-DHAVE_x86_64_elf32_vec -DHAVE_i386_pei_vec -DHAVE_x86_64_pei_vec
-DHAVE_l1om_elf64_vec -DHAVE_k1om_elf64_vec -DHAVE_elf64_le_vec
-DHAVE_elf64_be_vec -DHAVE_elf32_le_vec -DHAVE_elf32_be_vec -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror
-g -O2 -MT elf.lo -MD -MP -MF .deps/elf.Tpo -c
/export/gnu/import/git/sources/binutils-gdb/bfd/elf.c -o elf.o
/export/gnu/import/git/sources/binutils-gdb/bfd/elf.c: In function
‘setup_group’:
/export/gnu/import/git/sources/binutils-gdb/bfd/elf.c:740:35: error: overflow
in conversion from ‘unsigned int’ to ‘int’ changes value from ‘num_group =
4294967295’ to ‘-1’ [-Werror=overflow]
740 | elf_tdata (abfd)->num_group = num_group = -1;
| ^~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:1608: elf.lo] Error 1
make[2]: Leaving directory
'/export/build/gnu/tools-build/binutils-x86/build-x86_64-linux/bfd'
make[1]: *** [Makefile:1651: all-recursive] Error 1
make[1]: Leaving directory
'/export/build/gnu/tools-build/binutils-x86/build-x86_64-linux/bfd'
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/25717] New: Binutils failed to build with GCC 10,
hjl.tools at gmail dot com <=