From owner-freebsd-current Wed May 27 10:15:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA11810 for freebsd-current-outgoing; Wed, 27 May 1998 10:15:29 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA11783 for ; Wed, 27 May 1998 10:15:19 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from spinner.netplex.com.au (localhost [127.0.0.1]) by spinner.netplex.com.au (8.8.8/8.8.8/Spinner) with ESMTP id BAA03576; Thu, 28 May 1998 01:14:14 +0800 (WST) (envelope-from peter@spinner.netplex.com.au) Message-Id: <199805271714.BAA03576@spinner.netplex.com.au> X-Mailer: exmh version 2.0.2 2/24/98 To: Eivind Eklund cc: Nate Williams , "John S. Dyson" , current@FreeBSD.ORG Subject: Re: Fix for undefined "__error" and discussion of shared object versioning In-reply-to: Your message of "Tue, 26 May 1998 20:15:49 +0200." <19980526201549.35268@follo.net> Date: Thu, 28 May 1998 01:14:13 +0800 From: Peter Wemm Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Eivind Eklund wrote: > On Tue, May 26, 1998 at 11:50:53AM -0600, Nate Williams wrote: > > > > I really don't think that we would want to also get into compiler > > > > support issues. Tool support issues are complex enough. I can imagine > > > > that egcs (could) be stable enough for our c++ compiler, but am much > > > > less confident of it being our default c compiler. > > > > > > Personally I'd prefer to use TenDRA if at all possible. It seems to > > > be much better than GCC when you look at error control etc. > > > > Can it do shlibs? > > I don't know - is there much special it would have to do? Yes, it would need to be able to generate position independent code (PIC) to avoid relocation hits for data references. This is a big problem for the i386 family, there's no pc-relative addressing mode for data accesses (like there is on most other cpus), so one of the precious general purpose registers has to be stolen for it. (%ebx in this case). > It create assembly files (as the third stage) and use the system > assembler and linker, so I don't think it should be a problem, but I > don't really know. If it can make GOT and PLT references, it probably can do it. I'd be suprised though, it's a PITA to get it right. All the .size and function declarations would be needed as well. > Eivind. Cheers, -Peter -- Peter Wemm Netplex Consulting To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message