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 16:01:43 +0200 Message-ID: References: <871qsbwq0u.fsf@gnus.org> <84acc36e7ec1e6784956@heytings.org> <5ebd8fe9-5c98-b485-3618-1f6e398b6ed2@gmail.com> <9120e297-52f4-0d74-8814-27e03ef14eb8@gmail.com> <83v8pn2zpy.fsf@gnu.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="18572"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) Cc: gregory@heytings.org, larsi@gnus.org, 57849@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 16 16:05: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 1oZBxm-0004Y6-Db for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Sep 2022 16:05:02 +0200 Original-Received: from localhost ([::1]:58500 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZBxk-0005ic-TW for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Sep 2022 10:05:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZBus-0004HC-Ky for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 10:02:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44733) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZBus-0000zC-By for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 10:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZBus-0000GP-0f for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 10:02: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 14:02:01 +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.16633369151001 (code B ref 57849); Fri, 16 Sep 2022 14:02:01 +0000 Original-Received: (at 57849) by debbugs.gnu.org; 16 Sep 2022 14:01:55 +0000 Original-Received: from localhost ([127.0.0.1]:43811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZBul-0000G4-7h for submit@debbugs.gnu.org; Fri, 16 Sep 2022 10:01:55 -0400 Original-Received: from mail-ej1-f53.google.com ([209.85.218.53]:39553) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZBuh-0000Fo-U0 for 57849@debbugs.gnu.org; Fri, 16 Sep 2022 10:01:53 -0400 Original-Received: by mail-ej1-f53.google.com with SMTP id y17so44615773ejo.6 for <57849@debbugs.gnu.org>; Fri, 16 Sep 2022 07:01:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=26DCn6siSpIkcsSDuO+gAZ9jAMP0XK8CKNeXYwWR2TM=; b=cq+Vfgpr+5E5BN1+9CBoju0VZlctBpMRM5JbHfJ4Hboxi7mVjgvHwrjeefO17iohhd 0gEkF8cl5pSP2b8a686dnv+tS1P79cV9FYRGe4g5dabYF2DHmBgLqMvx9e7idWwYVawk r7Ki+tDwq2YUVYeqxdxGlMqDJ/es3kxKTuDim1xfYk+dgrzoZYrQCXrM6Lg64umux7yP nNAryVf7snhn3yajbGrzxbzw1l79f0qx4dBNnbWRuaikDQTg7uCNLgHQQjd6R+6XUVOW 8Mil2F/4Ula8RZsOJhgKP5wsgFem2TTdlAqSFu/+8xX6f72FJ4nmeeqYSe5p92x6e9Pd NahQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date; bh=26DCn6siSpIkcsSDuO+gAZ9jAMP0XK8CKNeXYwWR2TM=; b=Hzbj74s5cNTFl5atkfXKjKwzOp61Fp5iJak+GWfZM7jaLRbtJalQe0QsOUo94bnNKj qgRbHAxEc8IYWTK+mOGt3g12XLVm+RruldowjxzqoflBafGksdEEUmeYWRjaaAjG7nP4 ZedzbqkciifusB6LIveYEQ2YZMn6Pwn/ClFxbesH2KsEetr0EvvuZUFbJLnOvmI/ujkC 1tgkgf4fCpCh/hOq+IGjBKMv2bpumsw4y++4jmNXtjW2wqBB+ZUzbZtr7spXMSg6CZxe 9TRfR0eyZQshLMjlkfaiQwY0YP9ZGU7C9ODM2YB+qNaGYFbmJ/XvAAZbheS9joPJIHRx h8qQ== X-Gm-Message-State: ACrzQf1USebSvr4syfzxVJOP3ntTltNWU/jtpPvti9z7/N+gc6Fv4h0F mRj2PzJArr/yfIsWjyBftJQ+LqYcry0Wuw== X-Google-Smtp-Source: AMsMyM5prmFYDpVLNleKm96/CKns4kiFkSvNAThJoxWgD5mIuVLRGCdOiy3E5gYPs8hWszq/T+tJog== X-Received: by 2002:a17:906:5d04:b0:722:f46c:b891 with SMTP id g4-20020a1709065d0400b00722f46cb891mr3835543ejt.4.1663336905325; Fri, 16 Sep 2022 07:01:45 -0700 (PDT) Original-Received: from Mini.fritz.box (pd9e36af3.dip0.t-ipconnect.de. [217.227.106.243]) by smtp.gmail.com with ESMTPSA id g21-20020aa7c855000000b0044e983132c3sm13178594edt.60.2022.09.16.07.01.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Sep 2022 07:01:44 -0700 (PDT) In-Reply-To: <83v8pn2zpy.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 16 Sep 2022 16:52:41 +0300") 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:242766 Archived-At: Eli Zaretskii writes: >> Cc: Lars Ingebrigtsen , 57849@debbugs.gnu.org >> Date: Fri, 16 Sep 2022 15:39:02 +0200 >> From: Gerd M=C3=B6llmann >>=20 >> And trying to pass "-Wl,-w", with "-w" being an ld options to suppress=20 >> warnings, doesn't work either (not that it would be a good idea...) >>=20 >> (let ((native-comp-compiler-options '("-Wl,-w"))) >> (native-compile "/Users/gerd/emacs/crash.el")) >>=20 >> Compiling=20 >> /Users/gerd/.emacs.d/eln-cache/29_0_50-72ec8db5/crash-e892b236-cea0f727.= eln... >> libgccjit.so: error: command-line option '-Wl,-w' is valid for the=20 >> driver but not for > > There's also native-comp-driver-options; did you try that? > > native-comp-compiler-options are for the compiler, i.e. cc1. Thanks, that works! (let ((native-comp-driver-options '("-Wl,-w"))) (native-compile "/Users/gerd/emacs/crash.el")) "/Users/gerd/.emacs.d/eln-cache/29_0_50-72ec8db5/crash-e892b236-cea0f727.el= n" Now I guess the question is how to proceed with this... Or maybe wait for libgccjit to do something?