From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: Emacs build fails [MSYS2/MINGW64] Date: Mon, 29 Apr 2019 13:53:05 +0200 (CEST) Message-ID: <1118604098.1569315.1556538785729@mail.libero.it> References: <1443630449.1251981.1556465864402@mail.libero.it> <6790fa0c-6544-df50-b4f1-a77ca0daea1f@cs.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="142018"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 29 13:53:18 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hL4qS-000als-8S for ged-emacs-devel@m.gmane.org; Mon, 29 Apr 2019 13:53:16 +0200 Original-Received: from localhost ([127.0.0.1]:56242 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hL4qR-00073j-8P for ged-emacs-devel@m.gmane.org; Mon, 29 Apr 2019 07:53:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hL4qL-00073P-9j for emacs-devel@gnu.org; Mon, 29 Apr 2019 07:53:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hL4qK-0005Sb-Db for emacs-devel@gnu.org; Mon, 29 Apr 2019 07:53:09 -0400 Original-Received: from smtp-35-i2.italiaonline.it ([213.209.12.35]:41155 helo=libero.it) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hL4qK-0005R8-57 for emacs-devel@gnu.org; Mon, 29 Apr 2019 07:53:08 -0400 Original-Received: from oxapps-05-025.iol.local ([10.101.8.35]) by smtp-35.iol.local with ESMTPA id L4qHhU1qrJiB3L4qHhIpoA; Mon, 29 Apr 2019 13:53:06 +0200 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2014; t=1556538786; bh=yoGzn2RSteOSBtf9MZmpCqnXmv62GLDurXFBiPNraAY=; h=Date:From:To:Cc:In-Reply-To:References:Subject; b=kZgv9g28z6l1i9LmQti83gKwInoMLPNkhHCS7DqqoTKujFcxR4guf9SxZPYdT3HED 7nGdWShYZj7TEU2USGPkOrBkLWiwZH9xlMWkhzYWcBty/wC7SoOaJ/krqWfJtITHgr o3acbED9YBnS65KFnUkhYPS7UgDSuUAerTQvf9gCXQKZTF2JIm5o2aPdtUh6qXKzoe BC2Z/C4wQr8Hwn38YBeixVtM9ttJ59fooHrufw8E9HhA/QL3Q2/LL7+hcYv5e6cwBn oxqWN4O/72FM2r8PV5sHyg8k2KguiXTg0azenew3wUMPNQgyNeO79o5NCtUcMghkmi NrbAcslcrQ5/A== X-CNFS-Analysis: v=2.3 cv=aJMhVo1m c=1 sm=1 tr=0 cx=a_idp_d a=lOOlRasRFvNbp1459B5UnQ==:117 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=IeEkGC0_OtgA:10 a=IkcTkHD0fZMA:10 a=3N_YkGqMTnQA:10 a=5d2elVceFNb9O-nW3p8A:9 a=QEXdDO2ut3YA:10 In-Reply-To: <6790fa0c-6544-df50-b4f1-a77ca0daea1f@cs.ucla.edu> X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.3-Rev55 X-Originating-IP: 79.52.221.180 X-Originating-Client: open-xchange-appsuite x-libjamsun: 3r87WtA8Fd/z6B0rJ7CpaOuN8/xfdQbV x-libjamv: TdiArs5H3dY= X-CMAE-Envelope: MS4wfMu9HkTvEL76L5coftuCTIDebq+WmJp1E3L2Z64rcz/Hk1j+9kGHfBqeI7BIsLLz6x4iXq2GloI3abe2z9EUY2kbftTJYmFpya7FJ7cGN/hHcKT72C5I RwPIcuRcXbbEi9nOJ6ycKGhclOqh83ttsT0DGzJbxLiUT+PlJArekrFGWsbM5ZEpJ5UxjJmvviTFICtbObWws8uEO9k+TpUjOew= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 213.209.12.35 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:236025 Archived-At: > Il 28 aprile 2019 alle 18.10 Paul Eggert ha scritto: > > > Angelo Graziosi wrote: > > Starting with this commit: > > > > Paul Eggert : > > Mark _Noreturn error functions as cold > > 2019-04-18 00:35:18 > > > > the build of Emacs up to master (the last I tried is 75ee20364) fails (bootstrap-emacs.pdmp SEGMENT FAULT). > > That's odd, since adding __attribute__ ((cold)) should affect only performance. > If it causes a core dump, that suggests that there is a bug either somewhere > else in Emacs (which __attribute__ ((cold)) happens to tickle) or in the > compiler. Can you reproduce the problem when compiling with '-g3 -O0 -gdwarf-4' > and get a backtrace, as suggested in etc/DEBUG? Just for completeness... It seems that it is the optimization flag which causes the issue. Using "-O0" on place of "-O2" or "-O3" in my script fixes the issue...