[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/30568] --dependency-file includes temporary LTO files
From: |
address@hidden |
Subject: |
[Bug ld/30568] --dependency-file includes temporary LTO files |
Date: |
Wed, 05 Jul 2023 18:27:23 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=30568
Jan-Benedict Glaw <jbglaw@lug-owl.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jbglaw@lug-owl.de
--- Comment #5 from Jan-Benedict Glaw <jbglaw@lug-owl.de> ---
While this patch works for most targets, it breaks for --target=alpha-dec-vms
and --target=alpha64-dec-vms (the latter is a bit of an odd one, but listed in
config-list.mk nonetheless). See eg.
http://toolchain.lug-owl.de/laminar/jobs/binutils-alpha-dec-vms/39 :
[all 2023-07-05 16:20:23]
/var/lib/laminar/run/binutils-alpha-dec-vms/39/local-toolchain-install/bin/gcc
-DHAVE_CONFIG_H -I. -I. -I. -I../bfd -I./../bfd -I./../include -I./../zlib -g
-O2 -DLOCALEDIR="\"/tmp/binutils-alpha-dec-vms/share/locale\"" -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror
-DELF_LIST_OPTIONS=false -DELF_SHLIB_LIST_OPTIONS=false
-DELF_PLT_UNWIND_LIST_OPTIONS=false -g -O2 -MT ldfile.o -MD -MP -MF
.deps/ldfile.Tpo -c -o ldfile.o \
[all 2023-07-05 16:20:23]
-DSCRIPTDIR='"/tmp/binutils-alpha-dec-vms/alpha-dec-vms/lib"'
-DBINDIR='"/tmp/binutils-alpha-dec-vms/bin"'
-DTOOLBINDIR='"/tmp/binutils-alpha-dec-vms/alpha-dec-vms/bin"' \
[all 2023-07-05 16:20:23] ./ldfile.c
[all 2023-07-05 16:20:24] ./ldfile.c: In function 'ldfile_try_open_bfd':
[all 2023-07-05 16:20:24] ./ldfile.c:356:20: error: 'struct
lang_input_statement_flags' has no member named 'lto_output'
[all 2023-07-05 16:20:24] 356 | if (!entry->flags.lto_output)
[all 2023-07-05 16:20:24] | ^
[all 2023-07-05 16:20:24] make[3]: *** [Makefile:2311: ldfile.o] Error 1
[all 2023-07-05 16:20:24] make[3]: Leaving directory
'/var/lib/laminar/run/binutils-alpha-dec-vms/39/binutils-gdb/ld'
[all 2023-07-05 16:20:24] make[2]: *** [Makefile:1881: all-recursive] Error 1
[all 2023-07-05 16:20:24] make[2]: Leaving directory
'/var/lib/laminar/run/binutils-alpha-dec-vms/39/binutils-gdb/ld'
[all 2023-07-05 16:20:24] make[1]: *** [Makefile:1077: all] Error 2
[all 2023-07-05 16:20:24] make[1]: Leaving directory
'/var/lib/laminar/run/binutils-alpha-dec-vms/39/binutils-gdb/ld'
[all 2023-07-05 16:20:24] make: *** [Makefile:8162: all-ld] Error 2
So this needs a `#if BFD_SUPPORTS_PLUGINS` (cf. ldlang.h)
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/30568] --dependency-file includes temporary LTO files,
address@hidden <=
- [Bug ld/30568] --dependency-file includes temporary LTO files, address@hidden, 2023/07/05
- [Bug ld/30568] --dependency-file includes temporary LTO files, cvs-commit at gcc dot gnu.org, 2023/07/05
- [Bug ld/30568] --dependency-file includes temporary LTO files, address@hidden, 2023/07/06
- [Bug ld/30568] --dependency-file includes temporary LTO files, cvs-commit at gcc dot gnu.org, 2023/07/11
- [Bug ld/30568] --dependency-file includes temporary LTO files, jordan at jwillikers dot com, 2023/07/31