home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.gcc.bug
- Path: sparky!uunet!ferkel.ucsb.edu!taco!rock!stanford.edu!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!eso.mc.xerox.COM!leisner
- From: leisner@eso.mc.xerox.COM ( Marty Leisner)
- Subject: gcc 2.2.2 on sparcs
- Message-ID: <9211172222.AA01151@annapurna.wbst147.xerox.com>
- Sender: gnulists@ai.mit.edu
- Organization: GNUs Not Usenet
- Distribution: gnu
- Date: Tue, 17 Nov 1992 22:22:53 GMT
- Approved: bug-gcc@prep.ai.mit.edu
- Lines: 35
-
- This is very strange.
-
- I reported problems with the gcc -a option (I got it to link, but it can't open a profiling file...)
-
- I took out the -a option, recompiled and got:
-
- napurna$ make
- gcc -g -v -o 8086engine 8086engine.o
- Reading specs from /usr/gnu/lib/gcc-lib/sun4/2.2.2/specs
- gcc version 2.2.2
- /usr/gnu/lib/gcc-lib/sun4/2.2.2/ld -e start -dc -dp -o 8086engine /lib/crt0.o -L/usr/lib/X11 -L/usr/openwin/lib -L/usr/marty/lib -L/usr/lib/X11 -L/usr/openwin/lib -L/usr/marty/lib -L/usr/gnu/lib/gcc-lib/sun4/2.2.2 -L/usr/gnu/lib 8086engine.o -lgcc -lc -lg -lgcc
- ld: 8086engine.o: odd word displacement at text+0x44d8
- collect: /usr/bin/ld returned 2 exit status
- make: *** [8086engine] Error 1
- leisner@annapurna$ xterm &
-
- I've never seen this before.
-
- nm says:
- 000043e0 t _mov_to_bytereg
- 00004478 t _mov_seg_to_ea
- 00004640 t _mov_ea_to_seg
-
- I tried playing with options...with the optomizer turned on:
- ld: 8086engine.o: odd word displacement at text+0x20ec
- ld: 8086engine.o: odd word displacement at text+0x2098
- (nm reports different functions)...
-
- I'll give whoever wants the project...
-
- marty
-
-
-
-
-