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