home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sgi / bugs / 150 < prev    next >
Encoding:
Text File  |  1993-01-24  |  1.8 KB  |  44 lines

  1. Newsgroups: comp.sys.sgi.bugs
  2. Path: sparky!uunet!spool.mu.edu!sgiblab!sgigate!odin!twilight!zola!anchor!olson
  3. From: olson@anchor.esd.sgi.com (Dave Olson)
  4. Subject: Re: /usr/lib/fixade.o
  5. Message-ID: <v8cid0o@zola.esd.sgi.com>
  6. Keywords: bus error, alignment, fixade
  7. Sender: news@zola.esd.sgi.com (Net News)
  8. Organization:  Silicon Graphics, Inc.  Mountain View, CA
  9. References: <147267@lll-winken.LLNL.GOV>
  10. Date: Sat, 23 Jan 93 19:35:54 GMT
  11. Lines: 31
  12.  
  13. In <147267@lll-winken.LLNL.GOV> billc@bigbird.llnl.gov (Bill Crutchfield) writes:
  14.  
  15. | I'm trying to track down a bus error on a code being ported to a R4000 SGI Crimson.
  16. | Per the documentation fixade(3f) and unaligned(3x), I'm trying to
  17. | link in /usr/lib/fixade.o which will catch and provide documentation
  18. | on alignment errors in the code.  The problem is that I cant link it
  19. | in!!  When I try, the compiler/linker complains:
  20. | /usr/bin/ld:
  21. | No symbolic information for: /usr/lib/fixade.o
  22. | Running nm on the file also gives:
  23. | nm: Error: no symbol table in /usr/lib/fixade.o
  24. | But 'file /usr/lib/fixade.o' returns the information
  25. | /usr/lib/fixade.o:      mipseb executable stripped (R4000 fpdiv unchecked) - version 3.10
  26.  
  27. Sounds like somebody tried to save space on your system by stripping
  28. all binaries, but forgot to exclude /usr/lib.  If you reinstall the
  29. dev product you should get an unstripped fixade.o
  30.  
  31. By the way, if you are compiling with -mips2, and use malloc/calloc for
  32. data with doubles in it, use -lmalloc also.  The libc malloc bogusly
  33. returns memory that is only word (4 byte) aligned, not 8 byte.  That
  34. never showed up until the true 64 bit loads and stores on the r4k
  35. systems.
  36. --
  37. Let no one tell me that silence gives consent,  |   Dave Olson
  38. because whoever is silent dissents.             |   Silicon Graphics, Inc.
  39.     Maria Isabel Barreno                        |   olson@sgi.com
  40.