Binutils from 2023.09 release fail to build with disabled plugins and LTO
Closed this issue · 1 comments
abrodkin commented
git clone --branch arc-2023.09 git@github.com:foss-for-synopsys-dwc-arc-processors/binutils-gdb.git
cd binutils-gdb
mkdir build
cd build
../configure --disable-lto --disable-plugins --disable-sim --disable-gdb
make
...
CC ldfile.o
../../ld/ldfile.c: In function ‘ldfile_try_open_bfd’:
../../ld/ldfile.c:356:20: error: ‘struct lang_input_statement_flags’ has no member named ‘lto_output’
356 | if (!entry->flags.lto_output)
| ^
Works fine on the vanilla 2.41 sources.
Reported by @wbx-github
luismgsilva commented
Issue fixed with upstream commit.
foss-for-synopsys-dwc-arc-processors/binutils-gdb@121bb36