Date: Sun, 20 Oct 2002 15:15:01 -0400 (EDT) From: John Baldwin <jhb@FreeBSD.org> To: ak03@gte.com Cc: freebsd-current@FreeBSD.ORG, wa1ter@hotmail.com Subject: Re: emacs problems? Message-ID: <XFMail.20021020151501.jhb@FreeBSD.org> In-Reply-To: <20021020135220.65f7b4e0.kabaev@bellatlantic.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 20-Oct-2002 Alexander Kabaev wrote: > On Fri, 18 Oct 2002 11:46:44 -0400 (EDT) > John Baldwin <jhb@FreeBSD.ORG> 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) >> > > <SKIP> >> > 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 <bsd.port.pre.mk> + +.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 <bsd.port.mk> +.include <bsd.port.post.mk> -- John Baldwin <jhb@FreeBSD.org> <>< 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20021020151501.jhb>