From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Perry E. Metzger" Newsgroups: gmane.emacs.devel Subject: Re: Failure building with libgccjit under MacOS Monterey Date: Sat, 13 Nov 2021 18:58:05 -0500 Message-ID: <6796a358-fdd5-2b53-6fee-0f4c5144e5af@piermont.com> References: <4f09a21c-2007-5949-1dc5-9dda150063f0@piermont.com> <83sfw0y10j.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33774"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:95.0) Gecko/20100101 Thunderbird/95.0 Cc: emacs-devel@gnu.org To: Eli Zaretskii , Alan Third Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 14 00:59:26 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 1mm2ve-0008ZZ-6A for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Nov 2021 00:59:26 +0100 Original-Received: from localhost ([::1]:37152 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mm2vc-0005n1-SZ for ged-emacs-devel@m.gmane-mx.org; Sat, 13 Nov 2021 18:59:24 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33836) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mm2uV-000567-5o for emacs-devel@gnu.org; Sat, 13 Nov 2021 18:58:15 -0500 Original-Received: from hacklheber.piermont.com ([166.84.7.14]:42184) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mm2uS-0000BF-GR for emacs-devel@gnu.org; Sat, 13 Nov 2021 18:58:14 -0500 Original-Received: from snark.cb.piermont.com (localhost [127.0.0.1]) by hacklheber.piermont.com (Postfix) with ESMTP id 49C9A14D; Sat, 13 Nov 2021 18:58:06 -0500 (EST) Original-Received: from [10.160.2.107] (jabberwock.cb.piermont.com [10.160.2.107]) by snark.cb.piermont.com (Postfix) with ESMTP id CAB002DF52E; Sat, 13 Nov 2021 18:58:05 -0500 (EST) Content-Language: en-US In-Reply-To: <83sfw0y10j.fsf@gnu.org> Received-SPF: pass client-ip=166.84.7.14; envelope-from=perry@piermont.com; helo=hacklheber.piermont.com X-Spam_score_int: -37 X-Spam_score: -3.8 X-Spam_bar: --- X-Spam_report: (-3.8 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-1.852, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action 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:279359 Archived-At: On 11/13/21 02:21, Eli Zaretskii wrote: >> 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. What's weird here is that more or less nothing happened; it simply broke in the last few weeks. I'm guessing, though, that I'm the only person in a position to figure this out so I'll start digging. (I was kind of hoping it was a known issue and someone else had seen it previously.) Perry