[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-bugs
Subject:    [Bug d/107101] New: d: Add stub for object module when libphobos is not compiled, or supported
From:       ibuclaw at gdcproject dot org via Gcc-bugs <gcc-bugs () gcc ! gnu ! org>
Date:       2022-09-30 16:13:28
Message-ID: bug-107101-4 () http ! gcc ! gnu ! org/bugzilla/
[Download RAW message or body]

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*.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic