[Bug d/107101] New: d: Add stub for object module when libphobos is not compiled, or supported
ibuclaw at gdcproject dot org
gcc-bugzilla@gcc.gnu.org
Fri Sep 30 16:13:28 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107101
Bug ID: 107101
Summary: d: Add stub for object module when libphobos is not
compiled, or supported
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: d
Assignee: ibuclaw at gdcproject dot org
Reporter: ibuclaw at gdcproject dot org
Target Milestone: ---
Currently behaviour is that object.d is searched for anyway, resulting in an
error that it cannot be found.
---
/opt/compiler-explorer/sh/gcc-12.2.0/sh-multilib-linux-gnu/bin/sh-multilib-linux-gnu-gdc
-c /tmp/test.d
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
---
Just declaring a stub module means that although the language at compile-time
would be crippled, at least you'll be able to build *something*.
More information about the Gcc-bugs
mailing list