From owner-freebsd-current Sun Oct 20 19:36:58 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 83ECB37B401; Sun, 20 Oct 2002 19:36:57 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0195943E3B; Sun, 20 Oct 2002 19:36:56 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id MAA20305; Mon, 21 Oct 2002 12:36:50 +1000 Date: Mon, 21 Oct 2002 12:47:43 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Andrew Gallatin Cc: John Baldwin , , , Subject: Re: New groff breaks alpha world In-Reply-To: <15795.12533.559894.717547@grasshopper.cs.duke.edu> Message-ID: <20021021124533.J9225-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Sun, 20 Oct 2002, Andrew Gallatin wrote: > Would it be acceptable to apply the following patch to link groff > statically so as to unbreak the alpha world while the binutils > maintainer figures out why ld is broken? > > Index: Makefile > =================================================================== > RCS file: /home/ncvs/src/gnu/usr.bin/groff/src/roff/groff/Makefile,v > retrieving revision 1.3 > diff -u -r1.3 Makefile > --- Makefile 11 Apr 2002 11:06:05 -0000 1.3 > +++ Makefile 20 Oct 2002 22:29:48 -0000 > @@ -6,4 +6,10 @@ > LDADD= ${LIBGROFF} -lm > CLEANFILES= ${MAN} > > +.if ${MACHINE_ARCH} == "alpha" > +#XXXX ld produces only one PT_LOAD segment when this binary > +#XXXX is linked dynamically, which confuses the rtld > +LDFLAGS+= -static > +.endif > + > .include This should uses `NOSHARED=?yes' instead of an unportable linker flag. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message