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: native compilation version on AArch64 running Debian 9.9 Date: Wed, 10 Mar 2021 16:12:08 +0200 Message-ID: <83wnufnlmv.fsf@gnu.org> References: <87sg53xmkr.fsf@ucl.ac.uk> <83eegnp58l.fsf@gnu.org> <87mtvbxk9r.fsf@ucl.ac.uk> <8335x3p1b4.fsf@gnu.org> <87eegnxgex.fsf@ucl.ac.uk> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25523"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eric S Fraga Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 10 15:13:03 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 1lJzaB-0006Xz-0d for ged-emacs-devel@m.gmane-mx.org; Wed, 10 Mar 2021 15:13:03 +0100 Original-Received: from localhost ([::1]:53710 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJzaA-0005Ii-2X for ged-emacs-devel@m.gmane-mx.org; Wed, 10 Mar 2021 09:13:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60148) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJzZL-0004Y2-Nt for emacs-devel@gnu.org; Wed, 10 Mar 2021 09:12:11 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33858) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJzZK-0006Cp-RU; Wed, 10 Mar 2021 09:12:10 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1427 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lJzZK-0003Nm-AY; Wed, 10 Mar 2021 09:12:10 -0500 In-Reply-To: <87eegnxgex.fsf@ucl.ac.uk> (message from Eric S Fraga on Wed, 10 Mar 2021 13:54:46 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:266280 Archived-At: > From: Eric S Fraga > Date: Wed, 10 Mar 2021 13:54:46 +0000 > > On Wednesday, 10 Mar 2021 at 15:48, Eli Gretzky wrote: > > If it just repeats the argument, it means GCC cannot find the library, > > probably because it looks in the wrong places. > > Indeed. And that's what I cannot understand and need some pointers to > see if I can fix the problem. > > Emacs builds just fine without the native compilation option so > obviously gcc compiles and runs the various tests in the configure > file. Only the jit aspect fails in finding the library. > > I have looked at /etc/ld.so.conf (and .d), for instance, and everything > looks fine. Does anybody have any suggestion as to where &/or how gcc > might be getting misinformed? Run the same compilation that the configure test does, but add -v to the GCC command-line options. Then look at the output, which should show which directories are searched for libraries during the link step.