From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#9755: 24.0.90; trying to configure with GCC 4.6.1 on intel Mac OS X 10.6.8 Date: Wed, 16 May 2012 03:17:40 -0400 Message-ID: References: <9814A5F3-71A0-4D59-A03F-5FF89EF41416@Freenet.DE> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1337152690 20734 80.91.229.3 (16 May 2012 07:18:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 16 May 2012 07:18:10 +0000 (UTC) Cc: 9755@debbugs.gnu.org To: Peter Dyballa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 16 09:18:06 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 1SUYUm-0001JU-VA for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 May 2012 09:18:05 +0200 Original-Received: from localhost ([::1]:59232 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUYUm-0007rX-BY for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 May 2012 03:18:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48024) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUYUj-0007qV-Cz for bug-gnu-emacs@gnu.org; Wed, 16 May 2012 03:18:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SUYUc-0002QP-Ps for bug-gnu-emacs@gnu.org; Wed, 16 May 2012 03:18:00 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47412) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUYUc-0002QL-MO for bug-gnu-emacs@gnu.org; Wed, 16 May 2012 03:17:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SUYUk-0005el-F3 for bug-gnu-emacs@gnu.org; Wed, 16 May 2012 03:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 May 2012 07:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9755 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9755-submit@debbugs.gnu.org id=B9755.133715267421725 (code B ref 9755); Wed, 16 May 2012 07:18:02 +0000 Original-Received: (at 9755) by debbugs.gnu.org; 16 May 2012 07:17:54 +0000 Original-Received: from localhost ([127.0.0.1]:56956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SUYUc-0005eL-DG for submit@debbugs.gnu.org; Wed, 16 May 2012 03:17:54 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:47002 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SUYUZ-0005e7-EN; Wed, 16 May 2012 03:17:52 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1SUYUP-0007Z2-1r; Wed, 16 May 2012 03:17:41 -0400 X-Spook: Leuken-Baden subversive Panama JUWTF ASLET FSF Mena X-Ran: kATtI9*E,`,&C^t:_"'RoK7a)"OQ?Q=uF1nzOY9*^V4"7g>PU0E&S\z.phkW=V|?gw[#\z X-Hue: yellow X-Attribution: GM In-Reply-To: <9814A5F3-71A0-4D59-A03F-5FF89EF41416@Freenet.DE> (Peter Dyballa's message of "Fri, 14 Oct 2011 20:52:57 +0200") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) 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:60059 Archived-At: close 9755 24.2 stop Peter Dyballa wrote: > The configure scripts adds "-no-cpp-precomp" to CPPFLAGS although GCC > 4.6.1 does not support this Apple addition: The history here is that -no-cpp-precomp was needed for some reason with some older versions of Apple's version of gcc. The Emacs configure script unconditionally set CPP to 'cc -E -no-cpp-precomp' on all darwin builds for this reason, without bothering to test which compiler was being used. This is not too much of an issue in gcc prior to 4.6, because gcc -no-foo returns status 0, even when -no-foo is an unknown option (it warns but continues). In gcc 4.6 and later, it returns an error. Hence Emacs 24.1 will not configure with gcc 4.6 and later on OS X. The Hydra darwin builds of Emacs seem to have been failing for this reason for some time. I just installed a change to the trunk to hopefully fix this (r108250). It might be better to just remove this -no-cpp-precomp altogether. AFAICS, it is only needed for Apple gcc earlier than 3.3 (not sure). That is pretty old. This might be something to backport to 24.1, I'm not sure. The patch might need altering if bug#11485 is fixed in 24.1. Also even after making this change, the build fails during dumping. http://debbugs.gnu.org/9927 http://hydra.nixos.org/build/2630203