From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#57849: 29.0.50; MacOS ld warning from native compilation Date: Fri, 16 Sep 2022 21:53:46 +0000 Message-ID: References: <871qsbwq0u.fsf@gnus.org> <84acc36e7ec1e6784956@heytings.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5512"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Gregory Heytings , Lars Ingebrigtsen , 57849@debbugs.gnu.org To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 16 23:54:09 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oZJHl-0001HU-Fu for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Sep 2022 23:54:09 +0200 Original-Received: from localhost ([::1]:46134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZJHk-0006nx-19 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Sep 2022 17:54:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZJHe-0006na-Oh for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 17:54:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45448) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZJHe-0002ze-C7 for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 17:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZJHe-0001qX-1Y for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 17:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Sep 2022 21:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57849 X-GNU-PR-Package: emacs Original-Received: via spool by 57849-submit@debbugs.gnu.org id=B57849.16633652407090 (code B ref 57849); Fri, 16 Sep 2022 21:54:02 +0000 Original-Received: (at 57849) by debbugs.gnu.org; 16 Sep 2022 21:54:00 +0000 Original-Received: from localhost ([127.0.0.1]:44526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZJHc-0001qH-HW for submit@debbugs.gnu.org; Fri, 16 Sep 2022 17:54:00 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:61615) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZJHY-0001q6-46 for 57849@debbugs.gnu.org; Fri, 16 Sep 2022 17:53:59 -0400 Original-Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 28GLrkmP010088 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Fri, 16 Sep 2022 21:53:55 GMT In-Reply-To: ("Gerd =?UTF-8?Q?M=C3=B6llmann?="'s message of "Fri, 16 Sep 2022 14:50:31 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:242817 Archived-At: Gerd M=C3=B6llmann writes: > Gregory Heytings writes: > >>>> I cannot find anything at all about the warning on the web. >>> >>> There's: >>> >>> https://githublab.com/profile/kateinoigakukun >>> >>> But er where's the actual link to the patch? Confusing interface. >>> >> >> There's no patch AFAICS, but the discussion is here: >> https://githublab.com/repository/issues/chef/ffi-yajl/114 >> >> See another similar discussion here: >> https://github.com/ruby/ruby/pull/6193 >> >> Apparently the solution is to use the -bundle_loader option. > > He writes > > On the other hand, -undefined dynamic_lookup is already deprecated on > all darwin platforms except for macOS, > > Aha, that's interesting. > > so it's good time to get rid of > the option. ld64 also provides -bundle_loader option, > which allows to resolve symbols defined in the executable symtab while > linking. It behaves almost the same with -undefined dynamic_lookup, > but it makes the following changes: > > Require that unresolved symbols among input objects must be defined > in the executable. > > I'm not sure this is true for elns. What if a function in a.eln calls a > function F in b.eln? This is never the case. Functions in .eln files either call functions in Emacs core or either call functions in the same .eln file. Andrea