From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.devel Subject: Re: -znocombreloc? Date: Sun, 4 Dec 2016 10:36:08 +0000 Message-ID: References: <2f0ed5df-5818-3d68-f52d-f73660b689d3@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1480847812 6765 195.159.176.226 (4 Dec 2016 10:36:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 4 Dec 2016 10:36:52 +0000 (UTC) Cc: Daniel Colascione , Emacs developers To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 04 11:36:48 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cDUA3-0000dw-Mh for ged-emacs-devel@m.gmane.org; Sun, 04 Dec 2016 11:36:47 +0100 Original-Received: from localhost ([::1]:33894 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDUA4-0004QC-Cp for ged-emacs-devel@m.gmane.org; Sun, 04 Dec 2016 05:36:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDU9x-0004Pk-Rl for emacs-devel@gnu.org; Sun, 04 Dec 2016 05:36:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDU9w-00027c-To for emacs-devel@gnu.org; Sun, 04 Dec 2016 05:36:41 -0500 Original-Received: from mail-vk0-x22e.google.com ([2607:f8b0:400c:c05::22e]:36212) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cDU9w-00027P-N5 for emacs-devel@gnu.org; Sun, 04 Dec 2016 05:36:40 -0500 Original-Received: by mail-vk0-x22e.google.com with SMTP id p9so166529574vkd.3 for ; Sun, 04 Dec 2016 02:36:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ElUDMIOQMQgSN9RNtrNCgE4U4Bopjw0xY+AOiyVtw/0=; b=RfZ7KUwMeKgpO9GJLTDfBxVnQsnD23QupNfHvdOwj3WNFMuNkIzlxkZrrZO/Ujctxu BdHeMpBGtOEmyn2JOva+3t/Ik4kz/VQvgnMtx1nBTLk79QuPsMdcC0hUD+7/ULYWZcEP ZAyB03bbKm1AcsPOrQorg4e+r6c+FRg9QacqMCoFEfzArlWRHPeFErctdboOI5sz2YZA nA15CwysFZFyovEwNL3B3BaK6bIVzgo9mNdVyRYUx0Ute0iUzTKifJuB1ucYUuAi+xuP bry1T6nmOga7rQve40hpdNJg8jpUIec8tZLPbCGhxxX0+IuMosYc2M10f90To4vfApoB GcHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ElUDMIOQMQgSN9RNtrNCgE4U4Bopjw0xY+AOiyVtw/0=; b=IULOJDbjf1UhrOeHbNlOZMSVHOAwHP0kSIf8REmHBA6I2rAIG6H3aHlFaBYaUV3Fa7 Z6KDY11cwTf094WB5QnsrWQjdy9w92xCC8OHBdSeQXlE/Row5juMTqbdiNX6gOMO1AAt mB7LqtXCSUhYymVFL5HTbaQYMpDr6+8pRzdSyVYNtnTqJuVCVo0F3d0ERz0z+AoTxbc+ 9tJ1YrSAoL8GChFEbqMiK8L/hgbm3BFZp9HMt9FMhm6G/UUBe/LPyWsE2/sg4y+HrQA3 Q/jBXAwMlFdpFz8y1RHRoPJskmYuJvQgT2pdKVtd0CRiA9PiJqBIKfLXN3X9u2yjn4tM jV6g== X-Gm-Message-State: AKaTC01iMY58xpVQsDg3/0NHRNhAoOslnL8PzV8Di6CLK4wcw5QJi3jYa1emr/wr+FELrDPRLFyR7+5Uc9oGpA== X-Received: by 10.31.227.130 with SMTP id a124mr15841238vkh.45.1480847798953; Sun, 04 Dec 2016 02:36:38 -0800 (PST) Original-Received: by 10.176.81.197 with HTTP; Sun, 4 Dec 2016 02:36:08 -0800 (PST) In-Reply-To: <2f0ed5df-5818-3d68-f52d-f73660b689d3@cs.ucla.edu> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400c:c05::22e 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:210011 Archived-At: On 4 December 2016 at 05:36, Paul Eggert wrote: > Daniel Colascione wrote: >> >> Does anyone remember _why_ temacs segfaults on startup unless we give ld >> this >> option? > > > It doesn't segfault for me, even when I build with -zcombreloc. I think > -znocombreloc worked around bugs in now-obsolete versions of the GNU linker. > See, for example: > > https://lists.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00278.html > https://lists.gnu.org/archive/html/help-gnu-emacs/2003-05/msg00627.html > > Looking at recent GCC documentation it appears that this old hack should not > matter now, so I'm inclined to remove it, as in the proposed patch > (attached), which I tested on Fedora 24 x86-64 but have not installed. Not sure where GCC and x86-64 come into it if this was for the Solaris native linker. (Is Solaris still a thing?)