From owner-freebsd-current Sun Oct 20 12:15: 6 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C24ED37B401 for ; Sun, 20 Oct 2002 12:15:04 -0700 (PDT) Received: from mail.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A9A443E75 for ; Sun, 20 Oct 2002 12:15:04 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 12615 invoked from network); 20 Oct 2002 19:14:59 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 20 Oct 2002 19:14:59 -0000 Received: from laptop.baldwin.cx (laptop.baldwin.cx [192.168.0.4]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id g9KJEvn5055768; Sun, 20 Oct 2002 15:14:57 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20021020135220.65f7b4e0.kabaev@bellatlantic.net> Date: Sun, 20 Oct 2002 15:15:01 -0400 (EDT) From: John Baldwin To: ak03@gte.com Subject: Re: emacs problems? Cc: freebsd-current@FreeBSD.ORG, wa1ter@hotmail.com Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 20-Oct-2002 Alexander Kabaev wrote: > On Fri, 18 Oct 2002 11:46:44 -0400 (EDT) > John Baldwin wrote: > >> >> On 18-Oct-2002 walt wrote: >> > I'm having problems with emacs 20.7 running under X: >> > >> >#emacs >> > Fatal error (11).Segmentation fault (core dumped) >> > > >> > Anyone else seeing this problem? >> >> Same exact problem with xemacs. > > Please add -Wl,-znocombreloc to the linker command line while compiling > temacs. XEmacs ELF unexec code is not happy about unified .rel.dyn > relocation section and prefers to deal with .rel.data instead. Thanks, I'll send this patch to the xemacs21 maintainer: Index: Makefile =================================================================== RCS file: /usr/cvs/ports/editors/xemacs21/Makefile,v retrieving revision 1.63 diff -u -r1.63 Makefile --- Makefile 28 Jan 2002 20:44:11 -0000 1.63 +++ Makefile 20 Oct 2002 19:02:07 -0000 @@ -97,6 +97,12 @@ # the next .endif belongs to !MULE_PORT .endif +.include + +.if ${OSVERSION} >= 500000 +CONFIGURE_ARGS+= --ldflags=-Wl,-znocombreloc +.endif + # fix .so references in a few man pages pre-configure:: .for file in etc/ctags.1 etc/gnuattach.1 etc/gnuclient.1 etc/gnudoit.1 @@ -125,4 +131,4 @@ ${INSTALL_SCRIPT} ${FILESDIR}/xemacs21.sh ${PREFIX}/etc/rc.d .endif -.include +.include -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message