home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / linux / 10003 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  2.6 KB

  1. Path: sparky!uunet!ogicse!uwm.edu!wupost!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!organ.cis.ohio-state.edu!balasub
  2. From: balasub@organ.cis.ohio-state.edu (Krishna Balasubramanian)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Linux 0.97p2 compatibility, GCC/SHAREDLIBS/JUMPTABLES.
  5. Message-ID: <BALASUB.92Sep6121304@organ.cis.ohio-state.edu>
  6. Date: 6 Sep 92 17:13:04 GMT
  7. Article-I.D.: organ.BALASUB.92Sep6121304
  8. References: <k=pnyqq.genie@netcom.com>
  9. Sender: news@cis.ohio-state.edu (NETnews        )
  10. Organization: Ohio State Computer Science
  11. Lines: 46
  12. In-Reply-To: genie@netcom.com's message of Sun, 06 Sep 92 05: 40:36 GMT
  13. Originator: balasub@organ.cis.ohio-state.edu
  14.  
  15.  
  16. GCC main releases, the corresponding linux version and some
  17. distributions that use this version of GCC are  approximately 
  18. as follows: (see the GCC FAQ to find out more).
  19.  
  20. 1) 2.11c, May 19        linux 0.96       x11v1.0 
  21. 2) 2.2.2, Jun 27      > linux 0.96ap4    rootdisk-0.97, x11v1.1, SLS, MCC-0.96c.
  22. 3) 2.2.2d Aug 12      > linux 0.97p1     rootdisk-0.97.1 , MCC-0.97p2
  23.  
  24. There will probably be a new GCC version with X11 in a week or so.
  25.  
  26. All these have shared libs which are incompatible with each other.
  27. So if a program wants to load a specific shared image from /lib
  28. you need to make sure the correct version exists or the program
  29. will not work. Binaries on archive sites ususally use on of these
  30. releases but there may be some made with intermediate ones.
  31. A static binary will work unless there is a change to the linux 
  32. kernel that breaks it.
  33.  
  34. Use ldd to determine what shared images a program depends on.
  35.  
  36. If you use binaries that use many different shared libraries
  37. you'll lose in terms of efficiency but I haven't noticed that. 
  38. If you use gcc with versions of the kernel that are very different 
  39. from those above, you are likely to run into an occassional 
  40. mysterious problem (see the GCC FAQ).
  41. I believe I've seen an occasional core dump on account of 
  42. this too .... hard to say why with all these versions. 
  43. The only serious problems are those with the latest linux kernel 
  44. and gcc release! (well almost).
  45.  
  46.  
  47. JUMP TABLES:
  48. ~~~~~~~~~~~~
  49. 2.2.2d has jump tables but the linux mm underwent massive change
  50. so the jump tables major version has been changed.
  51. Whenever incompatible changes are made in the libraries, 
  52. the major number of the library will change as in:
  53. libm.so.2.xx to libm.so.3.xx
  54. The next gcc release will have jump tables which will last for a few
  55. future releases. This means that with the new release you can make 
  56. binaries which will work with the next few releases if linked with 
  57. -jump instead of having to use -static. 
  58.  
  59.  
  60. krishna
  61.