[Bug d/121491] D: multiple targets: config.d and related files not found/built/installed

2025-08-11 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121491

Iain Buclaw  changed:

   What|Removed |Added

 CC||ibuclaw at gcc dot gnu.org

--- Comment #6 from Iain Buclaw  ---
On a cursory glance, these are all targets that don't build libdruntime by
default?  So naturally these won't have any runtime modules installed with
them.

There's usually good reason these targets don't build druntime
- missing C bindings in libdruntime so can't build the library.
- missing an implementation of config/${cpu_type}/${cpu_type}-d.cc so the
target isn't even classified at compile-time with version().

See libphobos/configure.tgt.

sparc64-*-linux* was added recently after some testing by Sam. Others such as
ia64 and m68k I expect to have zero support.

You can try configuring with:

--enable-libphobos --with-libphobos-druntime-only

With the expectation that some won't pass.

[Bug d/121491] D: multiple targets: config.d and related files not found/built/installed

2025-08-10 Thread dave at killthe dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121491

--- Comment #5 from Dave Blanchard  ---
No, I can't try the trunk, because I can't get GCC 15+ to compile with the last
version of glibc I will ever use, 2.37, since the "maintainers" of that
accursed library have decided to force enable the "tunables" feature which
contains giant security holes.

If you examine my build script carefully you can see that it can be used to
effortlessly test GCC versions 10, 12, 13, 14, all of which are broken in the
same way. I seriously doubt that has changed recently.

It's a damn shame that GCC decided on a crazy "five releases only then throw it
in the trash" release policy. I only discovered this bug literally on the day
gcc 12.5 was scheduled for release. Unfortunately this bug will only get fixed
in gcc 13+, if that, so just add it to a long list of screwy bugs in older gcc
releases that will never be fixed.

[Bug d/121491] D: multiple targets: config.d and related files not found/built/installed

2025-08-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121491

Andrew Pinski  changed:

   What|Removed |Added

   Last reconfirmed||2025-08-10
 Status|UNCONFIRMED |WAITING
 Ever confirmed|0   |1

--- Comment #4 from Andrew Pinski  ---
GCC 12 is no longer supported and there will be no more updates to GCC 12
series. Can you try the tunk?

[Bug d/121491] D: multiple targets: config.d and related files not found/built/installed

2025-08-10 Thread dave at killthe dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121491

--- Comment #3 from Dave Blanchard  ---
Oops, I forgot to add the error message, sorry:

d21: error: cannot find source code for runtime library file 'object.d'
d21: note: dmd might not be correctly installed. Run 'dmd -man' for
installation instructions.
d21: note: config file: not found

"not correctly installed" is right; all the target-specific .d files are
missing.

[Bug d/121491] D: multiple targets: config.d and related files not found/built/installed

2025-08-10 Thread dave at killthe dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121491

--- Comment #2 from Dave Blanchard  ---
See the file gccreport-dlang/scripts/install/stage1/cross/gcc for
cross-compiler configure args

[Bug d/121491] D: multiple targets: config.d and related files not found/built/installed

2025-08-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121491

--- Comment #1 from Sam James  ---
(In reply to Dave Blanchard from comment #0)

As I mentioned on the other bug, scripts are okay, but please let's have the
basics as well (full configure arg used in the end, without having to run a
script to get that) and the build output.