From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.bugs Subject: bug#9927: 24.0.90; unexec/unexmacosx fails with GCC 4.6.1 Date: Fri, 29 Jun 2012 21:19:25 +0200 Message-ID: <6BF829FF-CC60-4CAD-B41A-30CDE4120925@Web.DE> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1340997590 22573 80.91.229.3 (29 Jun 2012 19:19:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 29 Jun 2012 19:19:50 +0000 (UTC) Cc: 9927-submitter@debbugs.gnu.org, control@debbugs.gnu.org, 9927@debbugs.gnu.org To: Samuel Bronson , 9927-quiet@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 29 21:19:49 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SkgjM-0004Sv-Ae for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Jun 2012 21:19:48 +0200 Original-Received: from localhost ([::1]:44950 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkgjM-0004jx-7g for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Jun 2012 15:19:48 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkgjI-0004is-RR for bug-gnu-emacs@gnu.org; Fri, 29 Jun 2012 15:19:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SkgjH-0002DE-4F for bug-gnu-emacs@gnu.org; Fri, 29 Jun 2012 15:19:44 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56376) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkgjH-0002D6-1G for bug-gnu-emacs@gnu.org; Fri, 29 Jun 2012 15:19:43 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SkgnR-0006r0-Qb for bug-gnu-emacs@gnu.org; Fri, 29 Jun 2012 15:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Peter Dyballa Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Jun 2012 19:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9927 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9927-submit@debbugs.gnu.org id=B9927.134099783326320 (code B ref 9927); Fri, 29 Jun 2012 19:24:01 +0000 Original-Received: (at 9927) by debbugs.gnu.org; 29 Jun 2012 19:23:53 +0000 Original-Received: from localhost ([127.0.0.1]:37685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SkgnI-0006qN-LR for submit@debbugs.gnu.org; Fri, 29 Jun 2012 15:23:52 -0400 Original-Received: from mout.web.de ([212.227.15.4]:51836) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SkgnG-0006q5-Gg; Fri, 29 Jun 2012 15:23:51 -0400 Original-Received: from sumac.fritz.box ([95.223.133.231]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0LdVdS-1S34AR2sio-00j5iZ; Fri, 29 Jun 2012 21:19:29 +0200 In-Reply-To: X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:e+D/W7aIole+K1oxc5VS3bYvreojsthsPltB0UKSIRg UjRHn5RhRjL9qxAYbTidSodi9hpAeaSEO+XJUwIT+HVf4wTHIG KfPWyxf1Jhb1ANH28QwTwGIUJE7T2y7Lm8Js1hryiepJFThBd4 plOsQyJIsrwmwETSa4RqBKD5e/1kneiWw+GBSnK6OlC29YL4o7 A5yUNXBfSEx09XhAFRtrQ== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:61422 Archived-At: Am 29.06.2012 um 19:03 schrieb Samuel Bronson: > I suppose, though, that if we could be sure that we aren't linking in = any static libraries with these *new* BSS sections which will have = trouble because of Emacs' dumping them, we could just skip that part; = then all we'd need to do is make sure that my_endbss_static refers to an = address in __DATA.__bss, not __DATA.__bss1 or __DATA.bss2 like it would = naturally end up at on GCC 4.6 or 4.7 (respectively). (And make = unexmacosx.c dump these new BSS sections, of course.) Apple itself states in = http://developer.apple.com/library/mac/#qa/qa1118/_index.html that they = "do not support statically linked binaries on Mac OS X." And from my = experience it's really a bit complicated to build them. So your approach = should be OK and work in the average case. And those few, if at all, who = try to build static Emacsen on Mac OS X might need something else... -- Greetings Pete Specifications are for the weak and timid!