Date: Fri, 16 Apr 1999 10:56:37 -0700 (PWT) From: Matthew Jacob <mjacob@feral.com> To: Andrew Gallatin <gallatin@cs.duke.edu> Cc: Mike Smith <mike@smith.net.au>, alpha@FreeBSD.ORG Subject: Re: egcs ready for alpha? Message-ID: <Pine.LNX.4.04.9904161048570.8665-100000@feral-gw> In-Reply-To: <14102.12407.996679.381089@grasshopper.cs.duke.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
> > Matthew Jacob writes: > > It was more a question of can I now give up the gcc2.7.2.1 compiler and > > expect to keep being able to work on the Fibre Channel driver (a daily > > ritual). > > The only problem I've seen that could be a show-stopper for you is the > fact that /sbin/dump produces corrupt dumps when built with egcs. You > might want to keep a dump binary laying around. > > I'm not working on this (my plate it far too full right now) and I'd > very much appreciate it if somebody could look into it.. My compiler chops are about 17 years old- I've done little more than build gcc over the last decade and don't know the internals.. but here's the line that's a culprit and a temp fix (at least based upon trivial tests- the output records were garbage and this seems to correct that)... Who owns the toolchain? Index: tape.c =================================================================== RCS file: /home/ncvs/src/sbin/dump/tape.c,v retrieving revision 1.10 diff -u -r1.10 tape.c --- tape.c 1998/09/15 10:25:50 1.10 +++ tape.c 1999/04/16 17:51:20 @@ -174,7 +174,11 @@ slp->req[trecno].dblk = (daddr_t)0; slp->req[trecno].count = 1; +#if 0 *(union u_spcl *)(*(nextblock)++) = *(union u_spcl *)dp; +#else + bcopy(dp, *(nextblock)++, sizeof (union u_spcl)); +#endif if (isspcl) lastspclrec = spcl.c_tapea; trecno++; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.04.9904161048570.8665-100000>