https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121491
Bug ID: 121491
Summary: D: multiple targets: config.d and related files not
found/built/installed
Product: gcc
Version: 12.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: d
Assignee: ibuclaw at gdcproject dot org
Reporter: dave at killthe dot net
Target Milestone: ---
Created attachment 62093
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62093&action=edit
Scripts for reproducing error
When cross compiling GCC to target ia64, sparc64, or m68k (and possibly
others), there is an error when attempting to run the built GDC compiler,
complaining that config.d is missing. Indeed all of those target-specific .d
files in /usr/lib/gcc/* seem to be missing.
The provided script, which is a stripped down version of my distro build
system, will enable you to reproduce the broken build. See
gccreport-dlang/scripts/install/build-cross for instructions on how to run it.