Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 1999 22:47:00 -0600
From:      Warner Losh <imp@village.org>
To:        peter.jeremy@alcatel.com.au
Cc:        cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src UPDATING 
Message-ID:  <199909300447.WAA08765@harmony.village.org>
In-Reply-To: Your message of "Thu, 30 Sep 1999 14:36:46 %2B1000." <99Sep30.143349est.40331@border.alcanet.com.au> 
References:  <99Sep30.143349est.40331@border.alcanet.com.au>  <Pine.BSF.4.10.9909292249000.35534-100000@jade.chc-chimes.com> <199909300353.VAA08374@harmony.village.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <99Sep30.143349est.40331@border.alcanet.com.au> Peter Jeremy writes:
: The problems I've encountered to date[1] are:
: - 3.2 (and presumably -stable) can't configure a -current (GENERIC)
:   kernel.  This can be solved by building a -current config(8) first.

This is generally required.  With luck config(8) will die before
4.0...  However, it still builds on 3.x systems.

: - gcc 2.7.2 can't compile a -current kernel.  The problem is that
:   the asm constraints in i386/include/atomic.h aren't compatible
:   between 2.7.2 and ECGS.  Neither Matt Dillon nor Alan Cox (they're
:   the two people I know have been working on those constraits) have
:   been able to come up with a solution.  The work-arounds I can
:   think of are either build/install ECGS first, or replace the
:   -current i386/include/atomic.h with the one from -stable before
:   compiling the kernel.  The latter produces a cleanly linked
:   kernel.

I had some patches that tried to work around this, but there were too
many problems with them.  Easier to build egcs...

: I can't quickly check whether the resultant kernel actually works,
: and whether it is compatible enough with a -stable world to enable
: you to build and install a -current world.

Somewhere I have ifdefs to atomic.h.  It basically replaced it with
the -stable version if GNU_C_MINOR was 7 or less.  I know that it
won't work for MP kernel.  Alan Cox had some concerns with booting
kernels using the old atomic.h, but I don't recall what they were.

Warner


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909300447.WAA08765>