From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Failure building with libgccjit under MacOS Monterey Date: Sat, 13 Nov 2021 09:21:00 +0200 Message-ID: <83sfw0y10j.fsf@gnu.org> References: <4f09a21c-2007-5949-1dc5-9dda150063f0@piermont.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24519"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, perry@piermont.com To: Alan Third Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 13 08:22:02 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mlnMP-00067B-4L for ged-emacs-devel@m.gmane-mx.org; Sat, 13 Nov 2021 08:22:01 +0100 Original-Received: from localhost ([::1]:38460 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlnMO-0001a7-08 for ged-emacs-devel@m.gmane-mx.org; Sat, 13 Nov 2021 02:22:00 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37112) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlnLj-0000v8-KR for emacs-devel@gnu.org; Sat, 13 Nov 2021 02:21:19 -0500 Original-Received: from [2001:470:142:3::e] (port=39398 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlnLi-00019C-N4; Sat, 13 Nov 2021 02:21:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=WTjZSkcne5nTzcmbopK4ZKPmOzstCJ0nh62vsNs+1zs=; b=bigpOyJ2hCDA lTEbvK0ZArOx7LIWSMLGfs/ZWnqgfXCFSwLchZCetHMpr7iT4rRjVeWsycXEhWP+KFjoNj+gJcsW2 JP0iRS2gRMgsL/Raz8PY3zILMWNasG922XI9h4SMkADiHpcYj3Bhut9R8DzHn5NyjJ4PSKTBMOf1j cRI/l8I3pNNcjSocvkd5ARxr51VEISB9iUF5xb0V7dSEM0YSPeHJ1dcv2HRnWmnjqNeNi/JelmIGE SutVPOnphlpnb0BbULA8wSJ/y6ouEGeKSpOkV7hnBQNIH+DlZrQyzmAZ5L/qqEn1snq3kNM0LtY7U xLlt3ohXpjREigiDGZKKFQ==; Original-Received: from [87.69.77.57] (port=3427 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlnLi-0000rJ-3Y; Sat, 13 Nov 2021 02:21:18 -0500 In-Reply-To: (message from Alan Third on Fri, 12 Nov 2021 21:23:58 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:279303 Archived-At: > Date: Fri, 12 Nov 2021 21:23:58 +0000 > From: Alan Third > Cc: emacs-devel > > 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.