bind getting stuck?

Frank Irwin irwin at uvmark.uucp
Sat Feb 16 06:06:57 AEST 1991


I'm trying to make ld bind shared object files into the output object, so
that all system calls will use our malloc() instead of the system malloc().

To do this, I use the -bnoautoimp -berok -bnogc options to ld.  However,
bind never seems to complete.  Doing a ps:

    upix  9665 18551   0 10:43:55 pts/39  0:00 cc -O -bnso -berok -bnogc genro.o uvmalloc.o -o genro
    upix 11971 36802  34 10:43:55 pts/39 19:39 /usr/lib/bind QUIET NOLOADMAP 
    upix 36802  9665   0 10:43:55 pts/39  0:00 ld -H512 -T512 -bhalt -bnso -berok -bnogc -o genro /lib/crt0.o genro.o uvmalloc.

If I leave out the -bnogc option, it binds fine, but running genro results in:

Could not load program genro 
Error was: Exec format error

Any ideas would be greatly appreciated.

Frank

-- 
====================================================================
Frank Irwin                   |  "I'll bet $50 on that flush."
Vmark Software, Inc.          |  Whooooosh!
 ..uunet!merk!uvmark!irwin    |  "Aaaaiiiieeee!  Not *that* flush!"



More information about the Comp.unix.aix mailing list