home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!sdd.hp.com!hp-col!fc.hp.com!koren
- From: koren@fc.hp.com (Steve Koren)
- Subject: Re: Unusual SAS6.0 results
- Sender: news@fc.hp.com (news daemon)
- Message-ID: <BxtxyK.C72@fc.hp.com>
- Date: Mon, 16 Nov 1992 22:18:20 GMT
- References: <BxtBBu.L5w@unx.sas.com>
- Organization: Hewlett-Packard Fort Collins Site
- X-Newsreader: Tin 1.1.3 PL5
- Lines: 55
-
- Doug Walker (walker@twix.unx.sas.com) wrote:
- >
- > We fixed a bug in GENPROTO for the upcoming 6.1 patch that may fix
-
- Sounds good.
-
- > No idea what is going on without source code or a runnable program to
- > look at. There is nothing in 6.0 that should have caused this.
-
- I could give a runnable program to SAS tech support, but it would be a
- _lot_ of stuff. (about 12000 source lines and a 400 Kb executable).
-
- > For such a dramatic difference, there has to be something different
- > in the way the program is linked - different library functions,
- > different startup, something.
-
- I'm not so sure. The only changes I've made between 5.10b and 6.0 are:
-
- - Fix the makefiles: lc->sc, blink->slink, etc, -v -> NOSTKCHK, etc.
- - Add a few function prototypes here and there which I was missing
- before.
-
- The source is otherwise the same. (In fact, I was pleasantly surprised
- at how easy it was to convert a fairly large project from 5.10b to 6.0).
-
- > Use the MAP and MAPXREF options to generate a linker cross-reference
- > and see who is calling strncpy. You'll find some lines in the cross-
-
- Ok, I'll do that. I don't doubt that strncpy is somehow being
- referenced. I still find it odd, however, that when I run the program
- under CPR it never once hits strncpy, yet the profiler claims I'm
- spending ~95% of the time there. Something's fishy...
-
- The only trouble is that I'm not sure how to package up a nice concise
- example for SAS tech support. I don't think its reasonable to expect
- them to dig through something large, but trying to come up with a small
- test case could be a whopping lot of work. In fact, if I trim much, my
- program won't work any more. I guess this is the standard problem when
- trying to report potential compiler/profiler problems.
-
- > we were testing. 6.0 uses shared libraries for speed. Sometimes
- > what happens on an A3000 or some other machine with a 68020 or
- > higher is that all FAST memory gets used up by the compiler libraries,
-
- Nope; I've got 12 Mb of fast mem, about 8 of which is free the entire
- time. And that's even with GNU emacs loaded.
-
- Other than this, though, my impression of SAS 6.0 is favorable overall.
- I think it has the expected problems of any new major release, but once
- they get ironed out, it'll be a great improvement. I wouldn't program
- with anything else :-)
-
- Thanks for the response. I'll do what you suggest.
-
- - steve
-