🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #5282

System V ld problems

#5282
From: Steve Harpster
Date: Tue, 07 Jan 1986 21:43
27 lines
1529 bytes
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.
Technical Details
Message-ID: <308@tellab3.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!tellab1!tellab3!steve

Show Full Headers
Complete Article Headers
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: arc1-ca.pugleaf.net!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