unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Niels Søndergaard" <nisoni@algon.dk>
Cc: 50411@debbugs.gnu.org
Subject: bug#50411: 28.0.50; emacs compilation
Date: Mon, 06 Sep 2021 07:39:18 +0300	[thread overview]
Message-ID: <83y28as4g9.fsf@gnu.org> (raw)
In-Reply-To: <B9094F1C-54A9-418E-9158-3F25595A4E87@algon.dk> (message from Niels Søndergaard on Sun, 5 Sep 2021 21:10:25 +0200)

> From: Niels Søndergaard <nisoni@algon.dk>
> Date: Sun, 5 Sep 2021 21:10:25 +0200
> 
> I tried to compile 28.0.50 --with-native-compilation
> 
> this warning came out:
> 
> Warning (initialization): An error occurred while loading ‘/Users/niels/.emacs.d/init.el’:
> 
> Native compiler error: (lambda (arg0 &optional) (let ((f #'yes-or-no-p)) (funcall f arg0))), Compiling
> /Users/niels/.emacs.d/eln-cache/28_0_50-8be1867a/subr--trampoline-7965732d6f722d6e6f2d70_yes_or_no_p_0.eln...
> 
> ld: library not found for -lgcc_s.1.1
> libgccjit.so: error: error invoking gcc driver

This means your libgccjit installation is broken: it lacks some shared
libraries it needs, at least the one shown, libgcc_s.1.1.so (or maybe
the extension should be .dynlib on macOS?).

> the rest of the compilation goes well, however the statement, but emacs
> crashes under initialization whenever it tries to evaluate (fset 'yes-or-no-p 'y-or-n-p)......

Yes, of course: it tries to call functions from a missing library.





  reply	other threads:[~2021-09-06  4:39 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-05 19:10 bug#50411: 28.0.50; emacs compilation Niels Søndergaard
2021-09-06  4:39 ` Eli Zaretskii [this message]
2021-09-06  8:30   ` Niels Søndergaard
2021-09-06  8:38   ` Niels Søndergaard
2021-09-06 10:58     ` Eli Zaretskii
2021-09-18 13:58       ` Daniel Fleischer
2021-09-18 14:20         ` Eli Zaretskii
2021-09-18 20:28           ` Niels Søndergaard
2021-09-18 21:25           ` Daniel Fleischer
2021-09-19  0:46             ` Niels Søndergaard
2021-09-19  7:08               ` Daniel Fleischer
2021-09-19  5:40             ` Eli Zaretskii
2021-09-19 14:30               ` Daniel Fleischer
2021-09-19 16:16                 ` Eli Zaretskii
2021-09-19 17:56                   ` Alan Third
2021-09-22  6:49                     ` Eli Zaretskii
2021-09-22  7:09                       ` Niels Søndergaard
2022-08-22 20:50                       ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83y28as4g9.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=50411@debbugs.gnu.org \
    --cc=nisoni@algon.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).