[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Failure building with libgccjit under MacOS Monterey
From: |
Eli Zaretskii |
Subject: |
Re: Failure building with libgccjit under MacOS Monterey |
Date: |
Sat, 13 Nov 2021 09:21:00 +0200 |
> 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.