From owner-freebsd-hackers Sat May 16 04:38:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA02811 for freebsd-hackers-outgoing; Sat, 16 May 1998 04:38:07 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from shrimp.dataplex.net (shrimp.dataplex.net [208.2.87.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA02805 for ; Sat, 16 May 1998 04:38:01 -0700 (PDT) (envelope-from rkw@dataplex.net) Received: from [208.2.87.10] (user10.dataplex.net [208.2.87.10]) by shrimp.dataplex.net (8.8.8/8.8.5) with ESMTP id GAA23973; Sat, 16 May 1998 06:37:38 -0500 (CDT) X-Sender: rkw@mail.dataplex.net Message-Id: In-Reply-To: <19980515150513.25195@hightek.com> References: <199805151130.EAA26800@dog.farm.org>; from Dmitry Kohmanyuk on Fri, May 15, 1998 at 04:30:22AM -0700 <199805151130.EAA26800@dog.farm.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Sat, 16 May 1998 06:27:54 -0500 To: dk+@ua.net From: Richard Wackerbarth Subject: Re: nfs exported FreeBSD cvs repository, mounted on client, update problems Cc: freebsd-hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >On Fri, May 15, 1998 at 04:30:22AM -0700, Dmitry Kohmanyuk wrote: >> Note that it is very well possible to have your build boxes run >> different version from machines you want to upgrade, all the time. >> >> Now that we have a great new Makefile, it's possible... Not quite. Eivind Eklund was working on a problem that prevents some code from working. In particular, I got caught in the box by the "de" driver. Because there is a difference in the system structures for ethernet information, and the driver is written for FreeBSD2, FreeBSD3, NetBSD, etc. by using conditional compilation, it fails to work when you attempt to cross compile. This is because the COMPILER is providing the version information. This is obviously bogus. The test MUST be based strictly on information in the source. The only place that compiler based conditionals would apply is if there are alternate definitions written in different languages (or perhaps I should use the term dialects). Until the TARGET identifier is placed in the source tree AND the codebase is modified to to handle the new identifier properly, there will be "gotcha's" which prevent the cross compilation which you seek. Richard Wackerbarth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message