[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57849: 29.0.50; MacOS ld warning from native compilation
From: |
Gerd Möllmann |
Subject: |
bug#57849: 29.0.50; MacOS ld warning from native compilation |
Date: |
Fri, 16 Sep 2022 16:01:43 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) |
Eli Zaretskii <eliz@gnu.org> writes:
>> Cc: Lars Ingebrigtsen <larsi@gnus.org>, 57849@debbugs.gnu.org
>> Date: Fri, 16 Sep 2022 15:39:02 +0200
>> From: Gerd Möllmann <gerd.moellmann@gmail.com>
>>
>> And trying to pass "-Wl,-w", with "-w" being an ld options to suppress
>> warnings, doesn't work either (not that it would be a good idea...)
>>
>> (let ((native-comp-compiler-options '("-Wl,-w")))
>> (native-compile "/Users/gerd/emacs/crash.el"))
>>
>> Compiling
>> /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
>> 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.eln"
Now I guess the question is how to proceed with this... Or maybe wait
for libgccjit to do something?
- bug#57849: 29.0.50; MacOS ld warning from native compilation, Gerd Möllmann, 2022/09/16
- bug#57849: 29.0.50; MacOS ld warning from native compilation, Andrea Corallo, 2022/09/16
- bug#57849: 29.0.50; MacOS ld warning from native compilation, Gerd Möllmann, 2022/09/17
- bug#57849: 29.0.50; MacOS ld warning from native compilation, Gerd Möllmann, 2022/09/17
- bug#57849: 29.0.50; MacOS ld warning from native compilation, Eli Zaretskii, 2022/09/17
- bug#57849: 29.0.50; MacOS ld warning from native compilation, Gerd Möllmann, 2022/09/17
- bug#57849: 29.0.50; MacOS ld warning from native compilation, Gerd Möllmann, 2022/09/17
- bug#57849: 29.0.50; MacOS ld warning from native compilation, Gerd Möllmann, 2022/09/19