Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site tellab3.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!tellab1!tellab3!steve From: steve@tellab3.UUCP (Steve Harpster) Newsgroups: net.micro.pc,net.micro.att Subject: System V ld problems Message-ID: <308@tellab3.UUCP> Date: Tue, 7-Jan-86 16:43:43 EST Article-I.D.: tellab3.308 Posted: Tue Jan 7 16:43:43 1986 Date-Received: Thu, 9-Jan-86 03:26:29 EST Reply-To: steve@tellab3.UUCP (Steve Harpster) Organization: Tellabs, Inc., Lisle, IL Lines: 27 Xref: watmath net.micro.pc:6466 net.micro.att:784 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.