Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Oct 2002 05:07:04 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Nate Lawson <nate@root.org>
Cc:        current@FreeBSD.ORG
Subject:   Re: unbreaking buildkernel?
Message-ID:  <20021016050404.U1947-100000@gamplex.bde.org>
In-Reply-To: <Pine.BSF.4.21.0210151045520.36779-100000@root.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 15 Oct 2002, Nate Lawson wrote:

> Yes, I know that buildworld will fix the toolchain but is there a more
> granular fix?  cd /usr/src/gnu && make install ?
>
> FYI, buildworld takes hours and I have some kernel changes to test before
> committing.

Just edit ldscript.i386?  This is what I did to unbreak building of
RELENG_4 kernels under -current:

%%%
Index: ldscript.i386
===================================================================
RCS file: /home/ncvs/src/sys/conf/ldscript.i386,v
retrieving revision 1.4.2.1
diff -u -2 -r1.4.2.1 ldscript.i386
--- ldscript.i386	20 Sep 2001 09:29:23 -0000	1.4.2.1
+++ ldscript.i386	15 Oct 2002 19:02:16 -0000
@@ -1,4 +1,4 @@
 /* $FreeBSD: src/sys/conf/ldscript.i386,v 1.4.2.1 2001/09/20 09:29:23 peter Exp $ */
-OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
+OUTPUT_FORMAT("elf32-i386-freebsd", "elf32-i386-freebsd", "elf32-i386-freebsd")
 OUTPUT_ARCH(i386)
 ENTRY(btext)
%%%

Similarly to unbreak building of RELENG_4 kernels under -current.

The reverse patch might unbreak building of -current kernels under
-not-very-current.

Bruce


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?20021016050404.U1947-100000>