Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!uunet!panews.awdpa.ibm.com!slo.awdpa.ibm.com!jsalter From: jsalter@panews Newsgroups: comp.unix.aix Subject: Re: bind getting stuck? Message-ID: <1991Feb18.232332.29969@ibmpa.awdpa.ibm.com> Date: 18 Feb 91 23:23:32 GMT References: <1991Feb15.190657.47304@uvmark.uucp> <1255@dkunix9.dk.oracle.com> <1991Feb18.193126.26425@uvmark.uucp> Sender: news@ibmpa.awdpa.ibm.com (news id) Reply-To: jsalter@slo.awdpa.ibm.com (Jim Salter) Organization: IBM PSP Development, Palo Alto, CA Lines: 31 In article <1991Feb18.193126.26425@uvmark.uucp> irwin@uvmark.uucp (Frank Irwin) writes: >But I also want the system functions to use our malloc(). We've experienced >memory space corruption when our malloc() and the system malloc() are both >used. In terms of shared libraries, you can't. This has been discussed before. It's because of the pre-bound shared libraries in AIXv3. Though your routines may use your malloc(), the system libraries will use the system malloc(). There is no way around this as of this time. Open an APAR if you think it needs it. In terms of unshared libs, I just found the following note (dated Dec. 13th): Newsgroups: comp.unix.aix Subject: Re: Can the RS6000 do NON-dynamic linking? Message-ID: Date: 13 Dec 90 16:35:45 GMT If -bnso is specified on an ld (or cc which does an ld) all libraries will be processed as unshared. Your executable will have bound copies of everything. If you provide a malloc, it will replace the libc malloc. Marc Auslander Hope this helps. >Frank Irwin | "I'll bet $50 on that flush." jim/jsalter IBM PSP, Palo Alto T465/(415)855-4427 VNET: JSALTER at AUSVMQ Internet: jsalter@slo.awdpa.ibm.com UUCP: ..!uunet!ibmsupt!jsalter PS/2 it, or DIE! :-) The ramblings above have nothing to do with Big Blue.