From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: gcc 4.2 dump problems Date: Thu, 6 Aug 2009 11:24:03 -0700 (PDT) Message-ID: <200908061824.n76IO3Wg012594@godzilla.ics.uci.edu> References: <6C7B302D-623F-463D-A5C7-CAC557968C57@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1249583168 30989 80.91.229.12 (6 Aug 2009 18:26:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Aug 2009 18:26:08 +0000 (UTC) Cc: Emacs Development To: David Reitter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 06 20:25:55 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MZ7ez-0005VI-Hi for ged-emacs-devel@m.gmane.org; Thu, 06 Aug 2009 20:25:53 +0200 Original-Received: from localhost ([127.0.0.1]:34546 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZ7ey-0004P1-Tq for ged-emacs-devel@m.gmane.org; Thu, 06 Aug 2009 14:25:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZ7et-0004MZ-Fx for emacs-devel@gnu.org; Thu, 06 Aug 2009 14:25:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZ7eo-0004H7-Td for emacs-devel@gnu.org; Thu, 06 Aug 2009 14:25:46 -0400 Original-Received: from [199.232.76.173] (port=58339 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZ7eo-0004Gy-Q5 for emacs-devel@gnu.org; Thu, 06 Aug 2009 14:25:42 -0400 Original-Received: from barrelv2.ics.uci.edu ([128.195.1.114]:53457) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1MZ7eo-0005Wu-8h for emacs-devel@gnu.org; Thu, 06 Aug 2009 14:25:42 -0400 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n76IO3hs021412; Thu, 6 Aug 2009 11:24:03 -0700 (PDT) Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n76IO3Wg012594; Thu, 6 Aug 2009 11:24:03 -0700 (PDT) In-Reply-To: <6C7B302D-623F-463D-A5C7-CAC557968C57@gmail.com> (David Reitter's message of "Thu, 6 Aug 2009 13:25:49 -0400") Original-Lines: 20 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n76IO3hs021412 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:113753 Archived-At: David Reitter writes: > It turns out that you can't build Emacs with gcc 4.2 on Macs, and gcc > 4.2 is probably the compiler of choice for the upcoming OS X version. > The new gcc version is not the only problem, but it seems that using > gcc 4.2 on any version of OS X will reproduce the issue. > > I don't suppose people have problems with 4.2 on non-Mach-O object > file architectures? I don't use gcc-4.2 anymore, but I've never seen such problems with it on GNU/Linux while using it. How did you determine that gcc-4.2 is the problem? Did you try different versions of gcc on the same machine, keeping the same version of binutils, and only gcc-4.2 had problems? Have you tried compiling with -O0 ? Did you also have problems when using -O0 ?