unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Alan Third <alan@idiocy.org>
Cc: emacs-devel@gnu.org, perry@piermont.com
Subject: Re: Failure building with libgccjit under MacOS Monterey
Date: Sat, 13 Nov 2021 09:21:00 +0200	[thread overview]
Message-ID: <83sfw0y10j.fsf@gnu.org> (raw)
In-Reply-To: <YY7bbjJQCErn/Buo@idiocy.org> (message from Alan Third on Fri, 12 Nov 2021 21:23:58 +0000)

> Date: Fri, 12 Nov 2021 21:23:58 +0000
> From: Alan Third <alan@idiocy.org>
> Cc: emacs-devel <emacs-devel@gnu.org>
> 
> Hmm, I don't see anything wrong with the command lines. It looks like
> the error is actually being caused by the attempt to set up or use
> libgccjit within the smoketest.
> 
> I don't know anything about how that works. The full error text for
> anyone interested is below.
> 
> configure:17126: /usr/bin/cc -o conftest -g3 -O2 -I/opt/local/include/librsvg-2.0 -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include -I/opt/local/include/cairo -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/ossp -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/gcc11   -I/opt/local/include -I/opt/local/include/gcc11 -L/opt/local/lib -L/opt/local/lib/gcc11 conftest.c -lgccjit   -L/opt/local/lib/gcc11 >&5
> configure:17126: $? = 0
> configure:17126: ./conftest
> ld: library not found for -lSystem  <<<<<<<<<<<<<<<<<<<<<<<
> collect2: error: ld returned 1 exit status
> libgccjit.so: error: error invoking gcc driver
> configure:17126: $? = 1
> configure: program exited with status 1

The line I highlighted seems to say that some dependency library is
missing, and the linker therefore fails to link the text program.



  reply	other threads:[~2021-11-13  7:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-07 21:46 Failure building with libgccjit under MacOS Monterey Perry E. Metzger
2021-11-08 20:16 ` Alan Third
2021-11-08 20:49   ` Perry E. Metzger
2021-11-12 21:23     ` Alan Third
2021-11-13  7:21       ` Eli Zaretskii [this message]
2021-11-13 23:58         ` Perry E. Metzger

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=83sfw0y10j.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=alan@idiocy.org \
    --cc=emacs-devel@gnu.org \
    --cc=perry@piermont.com \
    /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).