home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / gcc / bug / 2788 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.6 KB  |  48 lines

  1. Newsgroups: gnu.gcc.bug
  2. 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
  3. From: leisner@eso.mc.xerox.COM ( Marty Leisner)
  4. Subject: gcc 2.2.2 on sparcs
  5. Message-ID: <9211172222.AA01151@annapurna.wbst147.xerox.com>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Tue, 17 Nov 1992 22:22:53 GMT
  10. Approved: bug-gcc@prep.ai.mit.edu
  11. Lines: 35
  12.  
  13. This is very strange.
  14.  
  15. I reported problems with the gcc -a option (I got it to link, but it can't open a profiling file...)
  16.  
  17. I took out  the -a option, recompiled and got:
  18.  
  19. napurna$ make
  20. gcc -g  -v     -o 8086engine 8086engine.o  
  21. Reading specs from /usr/gnu/lib/gcc-lib/sun4/2.2.2/specs
  22. gcc version 2.2.2
  23.  /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
  24. ld: 8086engine.o: odd word displacement at text+0x44d8
  25. collect: /usr/bin/ld returned 2 exit status
  26. make: *** [8086engine] Error 1
  27. leisner@annapurna$ xterm &
  28.  
  29. I've never seen this before.
  30.  
  31. nm says:
  32. 000043e0 t _mov_to_bytereg
  33. 00004478 t _mov_seg_to_ea
  34. 00004640 t _mov_ea_to_seg
  35.  
  36. I tried playing with options...with the optomizer turned on:
  37. ld: 8086engine.o: odd word displacement at text+0x20ec
  38. ld: 8086engine.o: odd word displacement at text+0x2098
  39. (nm reports different functions)...
  40.  
  41. I'll give whoever wants the project...
  42.  
  43. marty
  44.  
  45.  
  46.  
  47.  
  48.