From owner-freebsd-hackers Thu Jun 8 01:08:49 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id BAA02828 for hackers-outgoing; Thu, 8 Jun 1995 01:08:49 -0700 Received: from dkuug.dk (dkuug.dk [193.88.44.89]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id BAA02800 for ; Thu, 8 Jun 1995 01:08:29 -0700 Received: from kmd-ac.dk by dkuug.dk with UUCP id AA18815 (5.65c8/IDA-1.4.4j for freebsd.org!hackers); Thu, 8 Jun 1995 10:08:16 +0200 Message-Id: <199506080808.AA18815@dkuug.dk> Subject: Re: BSDi 2.0 binary compatibility question To: davidg@root.com Date: Thu, 8 Jun 1995 08:18:05 +0000 (GMT) From: "Soeren Schmidt" Cc: wpaul@skynet.ctr.columbia.edu, hackers@freebsd.org In-Reply-To: <199506080301.UAA00420@corbin.Root.COM> from "David Greenman" at Jun 7, 95 08:01:36 pm From: sos@freebsd.org (Soren Schmidt) Reply-To: sos@freebsd.org X-Mailer: ELM [version 2.4 PL22] Content-Type: text Content-Length: 1091 X-Charset: ASCII X-Char-Esc: 29 Sender: hackers-owner@freebsd.org Precedence: bulk In reply to David Greenman who wrote: > > >In short, I couldn't find a magic incantation to make BSDI 2.0 produce > >executables that would run on FreeBSD, even though FreeBSD seems to > >recognize the executable format. I think it's kind of unfair that > >BSDI people can use our binaries, but not the other way around. Am > >I missing something here, or is this a bug? > > Based on what you said above, it sounds like the BSDI's crt0 is messing > with the environment strings and BSDI stores/deals with them differently that > FreeBSD. I suggest looking carefully at their crt0.c. It's quite possible that > this particular incompatiblity may not be easily fixed. This is very likely, and we have the technology in the kernel to muck around with the stack and stuff before calling crt0 from the loader (this is used for running Linux binaries too). I just requieres that we use another sysentvec for the BSDi-2.0 binaries... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Soren Schmidt (sos@FreeBSD.org | sos@kmd-ac.dk) FreeBSD Core Team ..