steve@tellab3.UUCP (Steve Harpster) (01/08/86)
I am running Xenix System V on an XT (really an AT&T 6300) and have a problem with ld. Ld will load my program with no complaints but when I execute it, it jumps into the middle of routines at random. If I load the program with cc, everything works correctly. The problem only occurs if I use ld directly. Unfortunately, the program has more than 128 segments so I cannot use cc directly (to test it, I used a smaller subset). In other words, I need to use the -S option of the loader. Cc has no way of passing this flag. The load string looks like ld -Mm -S 256 stuff.o /lib/Mcrt0.o /lib/Mseg.o /lib/Mlibgraphics.a \ /lib/Mlibisam.a /lib/Mlibtermcap.a /lib/Mlibx.a \ /lib/Mlibm.a /lib/Mlibcfp.a /lib/Mlibc.a This ld command works fine on the IBM-PC/AT. I only have problems with the XT. Has anyone else seen this or any similar problems with ld? -- ...ihnp4!tellab1!steve Steve Harpster Tellabs, Inc.
davidsen@steinmetz.UUCP (01/13/86)
The XENIX version on the AT is capable of allowing larger programs than on the
XT. Is there a posibility that the loader is running out of memory and not
detecting the fact? I have no information that such a bug exists, but perhaps
someine on the net can tell you if the loader will know when it runs out of
table space...
--
-bill davidsen
seismo!rochester!steinmetz!--\
/ \
ihnp4! unirot ------------->---> crdos1!davidsen
\ /
chinet! ---------------------/ (davidsen@ge-crd.ARPA)
"It seemed like a good idea at the time..."