From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8AEAA3858D1E; Fri, 30 Sep 2022 16:13:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8AEAA3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664554408; bh=6scLrmwZVqg/N5JzuK9r8mE84Zafd3yFCfAqO98KgTA=; h=From:To:Subject:Date:From; b=AOEHYbDt1Gj/jVIGIZYqkL02ZxNTGDNw0ljes7ZMNH0tw+P4MUbvkKepwtG/lSaJ/ LrjbmZ9CjHXAY8TVPwtYyEWf7y8quGWv/XrMaKSQ7BTKWA6VSbXb1ZVqI+Y7Fes/f8 tgnyXJaZsRc9J27XF27cfyYRtU32s38LjOXTtsQs= From: "ibuclaw at gdcproject dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/107101] New: d: Add stub for object module when libphobos is not compiled, or supported Date: Fri, 30 Sep 2022 16:13:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ibuclaw at gdcproject dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107101 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-ti= me would be crippled, at least you'll be able to build *something*.=