From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#48116: Problems when cross-compiling native-comp Date: Wed, 07 Jun 2023 17:38:45 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39552"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 48116-done@debbugs.gnu.org, Anatole Dahan To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 07 23:39:22 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1q70sD-000A7X-UI for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Jun 2023 23:39:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q70rw-0007Cs-03; Wed, 07 Jun 2023 17:39:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q70rv-0007Cc-33 for bug-gnu-emacs@gnu.org; Wed, 07 Jun 2023 17:39:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q70ru-0000uk-Qa for bug-gnu-emacs@gnu.org; Wed, 07 Jun 2023 17:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q70ru-0006QG-MS for bug-gnu-emacs@gnu.org; Wed, 07 Jun 2023 17:39:02 -0400 Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Jun 2023 21:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 48116 X-GNU-PR-Package: emacs Mail-Followup-To: 48116@debbugs.gnu.org, acorallo@gnu.org, dahan@imj-prg.fr Original-Received: via spool by 48116-done@debbugs.gnu.org id=D48116.168617393424668 (code D ref 48116); Wed, 07 Jun 2023 21:39:02 +0000 Original-Received: (at 48116-done) by debbugs.gnu.org; 7 Jun 2023 21:38:54 +0000 Original-Received: from localhost ([127.0.0.1]:54970 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q70rm-0006Po-90 for submit@debbugs.gnu.org; Wed, 07 Jun 2023 17:38:54 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q70rj-0006PX-Ne for 48116-done@debbugs.gnu.org; Wed, 07 Jun 2023 17:38:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q70rd-0000ry-Cx; Wed, 07 Jun 2023 17:38:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=zH7njA/nns3BTINqlCeaPQz0UJJ2MwKp2R2Xp8yzv6o=; b=iIWWNKa4NCQcW28sHHB0 3ocdCZe/QvVZeoYJrKWG2zqQewzZSRA4+XLY5O/HRuWJZif1S/RFU4fxkFW1gqfI6+PsJ62PZFYjH xnV/Qkd60fvhFbQ7+Nq4Lbk6fdrqTUeg1JFFoq8Ad6JhPq/gCaOVaplTHiBBUoxtVUTgbLazqmoF0 65DWgNwuutuV87uULNbBZyUHtrrN5iKnxzCLyRmnlIk0FBBDyuE2y0eVahane4LRMHfsWZfApbAfA 13aQ/q/gGWMvP1yrqptwSpzGudODjlQkM9beCv9qLMdqfI9kwYVPgQljriqXDFP1Hj7KG7rimP8aQ chcDvzMGOoVT6w==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1q70rd-0007hD-70; Wed, 07 Jun 2023 17:38:45 -0400 In-Reply-To: (Andrea Corallo's message of "Sun, 02 May 2021 21:45:25 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:263092 Archived-At: Andrea Corallo writes: > Anatole Dahan writes: > >> Hi, >> >> I have encountered errors while configuring emacs, and I was told to sen= d a bug report here. You will find my config.log attached, together with my= environment variables. >> >> For context, I am trying to cross-compile native-compilation. I guess >> this might not be supported, as libgccjit makes it quite complicated >> (I didn=E2=80=99t yet find a way to bypass the smoke test). I have built= the >> NATIVE libgccjit for i586-linux-musl (maybe I am wrong about that ?) >> >> Anyway, both sys/inotify.h and libgccjit.h are present, but they are >> marked as missing because they can=E2=80=99t be used (which seems legit,= at >> least for libgccjit, since it is built for native >> i586-linux-musl). From what I understood, this is considered a bug. >> >> Best, >> =E2=80=94Anatole Dahan > > Hi Anatole, > > generally speaking we do not support cross compilation using the native > build as libgccjit AFAIK is just not made for cross compiling. I > suspect in your specific case this should be possible with some hacking > but coming to the problem of bypassing the smoke test I think the > easiest is to start with is commenting it out from configure.ac. Closing this old bug as, as mentioned, we (and libgccjit as well) don't support cross native compiled builds. Best Regards Andrea