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: Tue, 15 May 2007 19:07:38 +0200 (CEST) Message-ID: <20070515170738.276523016D@Psilocybe.Update.UU.SE> References: <20070513215012.3A13614297@owie.lan> <20070514095255.3128730123@Psilocybe.Update.UU.SE> Reply-To: ams@gnu.org NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1179248869 15786 80.91.229.12 (15 May 2007 17:07:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 15 May 2007 17:07:49 +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 Tue May 15 19:07:48 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 1Ho0V1-0004Sc-I2 for ged-emacs-devel@m.gmane.org; Tue, 15 May 2007 19:07:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ho0cu-0001xY-IP for ged-emacs-devel@m.gmane.org; Tue, 15 May 2007 13:15:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ho0cq-0001xC-VP for emacs-devel@gnu.org; Tue, 15 May 2007 13:15:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ho0cp-0001ww-H3 for emacs-devel@gnu.org; Tue, 15 May 2007 13:15:52 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ho0cp-0001ws-A0 for emacs-devel@gnu.org; Tue, 15 May 2007 13:15:51 -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 1Ho0Us-0001O4-Rp; Tue, 15 May 2007 13:07:39 -0400 Original-Received: by Psilocybe.Update.UU.SE (Postfix, from userid 30270) id 276523016D; Tue, 15 May 2007 19:07:38 +0200 (CEST) In-reply-to: (message from Richard Stallman on Tue, 15 May 2007 05:46:30 -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:71113 Archived-At: The short story is that the problem is caused by: (setq load-source-file-function 'load-with-code-conversion) I think it is misleading to say the problem is caused by this code, since this code is both correct and totally necessary. The problem is caused by a bug somewhere else. You are of course correct. at which point when we are returning from insert-file-contents, something corrupts the stack, so that we cannot return, and we segfault badly because of it. That is the bug we have to find and fix. Yes, but how? I don't actually think that this bug is in Emacs, but in OpenBSD. I compiled Emacs using -ggdb3, just so I could get some more detailed data, but that to my suprise that worked like a charm (my network connection died in the middle when compiling .elc files, so it did atleast dump emacs). I'll investigate some more, but I don't think it is something that can be fixed in Emacs, since from the looks it is something to do with how OpenBSD/macppc does stack protection. Ryan, could you resend me the login data for your macppc box? I lost it when my network connection died (don't know if you saw my message on IRC).