From owner-freebsd-sparc Sun Nov 29 07:27:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA08505 for freebsd-sparc-outgoing; Sun, 29 Nov 1998 07:27:43 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA08499; Sun, 29 Nov 1998 07:27:37 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.1a/8.9.1) with ESMTP id QAA07545; Sun, 29 Nov 1998 16:27:27 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id QAA08600; Sun, 29 Nov 1998 16:27:27 +0100 (MET) Message-ID: <19981129162726.Y9226@follo.net> Date: Sun, 29 Nov 1998 16:27:26 +0100 From: Eivind Eklund To: Greg Lehey , Paolo Di Francesco , freebsd-sparc@FreeBSD.ORG, Jordan Hubbard Subject: Re: [Ultra] Compiler, again References: <199811251911.OAA00633@jhicks.glenatl.glenayre.com>; <19981126110842.D67961@freebie.lemis.com> <19981126012503.TTRF23855.fep04-svc@winworkstation> <19981128110256.N468@freebie.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <19981128110256.N468@freebie.lemis.com>; from Greg Lehey on Sat, Nov 28, 1998 at 11:02:56AM +1030 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, Nov 28, 1998 at 11:02:56AM +1030, Greg Lehey wrote: > [Back to the Sparc people] > > Don't forget that the other flavours of *BSD also use gcc. No. NetBSD-current use egcs on many platforms now. I would believe UltraSPARC (which is only available in NetBSD-current) is one of them. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sun Nov 29 09:56:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA18328 for freebsd-sparc-outgoing; Sun, 29 Nov 1998 09:56:53 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from bright.fx.genx.net (bright.fx.genx.net [206.64.4.154]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA18321 for ; Sun, 29 Nov 1998 09:56:52 -0800 (PST) (envelope-from bright@hotjobs.com) Received: from localhost (bright@localhost) by bright.fx.genx.net (8.9.1/8.9.1) with ESMTP id MAA45626; Sun, 29 Nov 1998 12:58:50 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.fx.genx.net: bright owned process doing -bs Date: Sun, 29 Nov 1998 12:58:50 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.fx.genx.net To: Wes Peters cc: sparc@FreeBSD.ORG Subject: Re: crt0.o (was) Re: Huzzah! In-Reply-To: <3660D21F.34DC3F73@softweyr.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, 28 Nov 1998, Wes Peters wrote: > > I'm also going to keep a log of that flags/things have to be passed to > > what, to actually bootstrap the sparc devel on i386. > > > > Do you have any other guidelines that i might follow to make a better port > > and avoid pitfalls? (ie. keeping logs and diffs) > > I've been attempting to build a cross-development tree with binutils > 2.9.1 and egcs-1.1b, Greg Lehey gave me a poke about this. I didn't > realize the sparc64 code was in such bad shape. Ugh, what a mess! > > I think I've got it building now; I'll keep track of what I had to > symlink, copy, and change if it actually works. ugh, my problem with using a newer compiler is that the two or three times i've brought up using a newer compiler on the lists i've been totally shot down. I want the work done to be accepted, not rejected because it uses a compiler that core can't accept. > > I kinda think setting up a single user cvs tree is overkill at the moment > > :) any suggestions? > > Do it anyhow. It only takes a few minutes, and you can then share > what you have with everyone else through pserver. Problem is that i'm working at home (dialup) but i may be able to get a cvs server up at work :) > > I need to find some docs or trace through some code to understand the ABI > > of sparc-elf (ie. which registers are temporary, arguments, globals, > > reserved) Working on it... > > Looking at the NetBSD code would be helpful on this. There is no good > reason to differ from them; this will help our future NetBSD/OpenBSD > portability. > > SPARC registers are really different from the Intel world. ;^) The asm code is neat-o, I really like RISC asm, it's very elegant. -Alfred > -- > "Where am I, and what am I doing in this handbasket?" > > Wes Peters Softweyr LLC > http://www.softweyr.com/~softweyr wes@softweyr.com > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sun Nov 29 16:21:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA21626 for freebsd-sparc-outgoing; Sun, 29 Nov 1998 16:21:42 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from bright.fx.genx.net (bright.fx.genx.net [206.64.4.154]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA21620 for ; Sun, 29 Nov 1998 16:21:40 -0800 (PST) (envelope-from bright@hotjobs.com) Received: from localhost (bright@localhost) by bright.fx.genx.net (8.9.1/8.9.1) with ESMTP id TAA45960; Sun, 29 Nov 1998 19:24:39 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.fx.genx.net: bright owned process doing -bs Date: Sun, 29 Nov 1998 19:24:39 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.fx.genx.net To: Greg Lehey cc: sparc@FreeBSD.ORG Subject: Re: Huzzah! In-Reply-To: <19981130104455.B831@freebie.lemis.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 30 Nov 1998, Greg Lehey wrote: > >>> I'd like that however, since core won't accept new compilers i think > >>> sticking with 2.7.2.2 is best right now. > >> > >> You misunderstand. 2.8 is definitely on the program, but it won't be > >> committed until the last wrinkles have been worked out. I expect that > >> to be the case before the Sparc port is ready :-) > > > > I thought 2.8.1 was decidedly broken in many areas, considering it > > seems that the gcc project is dead, why aren't we going to use > > egcs? > > That's the first I've heard of the death of the gcc project. Tell me > more. Hmm, Maybe i misread the pages at cygnus... but, egcs does seem to be a more worked on project. Or it may just appear that way because they release snapshots so often. We don't like egcs because... why? I'm trying to avoid playing musical compilers :) > >>> I want to minimize any "favors" that need to be done for us by core > >>> and upgrading the compiler in the tree seems to take more than > >>> double our playing chips. > >> > >> No, I still think this is the way to go. But Wes Peters has been > >> doing a fair amount of work in this area; contact him if you have any > >> trouble. > > > > Urk, i already got 2.7.2.2 working it seems. I'll see about 2.8.1 > > after you get back to me about why 2.8.1 vs egcs. I'd much rather > > work with something that is going to have some sort of ongoing > > effort for improvement than something that is abandoned. > > > > I'm going to start downloading gcc2.8.1 now to take a look. > > > > Also, do you want to move this discussion back onto the list? > > Sure, no worries. done. -Alfred > > Greg > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sun Nov 29 16:36:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA23365 for freebsd-sparc-outgoing; Sun, 29 Nov 1998 16:36:15 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from rgate2.ricochet.net (rgate2.ricochet.net [204.179.143.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA23360 for ; Sun, 29 Nov 1998 16:36:13 -0800 (PST) (envelope-from enkhyl@scient.com) Received: from mg132-003.ricochet.net (mg132-003.ricochet.net [204.179.132.3]) by rgate2.ricochet.net (8.8.8/8.8.8) with ESMTP id SAA07371; Sun, 29 Nov 1998 18:35:45 -0600 (CST) Date: Sun, 29 Nov 1998 16:34:33 -0800 (PST) From: Christopher Nielsen X-Sender: enkhyl@ender.sf.scient.com Reply-To: cnielsen@pobox.com To: Alfred Perlstein cc: sparc@FreeBSD.ORG Subject: Re: Huzzah! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, 28 Nov 1998, Alfred Perlstein wrote: > On Sat, 28 Nov 1998, Christopher Nielsen wrote: > > > > Welp, i think i got it right finally. I'm going to be doing some more > > > testing for a day, then i'll tar up my /usr/local/spar64 directory and put > > > it up on ftp for anyone interested along with a readme on how i'm getting > > > it to work. > > > > binutils-2.9.1 and gcc-2.8.1? > > nopers, i don't have the wizardry to hack those into working order, i > used: > > binutils-2.8.1.tar.gz gcc-2.7.2.2.tar.gz > > Sorry, but this seemed to be the workable option at the moment, unless > gcc-2.8.1 compiles "out-of-the-box" for sparc64-elf i don't think i'll be > able to use it. I just don't have the time to do both nor the skill imo. No problem. That's all that I've managed to get working, too. I've been going through the source for binutils-2.9.1 and gcc-2.8.1 comparing the patches for binutils-2.8.1 and gcc-2.7.2.2. So far all the patches I've gone through have been applied. I still can't seem to get the newer toolchain working, though. I have reached the same results you have; I've compiled the toolchain, and I can compile simple test programs. I will do more testing with more complex compilation over the next week. > > > It really stinks that the V9 manual is so far on backorder.. (4-6 weeks) > > > at Amazon. > > > > > > I'll be looking elsewhere for copies but even some of the huge > > > bookstores in NYC don't seem to cary it... :( > > > > Have you tried barnesandnoble.com? > > Just did, ordered sparcV9 and Sparc & C programming & assembler. > > Should have it within the week. Cool! Those will be really useful. -- Christopher Nielsen Scient: The eBusiness Systems Innovator cnielsen@scient.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sun Nov 29 16:54:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA25002 for freebsd-sparc-outgoing; Sun, 29 Nov 1998 16:54:44 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from fep02-svc.tin.it (mta02-acc.tin.it [212.216.176.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA24994 for ; Sun, 29 Nov 1998 16:54:39 -0800 (PST) (envelope-from paipai@box4.tin.it) Received: from winworkstation ([212.216.235.20]) by fep02-svc.tin.it (InterMail v4.0 201-221-105) with SMTP id <19981130005426.UZGZ16980.fep02-svc@winworkstation>; Mon, 30 Nov 1998 01:54:26 +0100 Comments: Authenticated sender is From: "Paolo Di Francesco" To: Alfred Perlstein , freebsd-sparc@FreeBSD.ORG Date: Mon, 30 Nov 1998 01:56:55 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Huzzah! References: <19981130104455.B831@freebie.lemis.com> In-reply-to: X-mailer: Pegasus Mail for Win32 (v2.53/R1) Message-Id: <19981130005426.UZGZ16980.fep02-svc@winworkstation> Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > > That's the first I've heard of the death of the gcc project. Tell me > > more. > > Hmm, Maybe i misread the pages at cygnus... but, egcs does seem to > be a more worked on project. Or it may just appear that way because > they release snapshots so often. Maybe. Gcc development is very "static"... > We don't like egcs because... > why? > I don't like it very much because it's not so stable, and it is a "commercial product". We'll maybe it's not properly commercial but... > I'm trying to avoid playing musical compilers :) > ???? Ciao Ciao Paolo Di Francesco _ ->B<- All Recycled Bytes Message ... ~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sun Nov 29 16:59:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA25618 for freebsd-sparc-outgoing; Sun, 29 Nov 1998 16:59:32 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from bright.fx.genx.net (bright.fx.genx.net [206.64.4.154]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA25611 for ; Sun, 29 Nov 1998 16:59:30 -0800 (PST) (envelope-from bright@hotjobs.com) Received: from localhost (bright@localhost) by bright.fx.genx.net (8.9.1/8.9.1) with ESMTP id UAA46004; Sun, 29 Nov 1998 20:02:45 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.fx.genx.net: bright owned process doing -bs Date: Sun, 29 Nov 1998 20:02:45 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.fx.genx.net To: cnielsen@pobox.com cc: sparc@FreeBSD.ORG Subject: Re: Huzzah! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 29 Nov 1998, Christopher Nielsen wrote: > > nopers, i don't have the wizardry to hack those into working order, i > > used: > > > > binutils-2.8.1.tar.gz gcc-2.7.2.2.tar.gz > > > > Sorry, but this seemed to be the workable option at the moment, unless > > gcc-2.8.1 compiles "out-of-the-box" for sparc64-elf i don't think i'll be > > able to use it. I just don't have the time to do both nor the skill imo. > > No problem. That's all that I've managed to get working, too. I've been > going through the source for binutils-2.9.1 and gcc-2.8.1 comparing the > patches for binutils-2.8.1 and gcc-2.7.2.2. So far all the patches I've > gone through have been applied. I still can't seem to get the newer > toolchain working, though. > > I have reached the same results you have; I've compiled the toolchain, and > I can compile simple test programs. I will do more testing with more > complex compilation over the next week. > If you are working on 2.7.2.2 i have patches up to make gcc conform to several freebsd-isms. Notably not requesting crt0.o and producing elf objects with the proper magic for the OpenBoot Prom. If i didn't hate HTML so much i'd have some pages up on what we're doing, i think i will put something up soon. > > > Have you tried barnesandnoble.com? > > > > Just did, ordered sparcV9 and Sparc & C programming & assembler. > > > > Should have it within the week. > > Cool! Those will be really useful. > Now all i need are several bookshelves... :) This is getting out of hand. -Alfred > -- > Christopher Nielsen > Scient: The eBusiness Systems Innovator > > cnielsen@scient.com > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sun Nov 29 17:04:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA26256 for freebsd-sparc-outgoing; Sun, 29 Nov 1998 17:04:00 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from bright.fx.genx.net (bright.fx.genx.net [206.64.4.154]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA26249 for ; Sun, 29 Nov 1998 17:03:58 -0800 (PST) (envelope-from bright@hotjobs.com) Received: from localhost (bright@localhost) by bright.fx.genx.net (8.9.1/8.9.1) with ESMTP id UAA46016; Sun, 29 Nov 1998 20:07:06 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.fx.genx.net: bright owned process doing -bs Date: Sun, 29 Nov 1998 20:07:06 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.fx.genx.net To: Paolo Di Francesco cc: freebsd-sparc@FreeBSD.ORG Subject: Re: Huzzah! In-Reply-To: <19981130005426.UZGZ16980.fep02-svc@winworkstation> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 30 Nov 1998, Paolo Di Francesco wrote: > > > That's the first I've heard of the death of the gcc project. Tell me > > > more. > > > > Hmm, Maybe i misread the pages at cygnus... but, egcs does seem to > > be a more worked on project. Or it may just appear that way because > > they release snapshots so often. > > Maybe. Gcc development is very "static"... static or stagnant? :) > > We don't like egcs because... > > why? > > > > I don't like it very much because it's not so stable, and it is a "commercial > product". We'll maybe it's not properly commercial but... It's GPL, same as gcc. True it is a more moving target, but we don't have to use egcs-current, we could use a more stable snapshot, picking the snapshot is a dillema though. > > > I'm trying to avoid playing musical compilers :) > > > > ???? > ala' "musical chairs" meaning i have 2.7.2.2 sorta working, but i'm being told to use 2.8.1 when i'd rather really be using egcs... ~/o doo bee doo bee dooooo ~/o :) -Alfred > > > Ciao Ciao > Paolo Di Francesco > _ > ->B<- All Recycled Bytes Message ... > ~ > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Nov 30 06:17:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA00759 for freebsd-sparc-outgoing; Mon, 30 Nov 1998 06:17:35 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from animaniacs.itribe.net (gatekeeper.itribe.net [209.49.144.254]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id GAA00753 for ; Mon, 30 Nov 1998 06:17:33 -0800 (PST) (envelope-from jamie@itribe.net) Received: from localhost (jamie@localhost) by animaniacs.itribe.net (950413.SGI.8.6.12/950213.SGI.AUTOCF) via SMTP id JAA04962; Mon, 30 Nov 1998 09:16:32 -0500 Date: Mon, 30 Nov 1998 09:16:32 -0500 (EST) From: Jamie Bowden To: Wes Peters cc: Greg Lehey , Paolo Di Francesco , freebsd-sparc@FreeBSD.ORG Subject: Re: [Ultra] Compiler, again In-Reply-To: <365FA073.BD5F78AF@softweyr.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've got an Origin200 laying around not doing much (outside of running oracle anyway :) I can build the toolchain on if someone wants to give some instructions. It's not Sun, but it is 64 bit. I also have an LX doing nothing (literally) which I can put a few things on. Not 64 bit, but it is a sparc. On Sat, 28 Nov 1998, Wes Peters wrote: > Greg Lehey wrote: > > > > On Saturday, 28 November 1998 at 2:16:46 +0000, Paolo Di Francesco wrote: > > > > > P.P.S. Rember: I haven't an Ultra. This means "crosscompiling" and I don't > > > know if we can use gcc for crosscompiling 8( > > > > Yes, gcc can be compiled as a cross-compiler. > > It's really quite simple; I make my living with GCC cross-compilers. > > There are a few caveats; a GCC sparc cross-compiler running on a > non-sparc host generates slightly different code from a sparc- > hosted compiler; I have no idea why. Both generate valid code, just > slightly different. > > Also, GCC code for 64-bit processors is better optimized when compiled > on a 64-bit system. IIRC, the 64-bit hosts use larger window sizes > for register scheduling and peephole optimization. > > Neither of these should have any effect on an initial porting effort. > Once the kernel and userland are stable enough to support ongoing > development, they become moot points. > > The best development environment for this is whatever you have: > FreeBSD/386, FreeBSD/AXP, NetBSD/SPARC, Solaris SPARC, whatever. > Running GCC cross-compilers on Atari STs running GEMDOG is a > possibility, and better than not doing anything. ;^) Jamie Bowden -- Systems Administrator, iTRiBE.net If we've got to fight over grep, sign me up. But boggle can go. -Ted Faber (on Hasbro's request for removal of /usr/games/boggle) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Nov 30 07:22:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA07452 for freebsd-sparc-outgoing; Mon, 30 Nov 1998 07:22:25 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from bright.fx.genx.net (bright.fx.genx.net [206.64.4.154]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA07445 for ; Mon, 30 Nov 1998 07:22:20 -0800 (PST) (envelope-from bright@hotjobs.com) Received: from localhost (bright@localhost) by bright.fx.genx.net (8.9.1/8.9.1) with ESMTP id KAA46884; Mon, 30 Nov 1998 10:25:37 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.fx.genx.net: bright owned process doing -bs Date: Mon, 30 Nov 1998 10:25:37 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.fx.genx.net To: Jamie Bowden cc: freebsd-sparc@FreeBSD.ORG Subject: Re: [Ultra] Compiler, again In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 30 Nov 1998, Jamie Bowden wrote: > > I've got an Origin200 laying around not doing much (outside of running > oracle anyway :) I can build the toolchain on if someone wants to give > some instructions. It's not Sun, but it is 64 bit. I also have an LX > doing nothing (literally) which I can put a few things on. Not 64 bit, > but it is a sparc. > I'll be putting up files + patches by the end of the week, perhaps a cvs server. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Nov 30 10:39:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA25773 for freebsd-sparc-outgoing; Mon, 30 Nov 1998 10:39:53 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from rachel (mail.glenatl.glenayre.com [157.230.160.51]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA25768 for ; Mon, 30 Nov 1998 10:39:51 -0800 (PST) (envelope-from jhicks@glenatl.glenayre.com) Received: from jhicks.glenatl.glenayre.com by rachel (SMI-8.6/SMI-SVR4) id NAA02878; Mon, 30 Nov 1998 13:30:24 -0500 Received: from jhicks.glenatl.glenayre.com (localhost [127.0.0.1]) by jhicks.glenatl.glenayre.com (8.8.8/8.8.5) with ESMTP id NAA17927; Mon, 30 Nov 1998 13:30:12 -0500 (EST) Message-Id: <199811301830.NAA17927@jhicks.glenatl.glenayre.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Greg Lehey Cc: Asif Haswarey , freebsd-sparc@FreeBSD.ORG, bright@hotjobs.com, paipai@tin.it Subject: Re: [Ultra] Compiler, again In-reply-to: Your message of "Thu, 26 Nov 1998 11:08:42 +1030." <19981126110842.D67961@freebie.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 30 Nov 1998 13:30:11 -0500 From: Jerry Hicks Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > [Format autorecovered at freebie.lemis.com] > > On Wednesday, 25 November 1998 at 14:11:42 -0500, Jerry Hicks wrote: > > Chuck Youse - Icon CMT Network Operations Center wrote: > >> Use GNU make. > > > > Definitely good advice! > > I prefer GNU make to BSD make, but it's still not good advice. > FreeBSD uses BSD make, and if we start requiring two different makes > to build the product, we're going to have both procedural trouble and > lots of resistance from the core team. > > Greg Hi Greg, Right, but for a first pass just trying to bootstrap GCC it *is* good advice. The port to BSD make must happen, but until the regression tests can be run successfully we don't have a good starting point (do we?) Trying to build a cross-compiler from x86 FreeBSD to sparc64-unknown-elf64 it seems to me that both the FSF and Cygnus EGCS are broken. I'm currently trying to build from Solaris to target sparc64-unknown-elf64 to see if it is just a cross architecture problem. IMHO, we need to get this fixed first and will necessarily need to work with other GCC developers to do this. I wholeheartedly agree that the port to BSD make needs to be done... just not right now. I also agree that gcc28 is preferable over egcs, although we might need to keep an eye out for useful patches from egcs too. Cheers, Jerry Hicks Jerry.Hicks@Glenayre.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Nov 30 10:49:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA26697 for freebsd-sparc-outgoing; Mon, 30 Nov 1998 10:49:03 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from bright.fx.genx.net (bright.fx.genx.net [206.64.4.154]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA26692 for ; Mon, 30 Nov 1998 10:49:01 -0800 (PST) (envelope-from bright@hotjobs.com) Received: from localhost (bright@localhost) by bright.fx.genx.net (8.9.1/8.9.1) with ESMTP id NAA00360; Mon, 30 Nov 1998 13:51:56 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.fx.genx.net: bright owned process doing -bs Date: Mon, 30 Nov 1998 13:51:56 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.fx.genx.net To: Jerry Hicks cc: freebsd-sparc@FreeBSD.ORG Subject: Re: [Ultra] Compiler, again In-Reply-To: <199811301830.NAA17927@jhicks.glenatl.glenayre.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 30 Nov 1998, Jerry Hicks wrote: > > [Format autorecovered at freebie.lemis.com] > > > > On Wednesday, 25 November 1998 at 14:11:42 -0500, Jerry Hicks wrote: > > > Chuck Youse - Icon CMT Network Operations Center wrote: > > >> Use GNU make. > > > > > > Definitely good advice! > > > > I prefer GNU make to BSD make, but it's still not good advice. > > FreeBSD uses BSD make, and if we start requiring two different makes > > to build the product, we're going to have both procedural trouble and > > lots of resistance from the core team. > > > > Greg > > Hi Greg, > > Right, but for a first pass just trying to bootstrap GCC it *is* good advice. > > The port to BSD make must happen, but until the regression tests can be run successfully we don't have a good starting point (do we?) > > Trying to build a cross-compiler from x86 FreeBSD to sparc64-unknown-elf64 it seems to me that both the FSF and Cygnus EGCS are broken. I'm currently trying to build from Solaris to target sparc64-unknown-elf64 to see if it is just a cross architecture problem. > > IMHO, we need to get this fixed first and will necessarily need to work with other GCC developers to do this. I wholeheartedly agree that the port to BSD make needs to be done... just not right now. > > I also agree that gcc28 is preferable over egcs, although we might need to keep an eye out for useful patches from egcs too. I have 2.7.2.2 cross compiling from i386->sparc64elf along with the binutils. I'm going to figure out how to do a 'hello world' type thing to make sure it works then put the toolchain up on cvs later this week. The problem i sorta have is that i have to figure out a way to trick solaris into running these 'unbranded' binaries, perhaps i'll build the toolchain on both boxes then try to link in a .o compiled on my i386 box with one compiled on my ultra. Any better ideas? More info to come. If you REALLY want to look at what i've done with the toolchain/compiler (which isn't much except apply suggested patches from the ultraP project and from people on this list) which seems to work.... Tell me how you'd like me to present it. FTP? web? I'm thinking of makeing a binary distribution at first cause my modem bandwidth is quite limited right now. I'll try to get it up asap, however i would like to do my hello world tests first. -Alfred > Cheers, > > Jerry Hicks > Jerry.Hicks@Glenayre.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Nov 30 16:05:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA08852 for freebsd-sparc-outgoing; Mon, 30 Nov 1998 16:05:00 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from sasami.jurai.net (sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA08846 for ; Mon, 30 Nov 1998 16:04:56 -0800 (PST) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id TAA16982 for ; Mon, 30 Nov 1998 19:04:30 -0500 (EST) Date: Mon, 30 Nov 1998 19:04:30 -0500 (EST) From: "Matthew N. Dodd" To: freebsd-sparc@FreeBSD.ORG Subject: Bootstrapping on NetBSD. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've been pondering the userland bootstrap on NetBSD (halfway through re-integrating all the NETBSD_SYSCALL stuff from the alpha bootstrap) and was wondering if there were an easier way. As we all may or may not know NetBSD has no 'native' syscall interface/ABI but provides an emulation layer for binary ABI compatibality and runs all their userland code through it. (Ie, even local NetBSD execs are 'emulated'). Given this, and the fact that NetBSD runs on both the Sparc and the Sparc64, it would seem to be far easier to modify NetBSD to add FreeBSD/Sparc and FreeBSD/Sparc64 support than to hack and rehack FreeBSD to allow it to be bootstrapped easily. I've been playing around with compiling the FreeBSD userland on NetBSD/sparc and have been fairly successful with the exception that none of the resultant binaries run. (crt0.a and libc.a problems.) I'm willing to bet that given the above (FreeBSD/sparc(64) emulation on NetBSD) and a working toolchain, 90% or more of the userland would just work. (This seems to be in line with the Alpha port in its begennings.) Distributing a toolchain and NetBSD patches (which I'm sure netbsd-current would commit given their desire to run (on) everything.) would greatly open up the playing field to interested parties. I'll take a look at the compat code tonite; can someone give us an idea of what needs to be done to beat the in-tree toolchain into producing FreeBSD/sparc ELF32 binaries? Thanks. -- | Matthew N. Dodd | 78 280Z | 75 164E | 84 245DL | FreeBSD/NetBSD/Sprite/VMS | | winter@jurai.net | This Space For Rent | ix86,sparc,m68k,pmax,vax | | http://www.jurai.net/~winter | Are you k-rad elite enough for my webpage? | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Nov 30 17:55:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA25124 for freebsd-sparc-outgoing; Mon, 30 Nov 1998 17:55:07 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from fep01-svc.tin.it (mta01-acc.tin.it [212.216.176.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA25042 for ; Mon, 30 Nov 1998 17:55:01 -0800 (PST) (envelope-from paipai@box4.tin.it) Received: from winworkstation ([212.216.236.111]) by fep01-svc.tin.it (InterMail v4.0 201-221-105) with SMTP id <19981201015442.LUIV21309.fep01-svc@winworkstation> for ; Tue, 1 Dec 1998 02:54:42 +0100 Comments: Authenticated sender is From: "Paolo Di Francesco" To: freebsd-sparc@FreeBSD.ORG Date: Tue, 1 Dec 1998 02:57:11 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Sorry, but... X-mailer: Pegasus Mail for Win32 (v2.53/R1) Message-Id: <19981201015442.LUIV21309.fep01-svc@winworkstation> Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Sorry. I had to send the files about the developers list, and about the developer's kit, but tommorrow I have an exam at Uni. and I have no time (I was cold, so I spent much time at bed). I hope in 24 hours to send them here. They are almost prepared I have only to "clean" them.... [Then I will apply myself to gcc coding if we have no compiler/cross-compiler solution ;)] Ciao Ciao Paolo Di Francesco _ ->B<- All Recycled Bytes Message ... ~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Nov 30 18:16:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA27749 for freebsd-sparc-outgoing; Mon, 30 Nov 1998 18:16:17 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA27740 for ; Mon, 30 Nov 1998 18:16:12 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id MAA14553; Tue, 1 Dec 1998 12:45:45 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id MAA01111; Tue, 1 Dec 1998 12:45:42 +1030 (CST) Message-ID: <19981201124541.S455@freebie.lemis.com> Date: Tue, 1 Dec 1998 12:45:41 +1030 From: Greg Lehey To: Jerry Hicks Cc: Asif Haswarey , freebsd-sparc@FreeBSD.ORG, bright@hotjobs.com, paipai@tin.it Subject: Re: [Ultra] Compiler, again References: <19981126110842.D67961@freebie.lemis.com> <199811301830.NAA17927@jhicks.glenatl.glenayre.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199811301830.NAA17927@jhicks.glenatl.glenayre.com>; from Jerry Hicks on Mon, Nov 30, 1998 at 01:30:11PM -0500 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [Format autorecovered at freebie.lemis.com] On Monday, 30 November 1998 at 13:30:11 -0500, Jerry Hicks wrote: >> [Format autorecovered at freebie.lemis.com] >> >> On Wednesday, 25 November 1998 at 14:11:42 -0500, Jerry Hicks wrote: >>> Chuck Youse - Icon CMT Network Operations Center wrote: >>>> Use GNU make. >>> >>> Definitely good advice! >> >> I prefer GNU make to BSD make, but it's still not good advice. >> FreeBSD uses BSD make, and if we start requiring two different makes >> to build the product, we're going to have both procedural trouble and >> lots of resistance from the core team. > > Hi Greg, > > Right, but for a first pass just trying to bootstrap GCC it *is* > good advice. Hmm, was that the context? I can't remember. I thought that getting gcc running on a Sparc was as simple as running configure. > The port to BSD make must happen, but until the regression tests can be run successfully we don't have a good starting point (do we?) > > Trying to build a cross-compiler from x86 FreeBSD to sparc64-unknown-elf64 it seems to me that both the FSF and Cygnus EGCS are broken. I'm currently trying to build from Solaris to target sparc64-unknown-elf64 to see if it is just a cross architecture problem. > > IMHO, we need to get this fixed first and will necessarily need to work with other GCC developers to do this. I wholeheartedly agree that the port to BSD make needs to be done... just not right now. > > I also agree that gcc28 is preferable over egcs, although we might need to keep an eye out for useful patches from egcs too. It would be a *lot* easier to read your mail if you made your lines about the normal length they are in books, like this: > The port to BSD make must happen, but until the regression tests can > be run successfully we don't have a good starting point (do we?) Sure, the i386 Makefiles. Once we've built the initial port, the next thing should be to squeeze it into the FreeBSD framework. The longer we go a different way, the more difficult it'll be to rejoin the main tree. > Trying to build a cross-compiler from x86 FreeBSD to > sparc64-unknown-elf64 it seems to me that both the FSF and Cygnus > EGCS are broken. I'm currently trying to build from Solaris to > target sparc64-unknown-elf64 to see if it is just a cross > architecture problem. I'd guess it's a configuration problem. > IMHO, we need to get this fixed first and will necessarily need to > work with other GCC developers to do this. I wholeheartedly agree > that the port to BSD make needs to be done... just not right now. I still think it should be done as quickly as possible. > I also agree that gcc28 is preferable over egcs, although we might > need to keep an eye out for useful patches from egcs too. I don't know the differences and the problems enough to judge this. If it's true that future development effort is going into egcs, I suppose we don't have much option than to follow, sooner or later. Given that this is a new port with little ballast, it seems to me that the sooner, the better. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Nov 30 18:16:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA27799 for freebsd-sparc-outgoing; Mon, 30 Nov 1998 18:16:49 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from rgate2.ricochet.net (rgate2.ricochet.net [204.179.143.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA27744 for ; Mon, 30 Nov 1998 18:16:16 -0800 (PST) (envelope-from enkhyl@scient.com) Received: from mg130-230.ricochet.net (mg130-230.ricochet.net [204.179.130.230]) by rgate2.ricochet.net (8.8.8/8.8.8) with ESMTP id UAA27661 for ; Mon, 30 Nov 1998 20:14:47 -0600 (CST) Date: Mon, 30 Nov 1998 18:14:38 -0800 (PST) From: Christopher Nielsen X-Sender: enkhyl@ender.sf.scient.com Reply-To: cnielsen@pobox.com To: sparc@FreeBSD.ORG Subject: Re: crt0.o (was) Re: Huzzah! In-Reply-To: <3660D21F.34DC3F73@softweyr.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, 28 Nov 1998, Wes Peters wrote: > SPARC registers are really different from the Intel world. ;^) This is a good thing, IMHO. :-) -- Christopher Nielsen Scient: The eBusiness Systems Innovator cnielsen@scient.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Nov 30 19:04:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA02854 for freebsd-sparc-outgoing; Mon, 30 Nov 1998 19:04:52 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from xylan.com (postal.xylan.com [208.8.0.248]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA02847 for ; Mon, 30 Nov 1998 19:04:49 -0800 (PST) (envelope-from wes@softweyr.com) Received: from mailhub.xylan.com by xylan.com (8.8.7/SMI-SVR4 (xylan-mgw 2.2 [OUT])) id TAA05340; Mon, 30 Nov 1998 19:04:11 -0800 (PST) Received: from utah.XYLAN.COM by mailhub.xylan.com (SMI-8.6/SMI-SVR4 (mailhub 2.1 [HUB])) id TAA02263; Mon, 30 Nov 1998 19:04:16 -0800 Received: from softweyr.com by utah.XYLAN.COM (SMI-8.6/SMI-SVR4 (xylan utah [SPOOL])) id UAA05881; Mon, 30 Nov 1998 20:04:09 -0700 Message-ID: <36635CA9.81610BFE@softweyr.com> Date: Mon, 30 Nov 1998 20:04:09 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 2.2.7-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: cnielsen@pobox.com CC: sparc@FreeBSD.ORG Subject: Re: crt0.o (was) Re: Huzzah! References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Christopher Nielsen wrote: > > On Sat, 28 Nov 1998, Wes Peters wrote: > > > SPARC registers are really different from the Intel world. ;^) > > This is a good thing, IMHO. :-) Only if you want performance and ease of programming. Otherwise, the x86 architecture is ideal. (MASM = MArquise de Sade Mode) -- Where am I, and what am I doing in this handbasket? Wes Peters +1.801.915.2061 Softweyr LLC wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Nov 30 23:02:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA22715 for freebsd-sparc-outgoing; Mon, 30 Nov 1998 23:02:29 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from tapti.hss.hns.com (tapti.hss.hns.com [139.85.242.19]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA22703 for ; Mon, 30 Nov 1998 23:02:19 -0800 (PST) (envelope-from kchowksey@hss.hns.com) Received: from tarang.hss.hns.com (tarang.hss.hns.com [139.85.242.33]) by tapti.hss.hns.com (8.8.8/8.8.8) with ESMTP id NAA16865; Tue, 1 Dec 1998 13:14:20 +0530 (IST) Received: (from kchowksey@localhost) by tarang.hss.hns.com (8.8.2/8.7.3) id KAA14386; Tue, 1 Dec 1998 10:20:08 +0530 (IST) Date: Tue, 1 Dec 1998 10:20:08 +0530 (IST) Message-Id: <199812010450.KAA14386@tarang.hss.hns.com> From: Kapil Chowksey MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Alfred Perlstein Cc: freebsd-sparc@FreeBSD.ORG Subject: Re: [Ultra] Compiler, again In-Reply-To: References: <199811301830.NAA17927@jhicks.glenatl.glenayre.com> X-Mailer: VM 6.34 under Emacs 19.34.1 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 30 November, Alfred Perlstein wrote: > I have 2.7.2.2 cross compiling from i386->sparc64elf along with the > binutils. Did you apply this patch ? --- config/sparc/sp64-elf.h~ Thu Apr 2 15:22:46 1998 +++ config/sparc/sp64-elf.h Sat Aug 22 13:37:01 1998 @@ -35,19 +35,19 @@ #undef TARGET_VERSION #define TARGET_VERSION fprintf (stderr, " (sparc64-elf)") -/* A v9 compiler with stack-bias, 32 bit integers and 64 bit pointers, - in a Medium/Anywhere code model environment. */ +/* A v9 compiler with stack-bias, 32 bit integers, 64 bit longs and + 64 bit pointers, in a Medium/Anywhere code model environment. */ #undef TARGET_DEFAULT #define TARGET_DEFAULT \ - (MASK_V9 + MASK_ARCH64 + MASK_PTR64 /* + MASK_HARD_QUAD */ \ + (MASK_V9 + MASK_ARCH64 + MASK_LONG64 + MASK_PTR64 + MASK_HARD_QUAD \ + MASK_STACK_BIAS + MASK_MEDANY + MASK_APP_REGS + MASK_EPILOGUE + MASK_FPU) /* __svr4__ is used by the C library */ /* ??? __arch64__ is subject to change. */ #undef CPP_PREDEFINES #define CPP_PREDEFINES "\ --D__sparc__ -D__sparc_v9__ -D__arch64__ -D__svr4__ \ +-D__sparc__ -D__sparc_v9__ -D__arch64__ -D__svr4__ -D__ELF__ \ -Acpu(sparc64) -Amachine(sparc64) \ " > I'm going to figure out how to do a 'hello world' type thing to make > sure it works then put the toolchain up on cvs later this week. > > The problem i sorta have is that i have to figure out a way to trick > solaris into running these 'unbranded' binaries, perhaps i'll build the > toolchain on both boxes then try to link in a .o compiled on my i386 box > with one compiled on my ultra. Any better ideas? If you are testing your toolchain with solaris, you had better have solaris 7. If you don't, then I can send you an OpenBoot client program for hello world which you can test with by booting it via tftpboot. -- Kapil Chowksey Viva GNU ! kchowksey@hss.hns.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Nov 30 23:42:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA26849 for freebsd-sparc-outgoing; Mon, 30 Nov 1998 23:42:30 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from bright.fx.genx.net (bright.fx.genx.net [206.64.4.154]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA26840 for ; Mon, 30 Nov 1998 23:42:28 -0800 (PST) (envelope-from bright@hotjobs.com) Received: from localhost (bright@localhost) by bright.fx.genx.net (8.9.1/8.9.1) with ESMTP id CAA04451; Tue, 1 Dec 1998 02:45:21 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.fx.genx.net: bright owned process doing -bs Date: Tue, 1 Dec 1998 02:45:21 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.fx.genx.net To: Kapil Chowksey cc: freebsd-sparc@FreeBSD.ORG Subject: Re: [Ultra] Compiler, again In-Reply-To: <199812010450.KAA14386@tarang.hss.hns.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 1 Dec 1998, Kapil Chowksey wrote: > > I have 2.7.2.2 cross compiling from i386->sparc64elf along with the > > binutils. > > Did you apply this patch ? > > --- config/sparc/sp64-elf.h~ Thu Apr 2 15:22:46 1998 > +++ config/sparc/sp64-elf.h Sat Aug 22 13:37:01 1998 > @@ -35,19 +35,19 @@ > #undef TARGET_VERSION > #define TARGET_VERSION fprintf (stderr, " (sparc64-elf)") > Somehow the second part of it flew by me, but i got it in now. > > I'm going to figure out how to do a 'hello world' type thing to make > > sure it works then put the toolchain up on cvs later this week. > > > > The problem i sorta have is that i have to figure out a way to trick > > solaris into running these 'unbranded' binaries, perhaps i'll build the > > toolchain on both boxes then try to link in a .o compiled on my i386 box > > with one compiled on my ultra. Any better ideas? > > If you are testing your toolchain with solaris, you had better have > solaris 7. If you don't, then I can send you an OpenBoot client > program for hello world which you can test with by booting it via > tftpboot. ummmm, say what? Anything you can show me will be of great help. I am running solaris 7 on my ultra right now though. Do you know of any pointers that explain inline asms? ie: _asm { weird stuff : : : } I grew up in a TASM world :) I'm going to search the GNU pages for hints about this. I know some of it is asm, some tells the compiler which registers are clobbered and which registers it expects to contain variables but i'm unsure of the syntax. If you have a url handy i'd really appreciate it though. Thank you, -Alfred > > -- > Kapil Chowksey Viva GNU ! > kchowksey@hss.hns.com > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Tue Dec 1 06:06:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA00761 for freebsd-sparc-outgoing; Tue, 1 Dec 1998 06:06:56 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from bright.fx.genx.net (bright.fx.genx.net [206.64.4.154]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA00752 for ; Tue, 1 Dec 1998 06:06:54 -0800 (PST) (envelope-from bright@hotjobs.com) Received: from localhost (bright@localhost) by bright.fx.genx.net (8.9.1/8.9.1) with ESMTP id JAA04767; Tue, 1 Dec 1998 09:09:52 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.fx.genx.net: bright owned process doing -bs Date: Tue, 1 Dec 1998 09:09:52 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.fx.genx.net To: Kapil Chowksey cc: freebsd-sparc@FreeBSD.ORG Subject: Re: [Ultra] Compiler, again In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 1 Dec 1998, Alfred Perlstein wrote: > > If you are testing your toolchain with solaris, you had better have > > solaris 7. If you don't, then I can send you an OpenBoot client > > program for hello world which you can test with by booting it via > > tftpboot. > > ummmm, say what? Anything you can show me will be of great help. > I am running solaris 7 on my ultra right now though. > > Do you know of any pointers that explain inline asms? ie: > > _asm { weird stuff > : > : > : > } > > I grew up in a TASM world :) I'm going to search the GNU pages for > hints about this. I know some of it is asm, some tells the compiler > which registers are clobbered and which registers it expects to > contain variables but i'm unsure of the syntax. If you have a url handy > i'd really appreciate it though. > > > -- > > Kapil Chowksey Viva GNU ! > > kchowksey@hss.hns.com Nevermind, i found it in the .info files. Nifty. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Dec 2 09:33:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA15345 for freebsd-sparc-outgoing; Wed, 2 Dec 1998 09:33:12 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from fep03-svc.tin.it (mta03-acc.tin.it [212.216.176.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA15261 for ; Wed, 2 Dec 1998 09:31:17 -0800 (PST) (envelope-from paipai@box4.tin.it) Received: from winworkstation ([212.216.237.15]) by fep02-svc.tin.it (InterMail v4.0 201-221-105) with SMTP id <19981202123113.JOYJ16980.fep02-svc@winworkstation> for ; Wed, 2 Dec 1998 13:31:13 +0100 Comments: Authenticated sender is From: "Paolo Di Francesco" To: freebsd-sparc@FreeBSD.ORG Date: Wed, 2 Dec 1998 13:33:53 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Libutils on Sparc64/Sparc32 X-mailer: Pegasus Mail for Win32 (v2.53/R1) Message-Id: <19981202123113.JOYJ16980.fep02-svc@winworkstation> Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have just downloaded the libutils. It's late very late (look for time...), so sorry for my stupid question but: has someone put his hands on the binutils/bfd? Have we to modify something here? (Add a file corresponding to the freebsd-sparc entry?) I don't know how it works. Tomorrow I'll try to read the docs about it, and hope to build something working. (a toolchain for example...) In the meantime.... Has someone a working toolchain here? If yes, have you tried to do some cross-compiling? Are you sure it works? Ciao Ciao Paolo Di Francesco _ ->B<- All Recycled Bytes Message ... ~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Dec 2 10:31:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA20399 for freebsd-sparc-outgoing; Wed, 2 Dec 1998 10:31:08 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from bright.fx.genx.net (bright.fx.genx.net [206.64.4.154]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA20394 for ; Wed, 2 Dec 1998 10:31:02 -0800 (PST) (envelope-from bright@hotjobs.com) Received: from localhost (bright@localhost) by bright.fx.genx.net (8.9.1/8.9.1) with ESMTP id NAA06848; Wed, 2 Dec 1998 13:33:43 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.fx.genx.net: bright owned process doing -bs Date: Wed, 2 Dec 1998 13:33:43 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.fx.genx.net To: Paolo Di Francesco cc: freebsd-sparc@FreeBSD.ORG Subject: Re: Libutils on Sparc64/Sparc32 In-Reply-To: <19981202123113.JOYJ16980.fep02-svc@winworkstation> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 2 Dec 1998, Paolo Di Francesco wrote: > I have just downloaded the libutils. It's late very late (look for time...), so > sorry for my stupid question but: > > has someone put his hands on the binutils/bfd? Have we to modify something > here? (Add a file corresponding to the freebsd-sparc entry?) > > I don't know how it works. Tomorrow I'll try to read the docs about it, and > hope to build something working. (a toolchain for example...) > > In the meantime.... Has someone a working toolchain here? If yes, have you > tried to do some cross-compiling? Are you sure it works? First, what is 'libutils' ? do you mean 'binutils'? As far as the compiler, Yes, i'll be posting it as soon as i'm sure it generates correct code, prolly this weekend. I have 2.7.2.2 working afaik. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Dec 2 11:21:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA24311 for freebsd-sparc-outgoing; Wed, 2 Dec 1998 11:21:31 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from jive.nacholand.com (jive.dub.net [169.197.1.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA24206 for ; Wed, 2 Dec 1998 11:21:15 -0800 (PST) (envelope-from unfurl@dub.net) Received: from jive.dub.net (unfurl@jive.dub.net [169.197.1.32]) by jive.nacholand.com (8.8.8/8.8.8) with SMTP id MAA12592 for ; Wed, 2 Dec 1998 12:21:45 -0700 (MST) (envelope-from unfurl@dub.net) Date: Wed, 2 Dec 1998 12:21:44 -0700 (MST) From: Unfurl X-Sender: unfurl@jive.nacholand.com To: FreeBSD-SPARC List Subject: sparc5 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Well, I just got back from an extended vacation and have a few questions about what has gone on in the past few days. 1. Are we working on both the regular Sparc (e.g. Sparc5) platform and the UltraSparc platform? 2. Would it be of use if I had a Sparc5 to develop on? (I guess this is connected to question 1) I think I may have found a source for getting a pretty cheap S5. Sparc 5 - 70 mhz 32 mb RAM 2.1 gb HD CDROM drive Floppy All this for $725. Is that a good deal? I am pretty under skilled for this project but I am super excited about helping out. I think I will shoot for getting this machine if it will be beneficial. -Bill -- unfurl@dub.net - This is a munition. Fight Back! #!/bin/perl -sp0777i Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA26135 for freebsd-sparc-outgoing; Wed, 2 Dec 1998 16:10:45 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from set.scient.com (set.Scient.COM [208.29.209.254]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id QAA26125 for ; Wed, 2 Dec 1998 16:10:41 -0800 (PST) (envelope-from enkhyl@scient.com) Received: by set.scient.com; (5.65v4.0/1.3/10May95) id AA31880; Wed, 2 Dec 1998 16:08:36 -0800 Received: from somewhere by smtpxd Date: Wed, 2 Dec 1998 16:08:25 -0800 (PST) From: Christopher Nielsen X-Sender: enkhyl@ender.sf.scient.com Reply-To: cnielsen@pobox.com To: Paolo Di Francesco Cc: freebsd-sparc@FreeBSD.ORG Subject: Re: Libutils on Sparc64/Sparc32 In-Reply-To: <19981202123113.JOYJ16980.fep02-svc@winworkstation> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 2 Dec 1998, Paolo Di Francesco wrote: > has someone put his hands on the binutils/bfd? Have we to modify something > here? (Add a file corresponding to the freebsd-sparc entry?) No changes need to be made to binutils-2.9.1, AFAIK. > In the meantime.... Has someone a working toolchain here? If yes, have you > tried to do some cross-compiling? Are you sure it works? I have what appears to be a working toolchain based on binutils-2.9.1 and gcc-2.7.2.2 with ultraP patches and Kapil Chowksey's patches. I've compiled a simple C program with success, though it doesn't link (I think Alfred Perlstein has a fix for this). I haven't tested that the program DTRT when run, since a) it won't link and b) I don't have a machine running Solaris7 (Kapil Chowksey mentioned this as a requirement). -- Christopher Nielsen Scient: The eBusiness Systems Innovator cnielsen@scient.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Dec 2 16:35:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA28939 for freebsd-sparc-outgoing; Wed, 2 Dec 1998 16:35:56 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from bright.fx.genx.net (bright.fx.genx.net [206.64.4.154]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA28659 for ; Wed, 2 Dec 1998 16:34:42 -0800 (PST) (envelope-from bright@hotjobs.com) Received: from localhost (bright@localhost) by bright.fx.genx.net (8.9.1/8.9.1) with ESMTP id TAA10089; Wed, 2 Dec 1998 19:36:03 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.fx.genx.net: bright owned process doing -bs Date: Wed, 2 Dec 1998 19:36:03 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.fx.genx.net To: cnielsen@pobox.com cc: Paolo Di Francesco , freebsd-sparc@FreeBSD.ORG Subject: Re: Libutils on Sparc64/Sparc32 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 2 Dec 1998, Christopher Nielsen wrote: > On Wed, 2 Dec 1998, Paolo Di Francesco wrote: > > > has someone put his hands on the binutils/bfd? Have we to modify something > > here? (Add a file corresponding to the freebsd-sparc entry?) > > No changes need to be made to binutils-2.9.1, AFAIK. > > > In the meantime.... Has someone a working toolchain here? If yes, have you > > tried to do some cross-compiling? Are you sure it works? > > I have what appears to be a working toolchain based on binutils-2.9.1 and > gcc-2.7.2.2 with ultraP patches and Kapil Chowksey's patches. I've > compiled a simple C program with success, though it doesn't link (I think > Alfred Perlstein has a fix for this). I haven't tested that the program > DTRT when run, since a) it won't link and b) I don't have a machine > running Solaris7 (Kapil Chowksey mentioned this as a requirement). The problem with linking is that there is no crt*.o, which are the asm startup stubs for the code. I'm going to do a couple things, look at netbsd, comapre to ours for i386 and see what can be done. Someone gave me code for a bootstrapping kernel, and i'm going to put this up in the repository i'm going to setup. I'm trying to get it to compile under my usr/src/sys/sparc64 dir... we'll see soon. I can't get solaris ld to link the files into an executable even when i provide an on-sparc compiled 'main' and use sunproC compiler. Remeber, this is new to me, i'll figure it out soon. I think we still have 'bad magic' in the object files so the linker refuese to link them. Also, gcc's asm output does not agree with sunPro either so it's difficult to test that... By glancing over the simple asm code i've generated it looks proper. What i hope to do is use the kernel code supplied to me for printf stuff, basically get it to boot on the sparc via tftp and see what i can get it to print out and such. -Alfred > > -- > Christopher Nielsen > Scient: The eBusiness Systems Innovator > > cnielsen@scient.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Dec 2 16:54:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA00784 for freebsd-sparc-outgoing; Wed, 2 Dec 1998 16:54:14 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from mail.naviant.com (mail.naviant.com [207.106.77.11]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id QAA00779 for ; Wed, 2 Dec 1998 16:54:13 -0800 (PST) (envelope-from lgriffin@naviant.com) Received: from plato by mail.naviant.com (SMI-8.6/SMI-SVR4) id TAA17424; Wed, 2 Dec 1998 19:49:58 -0500 From: "Lyndon Griffin" To: , "Paolo Di Francesco" Cc: Subject: RE: Libutils on Sparc64/Sparc32 Date: Wed, 2 Dec 1998 19:52:13 -0500 Message-ID: <007b01be1e57$2a5ba630$6fe2f4cd@plato.naviant.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Importance: Normal Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have a sun4m running Solaris 7 Server, if you'll tell me where I can get the binaries, I'll give it a go (as long as it's not 64 bit). <:) Lyndon >I haven't tested that the program > DTRT when run, since a) it won't link and b) I don't have a machine > running Solaris7 (Kapil Chowksey mentioned this as a requirement). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Dec 2 16:55:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA00880 for freebsd-sparc-outgoing; Wed, 2 Dec 1998 16:55:24 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from set.scient.com (set.Scient.COM [208.29.209.254]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id QAA00870 for ; Wed, 2 Dec 1998 16:55:21 -0800 (PST) (envelope-from enkhyl@scient.com) Received: by set.scient.com; (5.65v4.0/1.3/10May95) id AA02378; Wed, 2 Dec 1998 16:53:17 -0800 Received: from somewhere by smtpxd Date: Wed, 2 Dec 1998 16:53:06 -0800 (PST) From: Christopher Nielsen X-Sender: enkhyl@ender.sf.scient.com Reply-To: cnielsen@pobox.com To: Lyndon Griffin Cc: Paolo Di Francesco , freebsd-sparc@FreeBSD.ORG Subject: RE: Libutils on Sparc64/Sparc32 In-Reply-To: <007b01be1e57$2a5ba630$6fe2f4cd@plato.naviant.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 2 Dec 1998, Lyndon Griffin wrote: > I have a sun4m running Solaris 7 Server, if you'll tell me where I can get > the binaries, I'll give it a go (as long as it's not 64 bit). It needs to be sun4u running Solaris7 :-) Thanks for the offer, though. -- Christopher Nielsen Scient: The eBusiness Systems Innovator cnielsen@scient.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Dec 2 19:19:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA17742 for freebsd-sparc-outgoing; Wed, 2 Dec 1998 19:19:24 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from fep03-svc.tin.it (mta03-acc.tin.it [212.216.176.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA17732 for ; Wed, 2 Dec 1998 19:19:19 -0800 (PST) (envelope-from paipai@box4.tin.it) Received: from winworkstation ([212.216.235.42]) by fep03-svc.tin.it (InterMail v4.0 201-221-105) with SMTP id <19981203031900.HGTI15472.fep03-svc@winworkstation> for ; Thu, 3 Dec 1998 04:19:00 +0100 Comments: Authenticated sender is From: "Paolo Di Francesco" To: freebsd-sparc@FreeBSD.ORG Date: Thu, 3 Dec 1998 04:21:41 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Libutils on Sparc64/Sparc32 X-mailer: Pegasus Mail for Win32 (v2.53/R1) Message-Id: <19981203031900.HGTI15472.fep03-svc@winworkstation> Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > First, what is 'libutils' ? do you mean 'binutils'? > Yes. Sorry, it was very late....8) > As far as the compiler, Yes, i'll be posting it as soon as i'm sure it > generates correct code, prolly this weekend. > > I have 2.7.2.2 working afaik. > I don't know. Maybe it does not work for this. In the binutils there is a dir called bfd. Please read the "readme" document in this dir and tell me what do you think about it. You can note there are many interesting files in this dir, and I was wondering if we have to add something here. P.S. I'm waiting for the compiler... 8) Ciao Ciao Paolo Di Francesco _ ->B<- All Recycled Bytes Message ... ~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Dec 2 19:49:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA20521 for freebsd-sparc-outgoing; Wed, 2 Dec 1998 19:49:15 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from set.scient.com (set.Scient.COM [208.29.209.254]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id TAA20511 for ; Wed, 2 Dec 1998 19:49:09 -0800 (PST) (envelope-from enkhyl@scient.com) Received: by set.scient.com; (5.65v4.0/1.3/10May95) id AA20863; Wed, 2 Dec 1998 19:48:52 -0800 Received: from somewhere by smtpxd Date: Wed, 2 Dec 1998 19:48:39 -0800 (PST) From: Christopher Nielsen X-Sender: enkhyl@ender.sf.scient.com Reply-To: cnielsen@pobox.com To: Paolo Di Francesco Cc: freebsd-sparc@FreeBSD.ORG Subject: Re: Libutils on Sparc64/Sparc32 In-Reply-To: <19981203031900.HGTI15472.fep03-svc@winworkstation> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 3 Dec 1998, Paolo Di Francesco wrote: > I don't know. Maybe it does not work for this. In the binutils there is a dir > called bfd. Please read the "readme" document in this dir and tell me what do > you think about it. You can note there are many interesting files in this > dir, and I was wondering if we have to add something here. bfd is for reading and processing object files. I don't see that we need to add anything at the moment, but there might be a need when we have a bootable system. -- Christopher Nielsen Scient: The eBusiness Systems Innovator cnielsen@scient.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Dec 2 20:01:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA21937 for freebsd-sparc-outgoing; Wed, 2 Dec 1998 20:01:01 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from fep02-svc.tin.it (mta02-acc.tin.it [212.216.176.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA21929 for ; Wed, 2 Dec 1998 20:00:56 -0800 (PST) (envelope-from paipai@box4.tin.it) Received: from winworkstation ([212.216.235.42]) by fep02-svc.tin.it (InterMail v4.0 201-221-105) with SMTP id <19981203040035.OBKW16980.fep02-svc@winworkstation> for ; Thu, 3 Dec 1998 05:00:35 +0100 Comments: Authenticated sender is From: "Paolo Di Francesco" To: freebsd-sparc@FreeBSD.ORG Date: Thu, 3 Dec 1998 05:03:16 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Libutils on Sparc64/Sparc32 X-mailer: Pegasus Mail for Win32 (v2.53/R1) Message-Id: <19981203040035.OBKW16980.fep02-svc@winworkstation> Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > I don't know. Maybe it does not work for this. In the binutils there is a dir > > called bfd. Please read the "readme" document in this dir and tell me what do > > you think about it. You can note there are many interesting files in this > > dir, and I was wondering if we have to add something here. > > bfd is for reading and processing object files. I don't see that we need > to add anything at the moment, but there might be a need when we have a > bootable system. > Hum... I don't know if Alfred's prob with linking was due to this... Maybe I'm wrong (probably) but the binutil are based on this, right? So the question is: _if_ binutils are based on this, and we have no "sparc-elf-bsd" file for a description of this file, maybe we cannot run anything, right? And more: Alfred said he is trying to run cross-compiled apps under Solaris7. Is this bfd-file included? Does we need one to cross-compile Solaris7 apps? (to test the crosscompiler) I know. Maybe these are stupid questions. But I don't know much how it works and there is not so many docs about it 8( Tomorrow, I'll start playing with egcs cross-compiler. Ciao Ciao Paolo Di Francesco _ ->B<- All Recycled Bytes Message ... ~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Dec 2 21:30:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA00911 for freebsd-sparc-outgoing; Wed, 2 Dec 1998 21:30:41 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from sasami.jurai.net (sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA00904 for ; Wed, 2 Dec 1998 21:30:38 -0800 (PST) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id AAA05119; Thu, 3 Dec 1998 00:30:04 -0500 (EST) Date: Thu, 3 Dec 1998 00:30:03 -0500 (EST) From: "Matthew N. Dodd" To: Alfred Perlstein cc: cnielsen@pobox.com, Paolo Di Francesco , freebsd-sparc@FreeBSD.ORG Subject: Re: Libutils on Sparc64/Sparc32 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 2 Dec 1998, Alfred Perlstein wrote: > The problem with linking is that there is no crt*.o, which are the asm > startup stubs for the code. I have some borrowed NetBSD code that produces a working crt0.o. I can get as far as to incur a segfault due to a problem in libc.a when i run ls compiled out of the -current tree with the NetBSD/sparc toolchain. -- | Matthew N. Dodd | 78 280Z | 75 164E | 84 245DL | FreeBSD/NetBSD/Sprite/VMS | | winter@jurai.net | This Space For Rent | ix86,sparc,m68k,pmax,vax | | http://www.jurai.net/~winter | Are you k-rad elite enough for my webpage? | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Dec 2 21:32:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA01097 for freebsd-sparc-outgoing; Wed, 2 Dec 1998 21:32:26 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from bright.fx.genx.net (bright.fx.genx.net [206.64.4.154]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA01091 for ; Wed, 2 Dec 1998 21:32:25 -0800 (PST) (envelope-from bright@hotjobs.com) Received: from localhost (bright@localhost) by bright.fx.genx.net (8.9.1/8.9.1) with ESMTP id AAA10525; Thu, 3 Dec 1998 00:35:32 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.fx.genx.net: bright owned process doing -bs Date: Thu, 3 Dec 1998 00:35:32 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.fx.genx.net To: "Matthew N. Dodd" cc: freebsd-sparc@FreeBSD.ORG Subject: Re: Libutils on Sparc64/Sparc32 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 3 Dec 1998, Matthew N. Dodd wrote: > On Wed, 2 Dec 1998, Alfred Perlstein wrote: > > The problem with linking is that there is no crt*.o, which are the asm > > startup stubs for the code. > > I have some borrowed NetBSD code that produces a working crt0.o. I can > get as far as to incur a segfault due to a problem in libc.a when i run ls > compiled out of the -current tree with the NetBSD/sparc toolchain. FreeBSD-elf doesn't use crt0.o anymore :( -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Dec 2 21:42:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA01839 for freebsd-sparc-outgoing; Wed, 2 Dec 1998 21:42:03 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA01795 for ; Wed, 2 Dec 1998 21:41:57 -0800 (PST) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.9.1/8.9.1) id QAA12401; Thu, 3 Dec 1998 16:49:26 +1100 (EST) (envelope-from jb) From: John Birrell Message-Id: <199812030549.QAA12401@cimlogic.com.au> Subject: Re: Libutils on Sparc64/Sparc32 In-Reply-To: from "Matthew N. Dodd" at "Dec 3, 98 00:30:03 am" To: winter@jurai.net (Matthew N. Dodd) Date: Thu, 3 Dec 1998 16:49:26 +1100 (EST) Cc: bright@hotjobs.com, cnielsen@pobox.com, paipai@tin.it, freebsd-sparc@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Matthew N. Dodd wrote: > On Wed, 2 Dec 1998, Alfred Perlstein wrote: > > The problem with linking is that there is no crt*.o, which are the asm > > startup stubs for the code. > > I have some borrowed NetBSD code that produces a working crt0.o. I can > get as far as to incur a segfault due to a problem in libc.a when i run ls > compiled out of the -current tree with the NetBSD/sparc toolchain. This is probably the result of the different structure sizes expected by some NetBSD syscalls (like stat). -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Dec 2 22:38:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA06423 for freebsd-sparc-outgoing; Wed, 2 Dec 1998 22:38:25 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [128.120.56.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA06418 for ; Wed, 2 Dec 1998 22:38:24 -0800 (PST) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by relay.nuxi.com (8.9.1/8.9.1) id WAA19638; Wed, 2 Dec 1998 22:38:09 -0800 (PST) (envelope-from obrien) Message-ID: <19981202223809.M863@nuxi.com> Date: Wed, 2 Dec 1998 22:38:09 -0800 From: "David O'Brien" To: "Matthew N. Dodd" Cc: freebsd-sparc@FreeBSD.ORG Subject: Re: Libutils on Sparc64/Sparc32 Reply-To: obrien@NUXI.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Matthew N. Dodd on Thu, Dec 03, 1998 at 12:30:03AM -0500 X-Operating-System: FreeBSD 3.0-CURRENT Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I have some borrowed NetBSD code that produces a working crt0.o. You want to rename this crt1.o. crt0.o is used in FreeBSD to mean the a.out program initialization. crt1.o is the ELF version. -- -- David (obrien@NUXI.ucdavis.edu -or- obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Dec 2 22:42:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA06859 for freebsd-sparc-outgoing; Wed, 2 Dec 1998 22:42:48 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from sasami.jurai.net (sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA06852 for ; Wed, 2 Dec 1998 22:42:46 -0800 (PST) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id BAA06155; Thu, 3 Dec 1998 01:42:08 -0500 (EST) Date: Thu, 3 Dec 1998 01:42:08 -0500 (EST) From: "Matthew N. Dodd" To: John Birrell cc: bright@hotjobs.com, cnielsen@pobox.com, paipai@tin.it, freebsd-sparc@FreeBSD.ORG Subject: Re: Libutils on Sparc64/Sparc32 In-Reply-To: <199812030549.QAA12401@cimlogic.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 3 Dec 1998, John Birrell wrote: > This is probably the result of the different structure sizes expected > by some NetBSD syscalls (like stat). Compiled with __NETBSD_SYSCALLS? I'm fairly sure I'm seeing a problem with my fabbed up include/machine/* which was more or less copied direct from NetBSD/sparc and banged into compiling stuff. (first pass shotgun debugging if you will.) -- | Matthew N. Dodd | 78 280Z | 75 164E | 84 245DL | FreeBSD/NetBSD/Sprite/VMS | | winter@jurai.net | This Space For Rent | ix86,sparc,m68k,pmax,vax | | http://www.jurai.net/~winter | Are you k-rad elite enough for my webpage? | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Dec 2 22:49:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA07674 for freebsd-sparc-outgoing; Wed, 2 Dec 1998 22:49:14 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA07667 for ; Wed, 2 Dec 1998 22:49:10 -0800 (PST) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.9.1/8.9.1) id RAA12594; Thu, 3 Dec 1998 17:55:56 +1100 (EST) (envelope-from jb) From: John Birrell Message-Id: <199812030655.RAA12594@cimlogic.com.au> Subject: Re: Libutils on Sparc64/Sparc32 In-Reply-To: from "Matthew N. Dodd" at "Dec 3, 98 01:42:08 am" To: winter@jurai.net (Matthew N. Dodd) Date: Thu, 3 Dec 1998 17:55:56 +1100 (EST) Cc: jb@cimlogic.com.au, bright@hotjobs.com, cnielsen@pobox.com, paipai@tin.it, freebsd-sparc@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Matthew N. Dodd wrote: > On Thu, 3 Dec 1998, John Birrell wrote: > > This is probably the result of the different structure sizes expected > > by some NetBSD syscalls (like stat). > > Compiled with __NETBSD_SYSCALLS? Yes, if the syscalls changed after the alpha code was snapshotted. The problem with keeping NETBSD_SYSCALLS around is that NetBSD provides backward compatibility for their stuff by fudging the defines in the headers. When we compile the NETBSD_SYSCALLS into FreeBSD's libc, we can only handle one translation and that has to match the particular kernel you've chosen. > I'm fairly sure I'm seeing a problem with my fabbed up include/machine/* > which was more or less copied direct from NetBSD/sparc and banged into > compiling stuff. (first pass shotgun debugging if you will.) OK, I'll take your word for it. 8-) -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Dec 2 23:19:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA10927 for freebsd-sparc-outgoing; Wed, 2 Dec 1998 23:19:29 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from sasami.jurai.net (sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA10922 for ; Wed, 2 Dec 1998 23:19:28 -0800 (PST) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id CAA06758; Thu, 3 Dec 1998 02:19:13 -0500 (EST) Date: Thu, 3 Dec 1998 02:19:13 -0500 (EST) From: "Matthew N. Dodd" To: "David O'Brien" cc: freebsd-sparc@FreeBSD.ORG Subject: Re: Libutils on Sparc64/Sparc32 In-Reply-To: <19981202223809.M863@nuxi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 2 Dec 1998, David O'Brien wrote: > > I have some borrowed NetBSD code that produces a working crt0.o. > > You want to rename this crt1.o. crt0.o is used in FreeBSD to mean the > a.out program initialization. crt1.o is the ELF version. I'm building the userland on NetBSD/sparc and am getting NetBSD/sparc binaries. Being that these are a.out crt0.o is the correct thing to use for now. ELF32 binaries come later after: - We have a native kernel that knows ELF32_SPARC or - We hack NetBSD to recognize ELF32_SPARC binaries or - We hack NetBSD to run FreeBSD/sparc ELF32 bins under ABI emulation. -- | Matthew N. Dodd | 78 280Z | 75 164E | 84 245DL | FreeBSD/NetBSD/Sprite/VMS | | winter@jurai.net | This Space For Rent | ix86,sparc,m68k,pmax,vax | | http://www.jurai.net/~winter | Are you k-rad elite enough for my webpage? | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Dec 2 23:29:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA12067 for freebsd-sparc-outgoing; Wed, 2 Dec 1998 23:29:39 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from sasami.jurai.net (sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA12061 for ; Wed, 2 Dec 1998 23:29:37 -0800 (PST) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id CAA06874; Thu, 3 Dec 1998 02:25:44 -0500 (EST) Date: Thu, 3 Dec 1998 02:25:44 -0500 (EST) From: "Matthew N. Dodd" To: John Birrell cc: bright@hotjobs.com, cnielsen@pobox.com, paipai@tin.it, freebsd-sparc@FreeBSD.ORG Subject: Re: Libutils on Sparc64/Sparc32 In-Reply-To: <199812030655.RAA12594@cimlogic.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 3 Dec 1998, John Birrell wrote: > Yes, if the syscalls changed after the alpha code was snapshotted. The > problem with keeping NETBSD_SYSCALLS around is that NetBSD provides > backward compatibility for their stuff by fudging the defines in the > headers. When we compile the NETBSD_SYSCALLS into FreeBSD's libc, we > can only handle one translation and that has to match the particular > kernel you've chosen. I'm using a 1.3.x syscall.h * created from NetBSD: syscalls.master,v 1.63.2.1 1997/11/04 21:27:05 thorpej Exp netbsd_syscall.h * created from NetBSD: syscalls.master,v 1.67 1998/01/04 03:45:21 thorpej Exp I see no significant differences. > > I'm fairly sure I'm seeing a problem with my fabbed up include/machine/* > > which was more or less copied direct from NetBSD/sparc and banged into > > compiling stuff. (first pass shotgun debugging if you will.) > > OK, I'll take your word for it. 8-) Heh, I'm only trying to take the blame I deserve. -- | Matthew N. Dodd | 78 280Z | 75 164E | 84 245DL | FreeBSD/NetBSD/Sprite/VMS | | winter@jurai.net | This Space For Rent | ix86,sparc,m68k,pmax,vax | | http://www.jurai.net/~winter | Are you k-rad elite enough for my webpage? | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Dec 4 04:10:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA24827 for freebsd-sparc-outgoing; Fri, 4 Dec 1998 04:10:33 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from tapti.hss.hns.com (tapti.hss.hns.com [139.85.242.19]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA24813 for ; Fri, 4 Dec 1998 04:10:22 -0800 (PST) (envelope-from kchowksey@hss.hns.com) Received: from tarang.hss.hns.com (tarang.hss.hns.com [139.85.242.33]) by tapti.hss.hns.com (8.8.8/8.8.8) with ESMTP id SAA05185 for ; Fri, 4 Dec 1998 18:26:39 +0530 (IST) Received: (from kchowksey@localhost) by tarang.hss.hns.com (8.8.2/8.7.3) id SAA02983; Fri, 4 Dec 1998 18:24:04 +0530 (IST) Date: Fri, 4 Dec 1998 18:24:04 +0530 (IST) Message-Id: <199812041254.SAA02983@tarang.hss.hns.com> From: Kapil Chowksey MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: freebsd-sparc@FreeBSD.ORG Subject: another nitsy patch X-Mailer: VM 6.34 under Emacs 19.34.1 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Here's a quick fix for a gas bug that bit me recently : --- binutils-2.8.1/gas/config/tc-sparc.c.old Fri Dec 4 15:48:28 1998 +++ binutils-2.8.1/gas/config/tc-sparc.c Fri Dec 4 17:33:15 1998 @@ -702,10 +702,18 @@ int i; for (i = 0; i < count; i += 4) - *p++ = 0x01000000; /* nop */ + if (INSN_BIG_ENDIAN) + number_to_chars_bigendian((char *)p++, NOP_INSN, 4); + else + number_to_chars_littleendian((char *)p++, NOP_INSN, 4); + if (SPARC_OPCODE_ARCH_V9_P (max_architecture) && count > 8) - *(unsigned *)(fragp->fr_literal + fragp->fr_fix) = - 0x30680000 | (count >> 2); /* ba,a,pt %xcc, 1f */ + if (INSN_BIG_ENDIAN) /* ba,a,pt %xcc, 1f */ + number_to_chars_bigendian((fragp->fr_literal + fragp->fr_fix), + 0x30680000 | (count >> 2), 4); + else + number_to_chars_littleendian((fragp->fr_literal + fragp->fr_fix), + 0x30680000 | (count >> 2), 4); fragp->fr_var = count; } } -- Kapil Chowksey Viva GNU ! kchowksey@hss.hns.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Dec 4 08:31:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA20645 for freebsd-sparc-outgoing; Fri, 4 Dec 1998 08:31:32 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from send1e.yahoomail.com (send1e.yahoomail.com [205.180.60.64]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA20637 for ; Fri, 4 Dec 1998 08:31:30 -0800 (PST) (envelope-from pacemakertaker@yahoo.com) Message-ID: <19981204162715.27701.rocketmail@send1e.yahoomail.com> Received: from [24.0.36.79] by send1e; Fri, 04 Dec 1998 08:27:15 PST Date: Fri, 4 Dec 1998 08:27:15 -0800 (PST) From: "Brian D. McGrew" Subject: FreeBSD & Ultra SPARC 5 To: freebsd-sparc@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Greetings, Forgive me for not paying close attention - I've been gone for a while. I'm just wondering though: 1) Do we have an actual booting Kernal for the Ultra 5 yer? If so, how and where do I get it? 2) Where does the current port stand? Is the FreeBSD O/S usable on the Sparc pathform yet? (IE. Can it do anyting besides boot?) 3) How close to overall completion is this port from being ready to "Alpha" or "Beta" test? 4) What I can do to help? I'm not much of a programmer - but I'm great and figuring out how to break things :) I could be a great tester! The reason for the questions - I'm an intergrator and setup several systems a week. I just setup a local ISP and was asked about it again. Thanks ... Brian D. McGrew pacemakertaker@yahoo.com == Brian D. McGrew, Owner Temecula Valley Web Service _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Dec 4 13:15:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA21436 for freebsd-sparc-outgoing; Fri, 4 Dec 1998 13:15:49 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from hil-img-7.compuserve.com (hil-img-7.compuserve.com [149.174.177.137]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA21425 for ; Fri, 4 Dec 1998 13:15:47 -0800 (PST) (envelope-from 101355.2112@compuserve.com) Received: (from root@localhost) by hil-img-7.compuserve.com (8.8.6/8.8.6/2.16) id QAA24904 for freebsd-sparc@freebsd.org; Fri, 4 Dec 1998 16:15:31 -0500 (EST) Date: Fri, 4 Dec 1998 16:11:38 -0500 From: Thierry Boudet <101355.2112@compuserve.com> Subject: state of the world ? To: Free Sparc BSD Message-ID: <199812041615_MC2-6274-637@compuserve.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello. Is there a web page about the progress of the port ? Thierry. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Dec 4 17:54:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA20419 for freebsd-sparc-outgoing; Fri, 4 Dec 1998 17:54:54 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from set.scient.com (set.Scient.COM [208.29.209.254]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id RAA20410 for ; Fri, 4 Dec 1998 17:54:52 -0800 (PST) (envelope-from enkhyl@scient.com) Received: by set.scient.com; (5.65v4.0/1.3/10May95) id AA18275; Fri, 4 Dec 1998 17:53:16 -0800 Received: from somewhere by smtpxd Date: Fri, 4 Dec 1998 17:53:06 -0800 (PST) From: Christopher Nielsen X-Sender: enkhyl@ender.sf.scient.com Reply-To: Christopher Nielsen To: Thierry Boudet <101355.2112@compuserve.com> Cc: Free Sparc BSD Subject: Re: state of the world ? In-Reply-To: <199812041615_MC2-6274-637@compuserve.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 4 Dec 1998, Thierry Boudet wrote: > Is there a web page about the progress of the port ? The current information isn't really up to date. I think several of us are in the process of getting the toolchain working and providing some updated content for the page off the FreeBSD main site. -- Christopher Nielsen Scient: The eBusiness Systems Innovator cnielsen@scient.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message