unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Niels Søndergaard" <nisoni@algon.dk>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 50411@debbugs.gnu.org, "Niels Søndergaard" <nisoni@algon.dk>
Subject: bug#50411: 28.0.50; emacs compilation
Date: Mon, 6 Sep 2021 10:30:27 +0200	[thread overview]
Message-ID: <30FF0A49-67AE-4071-8C85-1350355F1908@algon.dk> (raw)
In-Reply-To: <83y28as4g9.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1764 bytes --]

Hello,

“Configure” finds libgccjit at: LDFLAGS =  -L/opt/homebrew/Cellar/libgccjit/11.2.0/lib/gcc/11, where the 3 libraries reside: libgccjit.so       libgccjit.so.0     libgccjit.so.0.0.1
The program “comp.c” can’t find the <libgccjit.h> even that it reside at /opt/homebrew/Cellar/libgccjit/11.2.0/include : libgccjit++.h libgccjit.h 

So I think that the configure is wrong in some way

mvh
Niels


 <applewebdata://7574984A-81D5-4594-B992-0FC18FEEA9A1>
Niels Søndergaard
Mariehøj 236, 2990 Nivå
 <tel:+45 4052 2789>+45 4052 2789niels@algon.dk <mailto:niels@algon.dk>
Ultra posse nemo obligatur.

> Den 6. sep. 2021 kl. 06.39 skrev Eli Zaretskii <eliz@gnu.org>:
> 
>> 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.


[-- Attachment #2: Type: text/html, Size: 15609 bytes --]

  reply	other threads:[~2021-09-06  8:30 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
2021-09-06  8:30   ` Niels Søndergaard [this message]
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=30FF0A49-67AE-4071-8C85-1350355F1908@algon.dk \
    --to=nisoni@algon.dk \
    --cc=50411@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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).