Date: Fri, 16 Apr 1999 14:13:12 -0400 (EDT) From: Andrew Gallatin <gallatin@cs.duke.edu> To: mjacob@feral.com Cc: "David O'Brien" <obrien@NUXI.com>, Mike Smith <mike@smith.net.au>, alpha@FreeBSD.ORG Subject: Re: egcs ready for alpha? Message-ID: <14103.31933.454041.289218@grasshopper.cs.duke.edu> In-Reply-To: <Pine.LNX.4.04.9904161048570.8665-100000@feral-gw> References: <14102.12407.996679.381089@grasshopper.cs.duke.edu> <Pine.LNX.4.04.9904161048570.8665-100000@feral-gw>
next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Jacob writes: > > 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)... Excellent! Thanks for finding this! > Who owns the toolchain? David O'Brien -- I'm CC'ing this to him. > 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++; > Cheers, Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 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?14103.31933.454041.289218>