From owner-cvs-all Wed Sep 29 21:47: 5 1999 Delivered-To: cvs-all@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 5464B14CA8 for ; Wed, 29 Sep 1999 21:47:00 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id WAA38267; Wed, 29 Sep 1999 22:46:59 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id WAA08765; Wed, 29 Sep 1999 22:47:01 -0600 (MDT) Message-Id: <199909300447.WAA08765@harmony.village.org> To: peter.jeremy@alcatel.com.au Subject: Re: cvs commit: src UPDATING Cc: cvs-all@FreeBSD.ORG In-reply-to: Your message of "Thu, 30 Sep 1999 14:36:46 +1000." <99Sep30.143349est.40331@border.alcanet.com.au> References: <99Sep30.143349est.40331@border.alcanet.com.au> <199909300353.VAA08374@harmony.village.org> Date: Wed, 29 Sep 1999 22:47:00 -0600 From: Warner Losh Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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