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: Dependencies for native compiling emacs not found Date: Thu, 23 Dec 2021 21:43:33 +0200 Message-ID: <83sfujt8d6.fsf@gnu.org> References: <87czln1wvw.fsf@posteo.net> <83tuezve2u.fsf@gnu.org> <878rwb1nqz.fsf@posteo.net> <83mtkrv1pf.fsf@gnu.org> <874k6z1fo9.fsf@posteo.net> <83bl17uwbo.fsf@gnu.org> <87v8zfz09u.fsf@posteo.net> <838rwbuqsg.fsf@gnu.org> <87fsqjp3r1.fsf@posteo.net> <83zgort9m8.fsf@gnu.org> <87bl17p0yx.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15938"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Thierry Volpiatto Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 23 20:44:48 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 1n0U19-0003vQ-LR for ged-emacs-devel@m.gmane-mx.org; Thu, 23 Dec 2021 20:44:47 +0100 Original-Received: from localhost ([::1]:34898 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n0U18-0003cz-Bx for ged-emacs-devel@m.gmane-mx.org; Thu, 23 Dec 2021 14:44:46 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47244) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0Tzy-0001oO-4b for emacs-devel@gnu.org; Thu, 23 Dec 2021 14:43:34 -0500 Original-Received: from [2001:470:142:3::e] (port=38076 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 1n0Tzq-0005k2-PO; Thu, 23 Dec 2021 14:43:33 -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=fHpT78nDKAVZ6WIA20X9GQ5/UpfYTuEOdZ23bwLk7GY=; b=cO8FVYn5NaIY dYOJy/5u/oC0ui2BMcQgPpF4Topz5wdmbk8lUg4IjI2Zc9Vm9+GXO6bJ3Ee2t8HtTo+GbHitOtFNt WR3crnHjrOXcb7yRzgEudJPWTGPmlofkGSYuN8aTIYveBjpKHXg30yHkE1vBAcQ7O8FwSHhtDxBJb yt5/ryUIRcDs2o7Gz371MlfE4aA7LrV0GVhnXNvF/Q65+O3fsR3x49aYmyPyIz5OtO4l31f1vP/nW vGFleEscfbyFIitpiEG6QBJm49W5p9l/uBsxbosFk5XTd1UW8OynIMQD+Idpx6SluYEXkxFoFHfTS JTZUb+/SwalcbkCJHg7Sog==; Original-Received: from [87.69.77.57] (port=1216 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 1n0Tzq-0007ae-3k; Thu, 23 Dec 2021 14:43:27 -0500 In-Reply-To: <87bl17p0yx.fsf@posteo.net> (message from Thierry Volpiatto on Thu, 23 Dec 2021 19:36:38 +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:283022 Archived-At: > From: Thierry Volpiatto > Cc: emacs-devel@gnu.org > Date: Thu, 23 Dec 2021 19:36:38 +0000 > > Eli Zaretskii writes: > > >> From: Thierry Volpiatto > >> Cc: emacs-devel@gnu.org > >> Date: Thu, 23 Dec 2021 18:27:08 +0000 > >> > >> Ok, installing libgccjit-9-dev like Andreas suggested worked, so IIUC we > >> need a libgccjit version compatible with the gcc installed > >> e.g. libgccjit-10 with gcc-10 right? > > > > Right. > > Ok, thanks to confirm. Just FTR: note that "compatible with" in this case doesn't necessarily mean "of the same GCC version". For example, people who build on macOS use Clang for building Emacs, but can still install libgccjit for native-compilation. I believe the actual problem in your case was that GCC 9 couldn't find libgccjit from GCC 10, because it was looking in the wrong subdirectory of /usr/lib/x86_64-linux-gnu/, since (AFAIU) libgccjit is installed into a versioned subdirectory of that directory, and GCC looks for it in the subdirectory that matches its version.