From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Newsgroups: gmane.emacs.bugs Subject: bug#41077: [feature/native-comp] Segfaults when compiling ELC+ELN Date: Mon, 04 May 2020 23:05:03 +0200 Message-ID: <87d07jfm2o.fsf@gmail.com> References: <878si768l2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="5827"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 41077@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 04 23:06:23 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 1jViIA-0001Om-NY for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 May 2020 23:06:22 +0200 Original-Received: from localhost ([::1]:50506 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jViI9-0001r8-Qh for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 May 2020 17:06:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jViHq-0001qy-8g for bug-gnu-emacs@gnu.org; Mon, 04 May 2020 17:06:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50835) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jViHp-0005aC-VN for bug-gnu-emacs@gnu.org; Mon, 04 May 2020 17:06:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jViHp-0007E5-QD for bug-gnu-emacs@gnu.org; Mon, 04 May 2020 17:06:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 May 2020 21:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41077 X-GNU-PR-Package: emacs Original-Received: via spool by 41077-submit@debbugs.gnu.org id=B41077.158862633227738 (code B ref 41077); Mon, 04 May 2020 21:06:01 +0000 Original-Received: (at 41077) by debbugs.gnu.org; 4 May 2020 21:05:32 +0000 Original-Received: from localhost ([127.0.0.1]:34148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jViH7-0007D6-Sk for submit@debbugs.gnu.org; Mon, 04 May 2020 17:05:31 -0400 Original-Received: from mail-wm1-f50.google.com ([209.85.128.50]:55447) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jViH5-0007Cq-93 for 41077@debbugs.gnu.org; Mon, 04 May 2020 17:05:15 -0400 Original-Received: by mail-wm1-f50.google.com with SMTP id e26so1007712wmk.5 for <41077@debbugs.gnu.org>; Mon, 04 May 2020 14:05:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=EZAAIY7EJkaosBsZLYTruEUW22GXnagdVbBwEJpJJQs=; b=JT1wkz1m795M9sHyOPG/A1Y8VjlGEyA0t57KGR6tm+h0PToBnpRdG6c1aORhD4JZVx 4yWBANk78VWiHQ4FHU2b18/DIJAiLjybleqApFkb46k2/6czFYUvETOII0fq3bWmS/ev MORX1hkMLqsfsqO4Ea9iIDxz8GYtxKfj0b6i+rihbarHfdvjw/DEqO3ALOvcfd50Majh UV3cB7pvpHavL12X8nZpJOYzz5a6MQNq198E+/cH8Y/OzDL2svfyHVeDVtoTjziakeXQ CB6UnMIv2Q8Mtg/i5C6vkiegwapdPdsRTUhyxmYQOnvKg87j2ihtbs4b/S27wUO0cSou kW/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=EZAAIY7EJkaosBsZLYTruEUW22GXnagdVbBwEJpJJQs=; b=n2m5wIKk0cQzx04Xem6RJXe7GScS1kUwgiQA7BvbfqTVkYeU3XXrqsxquKgblwV62H 01LsEHSqIKemMEyYoCWtffmgunK/kJBxvPfoLwoYgzY9KKXjAbC6wkBb4KMHhkoA8gWM ltO1t2umn7/onDel4sBM/HSNXpe1NHHdBdNCuvjz6wqb4yPMh+P3MpeRt8z4LjcKkOyf w+XtAiCFmcgGNiXVZ9k46bModjZGhVPbTeKqzkJs6dzEiRj78E/JKDBMGpQjiSr3MYCx MC823xa4DhTlW9pY3dW3MyfsLbKevghw3sZYAoJtiK1rA8aCZngpyX2YJwU79R8BQebp wyTA== X-Gm-Message-State: AGi0Pub9d0iKjD5CxInJAFUnQjc3ikZYGevOC9UeqRM+c9Y1gKhh7fRq +1MQPLGZVzv7i1NK2Bts6+JVe4h9bxgYSA== X-Google-Smtp-Source: APiQypIeNqrBrXPbRP2pSgGBbeTsD2P8eQ77Jxjl+zbTN1oQw0L+rCfIIpH17TKN+Dr67ABDC/Jrng== X-Received: by 2002:a1c:4b15:: with SMTP id y21mr16667914wma.150.1588626305870; Mon, 04 May 2020 14:05:05 -0700 (PDT) Original-Received: from little-buster (200.143.13.109.rev.sfr.net. [109.13.143.200]) by smtp.gmail.com with ESMTPSA id 2sm16493787wre.25.2020.05.04.14.05.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 May 2020 14:05:05 -0700 (PDT) In-Reply-To: (Andrea Corallo's message of "Mon, 04 May 2020 16:31:46 +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" Xref: news.gmane.io gmane.emacs.bugs:179703 Archived-At: 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.) 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.