From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Alfred M. Szmidt" Newsgroups: gmane.emacs.devel Subject: Re: Failure to build on OpenBSD macppc Date: Wed, 16 May 2007 09:55:52 +0200 (CEST) Message-ID: <20070516075552.7E4F3301C2@Psilocybe.Update.UU.SE> References: <20070513215012.3A13614297@owie.lan> <20070514095255.3128730123@Psilocybe.Update.UU.SE> <20070515170738.276523016D@Psilocybe.Update.UU.SE> Reply-To: ams@gnu.org NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1179302176 10218 80.91.229.12 (16 May 2007 07:56:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 16 May 2007 07:56:16 +0000 (UTC) Cc: rcyeske@gmail.com, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 16 09:56:14 2007 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 1HoEMm-0006zz-Ui for ged-emacs-devel@m.gmane.org; Wed, 16 May 2007 09:56:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HoEUi-0005BW-GQ for ged-emacs-devel@m.gmane.org; Wed, 16 May 2007 04:04:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HoEUd-0005BO-0N for emacs-devel@gnu.org; Wed, 16 May 2007 04:04:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HoEUY-0005BC-FV for emacs-devel@gnu.org; Wed, 16 May 2007 04:04:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HoEUY-0005B9-AN for emacs-devel@gnu.org; Wed, 16 May 2007 04:04:14 -0400 Original-Received: from psilocybe.update.uu.se ([130.238.19.25]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HoEMV-0001F6-Hh; Wed, 16 May 2007 03:55:56 -0400 Original-Received: by Psilocybe.Update.UU.SE (Postfix, from userid 30270) id 7E4F3301C2; Wed, 16 May 2007 09:55:52 +0200 (CEST) In-reply-to: (message from Richard Stallman on Tue, 15 May 2007 21:39:47 -0400) X-detected-kernel: Linux 2.6 (newer, 3) 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:71148 Archived-At: Ok, I have narrowed down the problem to being a problem in GCC, not in Emacs. Emacs compiled with "-g -O2" (the default) does not work, while -O1 does. This also explains why -ggdb3 worked, I never passed a optimisation switch, so Emacs was compiled without optimisations. Exactly which optimisation switch causes this, I don't know, nor do I have much time to follow up on this anymore, but if it you think it is important I can try and look at it some more. I suspect it has something to do with how callers are saved or something. Mentioning the problem in etc/PROBLEMS would be enough I think. Ryan will also try and get a machine running a newer version of OpenBSD to see if the problem persists there.