From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1296F3884FA3; Thu, 15 Dec 2022 08:08:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1296F3884FA3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671091738; bh=05h/XWYMBEF56xRmJecrgIhQgK46ll/pwFljLQjacMc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=VzSmaxNkvCYRp69Rt00OMoDFsMyswtPYbETYbBsKPJ4mEpPfxxdO69iwNe7NXC1gI x8Gw8FV6izTtVq+QKYAEGoS7w7ol103m5hvHNI5SGj/9DwOx1Zg10i4XjVEfDft1s+ 6e/DrR2PBXQjTHkJ4tVBVgoKsb2CfCF3YAhd5bik= From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug modula2/107612] plugin/m2rte doesn't build on Mac OS X 10.7 Date: Thu, 15 Dec 2022 08:08:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: modula2 X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: gaius at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: everconfirmed cc cf_reconfirmed_on bug_status Message-ID: In-Reply-To: References: 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=3D107612 Iain Sandoe changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 CC| |iains at gcc dot gnu.org Last reconfirmed| |2022-12-15 Status|UNCONFIRMED |NEW --- Comment #3 from Iain Sandoe --- (In reply to Rainer Orth from comment #1) > Besides, the m2rte plugin is incorrectly named on Darwin, thus unusable: >=20 > cc1gm2: fatal error: inaccessible plugin file > /var/gcc/modula-2/10.7-gcc/./gcc/plugin/m2rte.dylib expanded from short > plugin name m2rte: No such file or directory > compilation terminated. >=20 > There's code in gcc/jit/Make-lang.in handling the same situation. >=20 > To get further along, I've just manually added a symlink for now. Hi Rainer, you are ahead of me in testing this (I got bogged down in fixing libffi for i686 rust use) Just to note that the values used in gcc/jit/Make-lang.in are still not completely correct (and that causes problems with cross-compilers where the target and host linkers are different) * because LD_VERSION_SCRIPT_OPTION and LD_SONAME_OPTION are for $target, n= ot $host. * (maybe not relevant to gm2) the .map file is not in a format usable by Darwin's linker and unfortunately the existing conversion scripts in the tr= ee do not handle that specific map. So much of the content is useful for Darwin and mingw but those points need= to be taken into account (rather than copying verbatim).=