From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#57849: 29.0.50; MacOS ld warning from native compilation Date: Fri, 16 Sep 2022 14:44:12 +0200 Message-ID: References: <871qsbwq0u.fsf@gnus.org> <87h7178pcz.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14519"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Cc: 57849@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 16 14:46:03 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 1oZAjL-0003a8-38 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Sep 2022 14:46:03 +0200 Original-Received: from localhost ([::1]:56480 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZAjK-0003hQ-1Y for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Sep 2022 08:46:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZAiN-0003fw-11 for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 08:45:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43006) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZAiM-0003i0-Ox for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 08:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZAiM-0006Dn-Kg for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 08:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Sep 2022 12:45: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.166333226123820 (code B ref 57849); Fri, 16 Sep 2022 12:45:02 +0000 Original-Received: (at 57849) by debbugs.gnu.org; 16 Sep 2022 12:44:21 +0000 Original-Received: from localhost ([127.0.0.1]:42079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZAhh-0006C7-4x for submit@debbugs.gnu.org; Fri, 16 Sep 2022 08:44:21 -0400 Original-Received: from mail-ed1-f41.google.com ([209.85.208.41]:34636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZAhf-0006Bu-Fe for 57849@debbugs.gnu.org; Fri, 16 Sep 2022 08:44:20 -0400 Original-Received: by mail-ed1-f41.google.com with SMTP id z21so31321738edi.1 for <57849@debbugs.gnu.org>; Fri, 16 Sep 2022 05:44:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=t85FZmtgr41PdbDyfdnor4zrk8NI6RNd78I8ZPBsrZA=; b=SnTMsR+fGDH8JagS6hc0JERkNHR5J/81oA2ZGzFw4vd4xq25csgDoiqDxXlRmvJPH8 YhNG+HHPXD2md3zJ3D3RQbQecGuwz1a2jNDRdYMrQhdVAUEFM9v9xB8A5kWdQ5C5wtRo 5U6xjryz7uf3MS+YLsR/q2iqC3gw1LPfzbqEJDIcpw+3xhxHysyUuztqN4B0oMGLg4Kx CVP3+ZMXLlrmKC0+jFEHelNsTGJNRDedbsppnrVtwPr5wZcOexp4+/ZtmJEpstV4j5V5 yhBrgZG60uufvLbXg+t1bPIVWNn6ZQtR8Rm2G4Pyz+e40TVHNNxiOc4CpDRmWC4Vjya+ XyqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=t85FZmtgr41PdbDyfdnor4zrk8NI6RNd78I8ZPBsrZA=; b=oNA19BWx42Na03AbCs1bXoIWI4QGBBKvFxvOPjStEcwlLf/2wwYL95U+URLUiRFsON GJo04WTTxB3uoCEKRlVlEeioymffGzTyHzX31bVH13WuhvQnXBkjujcCZoLJ0MzUE9iC yslMDFcbidqAw4sfNb/AAOGOz50ETXpmWf+GpOL3G0eRGP3ReNZYI8/g4k5R4FC5vE37 jAAwtou6IOETH+BGWK9G64Z/zwa/5XYNHITXPDkv5j9edB2d8r2XGZmKwo68Y4KpL9E4 DtNC+jPB2hWDJvZFIcZwUHP2JUDmrz/iBEVcnjWP9i+Pf78Y22T46yasNQJRI8QZ4kM9 DqKQ== X-Gm-Message-State: ACrzQf0/ghVlg7+opgN7MgOHzgWXpT3VD9NepzqbEMesEKMsYETTt0vl 7MfbiyzNg3L/5+M8U4nR6Sk= X-Google-Smtp-Source: AMsMyM5bahYOpZ+ZgGBVZZGnRMMHUPDQrDY8I3MjMc60rA4vBmoPvn1DiGD7onlwUGk5annZ/yqUdA== X-Received: by 2002:a05:6402:5246:b0:452:76a7:934d with SMTP id t6-20020a056402524600b0045276a7934dmr3868520edd.137.1663332253464; Fri, 16 Sep 2022 05:44:13 -0700 (PDT) Original-Received: from [192.168.178.21] (pd9e36af3.dip0.t-ipconnect.de. [217.227.106.243]) by smtp.gmail.com with ESMTPSA id t11-20020aa7d4cb000000b0044e8774914esm13629465edr.35.2022.09.16.05.44.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Sep 2022 05:44:12 -0700 (PDT) Content-Language: en-US In-Reply-To: <87h7178pcz.fsf@gnus.org> 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:242754 Archived-At: On 22-09-16 14:39 , Lars Ingebrigtsen wrote: > Gerd Möllmann writes: > >> Maybe it's a libgccjit thing? It seems to pass that to ld. >> >> /opt/homebrew/opt/ > strings >> /opt/homebrew/Cellar/libgccjit/12.2.0/lib/gcc/current/libgccjit.0.dylib|grep >> dynamic_lookup >> -Wl,-undefined,dynamic_lookup > > They mention "-bundle_loader", but since I can't find the link to the > actual patch, I'm not sure what, if anything, they're talking about... Yeah, that's my problem, too :-) The ld man page says Options when creating a bundle -bundle_loader executable This specifies the executable that will be loading the bundle output file being linked. Undefined symbols from the bundle are checked against the specified executable like it was one of the dynamic libraries the bundle was linked with. That doesn't look like the right thing.