From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#41077: [feature/native-comp] Segfaults when compiling ELC+ELN Date: Mon, 04 May 2020 21:15:24 +0000 Message-ID: References: <878si768l2.fsf@gmail.com> <87d07jfm2o.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="80760"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: 41077-done@debbugs.gnu.org To: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 04 23:23:54 2020 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 1jViZ8-000Kud-7q for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 May 2020 23:23:54 +0200 Original-Received: from localhost ([::1]:42842 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jViZ7-0002zw-7C for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 May 2020 17:23:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jViRX-0005LF-8M for bug-gnu-emacs@gnu.org; Mon, 04 May 2020 17:16:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50857) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jViRV-0001Y3-V4 for bug-gnu-emacs@gnu.org; Mon, 04 May 2020 17:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jViRV-0007TK-QY for bug-gnu-emacs@gnu.org; Mon, 04 May 2020 17:16:01 -0400 Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 May 2020 21:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 41077 X-GNU-PR-Package: emacs Mail-Followup-To: 41077@debbugs.gnu.org, akrl@sdf.org, kevin.legouguec@gmail.com Original-Received: via spool by 41077-done@debbugs.gnu.org id=D41077.158862694328692 (code D ref 41077); Mon, 04 May 2020 21:16:01 +0000 Original-Received: (at 41077-done) by debbugs.gnu.org; 4 May 2020 21:15:43 +0000 Original-Received: from localhost ([127.0.0.1]:34170 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jViRC-0007Sh-8m for submit@debbugs.gnu.org; Mon, 04 May 2020 17:15:43 -0400 Original-Received: from mx.sdf.org ([205.166.94.20]:50477) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jViQw-0007SL-2P for 41077-done@debbugs.gnu.org; Mon, 04 May 2020 17:15:41 -0400 Original-Received: from sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 044LFOEI022102 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Mon, 4 May 2020 21:15:25 GMT Original-Received: (from akrl@localhost) by sdf.org (8.15.2/8.12.8/Submit) id 044LFOMR026307; Mon, 4 May 2020 21:15:24 GMT In-Reply-To: <87d07jfm2o.fsf@gmail.com> ("=?UTF-8?Q?K=C3=A9vin?= Le Gouguec"'s message of "Mon, 04 May 2020 23:05:03 +0200") 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" Xref: news.gmane.io gmane.emacs.bugs:179705 Archived-At: K=C3=A9vin Le Gouguec writes: > Andrea Corallo writes: > >> please try compiling and running this: >> >> https://gcc.gnu.org/onlinedocs/jit/intro/tutorial01.html >> >> we'll know to begin with if this is an issue of the native-comp branch >> or (as I suspect) of the libgccjit package of the distro. > > Good guess: that compiles without any warning, then segfaults too. > > Should I follow the instructions from > https://gcc.gnu.org/wiki/JIT#Building_it_from_source to get a more > recent libgccjit.so? Is there a minimal required version, or does the > problem come from something else? (E.g. the way the distro compiled the > library.) All versions should work but at this point I'd go for releases/gcc-10 or releases/gcc-9.3.0 Yes that's the link to look at. > Feel free to close this report; I can open a new one if needed after I > get the tutorial you mentioned running correctly. > > Thank you for taking a look at this. You are welcome, closing it. Andrea --=20 akrl@sdf.org