From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Nikolay Kudryavtsev Newsgroups: gmane.emacs.devel Subject: Re: Unexec dumping results in "Segmentation fault" on Windows Msys2 Date: Thu, 22 Apr 2021 21:59:39 +0300 Message-ID: <56ea3a32-befc-e0fc-fa15-3fae9ec26fa3@gmail.com> References: <83im52ed8b.fsf@gnu.org> <989be2e0-a090-309b-58cb-8064c6bd5aee@gmail.com> <83y2dycmgr.fsf@gnu.org> <835z0oyrct.fsf@gnu.org> <83eefby1hy.fsf@gnu.org> <64f14133-a647-7406-4908-671258038ae2@gmail.com> <834kg7xqrm.fsf@gnu.org> <79b4e022-5d46-ae76-2192-9e8594c43d8d@gmail.com> <83o8eevwym.fsf@gnu.org> <8ed0330c-482f-3f82-8b37-308328a314b5@gmail.com> <83v98fpmc0.fsf@gnu.org> <83zgxqnsi8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26347"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 22 21:02:17 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 1lZead-0006Xv-6r for ged-emacs-devel@m.gmane-mx.org; Thu, 22 Apr 2021 21:02:15 +0200 Original-Received: from localhost ([::1]:59152 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZeac-0001zz-4a for ged-emacs-devel@m.gmane-mx.org; Thu, 22 Apr 2021 15:02:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZeYG-0000jF-EG for emacs-devel@gnu.org; Thu, 22 Apr 2021 14:59:48 -0400 Original-Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]:34697) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZeYD-0007ae-Pl; Thu, 22 Apr 2021 14:59:48 -0400 Original-Received: by mail-lj1-x22f.google.com with SMTP id o5so19991744ljc.1; Thu, 22 Apr 2021 11:59:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=MiKLFMSyTEXIWL1wL2lmv4ryJSdEL7Q6ND3Zewnprrk=; b=fj0Nx2IRZUZyHiohz8tZRpGlKdufhU+RsxPafYMqOVQvvbE1SOsxatDkb3nx5NMcMU RXuxd0Pk7D1cIKXTrWisNqaadCeHzDiTyIzVo7Fip8XxAC46R1gP1u9Rv4Ev2nqD1UjW V1CkswSHwOs5GeyHUShcp/S8l2iILRrWoabsIddxP2fdxWrH/tINhFkXiPyyjKyjP/oE 1EMCryHxnX0ldFsGrSezR5yA7gXzjPl8jGumtf4KePKPp5B2lg54eQ8Lq3ik9vK81gWH dRGx+v3AGtc06NFQADBQkwXsdN/i4oS6fpRelWtMH0jastgEhv+YCnNakX5gfHJYrbcg fy9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=MiKLFMSyTEXIWL1wL2lmv4ryJSdEL7Q6ND3Zewnprrk=; b=dSxvRLA2YiNJWNS0jP5uCRBucCwVUqw/dUOZXKKC1h8VdqlI4K/25n9itkTXc76LT1 +Wb+Cw6tsSFs2sxx/T8YDxBBOVNhoyemAu5zr/l9e3WDQR9czHVN0Hi6F9S0OpoiVJYj eWzBj7ilKNwyUPfWJSDucuzNGqhu7VWxD2O0VR7/YUBABRAsVFYLYRayTlXSdza32XvV qd8C8H//q45H9HjzxzyF8v1WTG7YnfkXv/SmVxieXtw4DxYCGVe17Xot4zYAlqYMKgYO uT7ggWgek1bsyfRuILYmjqush9FEy61EEvOpAXBPX3F3FHmLQGvHAP2YJ7oUI2xx1PUL bQwQ== X-Gm-Message-State: AOAM5339o78PX4bSsFGNeuh8CAPNph3TJqOC1U6IX8MnD4Q7xyTKTecm eVdELNaPL9Hsgqodk7OakSakctynPM4= X-Google-Smtp-Source: ABdhPJyRbgdc2FCHKgFBd48h8fgC94Dh8fLgTXu7cpZW/Drzs8AZYxxllkUXqm7LlxQ1NpTxnYlEwg== X-Received: by 2002:a2e:8891:: with SMTP id k17mr181241lji.11.1619117982776; Thu, 22 Apr 2021 11:59:42 -0700 (PDT) Original-Received: from ?IPv6:2a02:2168:b115:9d00:6884:4114:64c6:8505? ([2a02:2168:b115:9d00:6884:4114:64c6:8505]) by smtp.gmail.com with ESMTPSA id m28sm340076lfq.180.2021.04.22.11.59.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Apr 2021 11:59:41 -0700 (PDT) X-Google-Original-From: Nikolay Kudryavtsev In-Reply-To: <83zgxqnsi8.fsf@gnu.org> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::22f; envelope-from=nikolay.kudryavtsev@gmail.com; helo=mail-lj1-x22f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:268286 Archived-At: This breaks 32 bit mingw64 build due to ld complaining: D:/Emacs/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: unrecognised option: -disable-high-entropy-va So you also have to check whether we're doing a 64 bit build or not. Also, while the Msys2 website is suggesting we use those particular forms, ld warns us: D:/Emacs/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: Warning: grouped short command line options are deprecated: -disable-high-entropy-va