home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / sgi / 16096 < prev    next >
Encoding:
Text File  |  1992-11-08  |  2.5 KB  |  65 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!purdue!yuma!csn!news.den.mmc.com!enterprise.den.mmc.com!beck
  3. From: beck@enterprise.den.mmc.com (Fred R. Beck)
  4. Subject: More malloc() questions.
  5. Message-ID: <1992Nov6.212516.336@den.mmc.com>
  6. Keywords: malloc, WorkShop
  7. Sender: news@den.mmc.com (News)
  8. Nntp-Posting-Host: gate-enterprise.den.mmc.com
  9. Organization: Martin Marietta
  10. Date: Fri, 6 Nov 1992 21:25:16 GMT
  11. Lines: 52
  12.  
  13. I have been following the discussion on malloc() with some
  14. earnest.  I too have a large, highly parallel software tool
  15. which has been operating just fine on a 4D/310 running IRIX
  16. 3.3.3 & then later 4.0.1.  Since my last compile, I upgraded
  17. to a 4D/420 with IRIX 4.0.5[a].  Now, my code dies after
  18. doing "some" (about 50) malloc() calls.  Via CaseVision/Workshop,
  19. I have been able to determine where.  In trying to determine
  20. "why", I linked the code with -lmalloc_cv so that I could use
  21. all of the tools available in Workshop.
  22.  
  23. Boy was I astounded when all of a sudden, everything worked
  24. just fine.  So, I thought, what the heck, I'll through caution
  25. to the wind and try -O2 with no -lmalloc_cv.  No joy...
  26.  
  27. Since reading the malloc() discourse, I have been purusing my
  28. "volumes" on information both on-line and paper, but can not
  29. find any but f77 or X11 malloc relating info.
  30.  
  31. So, I have been wondering, what is, or where can I find the 
  32. difference between the malloc()'s in:
  33.  
  34.     /usr/lib/libX11.a:256:malloc.o 264:usmalloc.o
  35.     /usr/lib/libX11_s.a:260:malloc.o 268:usmalloc.o
  36.     /usr/lib/libc.a:278:malloc.o
  37.     /usr/lib/libc_G0.a:265:malloc.o
  38.     /usr/lib/libc_s.a:308:malloc.o
  39.     /usr/lib/libgen.a:78:zmalloc.o
  40.     /usr/lib/libgen_G0.a:78:zmalloc.o
  41.     /usr/lib/libmalloc.a:1:malloc.o
  42.     /usr/lib/libmalloc_G0.a:1:malloc.o
  43.     /usr/lib/libmalloc_cv.a:1:malloc.o
  44.     /usr/lib/libmalloc_d.a:1:malloc.o
  45.     /usr/lib/libmpc.a:33:malloc.o 68:usmalloc.o
  46.     /usr/lib/libmpc_G0.a:33:malloc.o 68:usmalloc.o
  47.  
  48. I understand that the lib[*]_s.a are "shared" libraries.  I
  49. understand that the lib[*]_G0.a are graphics related routines.
  50. I am confused on what the lib[*]_d.a is.  Also, though I expect
  51. the libmpc[*].a to be MP libraries, where can I find info on the
  52. various mallocs() and thier differences?
  53.  
  54. If I am just being "brain dead" here, someone please just shoot
  55. me to put me out of everyones misery.  But if not...  just shoot
  56. anyway.
  57.  
  58. I do dislike the idea of having to link to -lmalloc_cv to get my
  59. code to work.  Especially when I was planning to eventually use
  60. Power C to optimize.
  61.  
  62. thanx to one and all...
  63.  
  64. -ferd  (It's friday...)
  65.