From: jareed@rodan.acs.syr.EDU (Judith Ann Reed)
Subject: Anyone using ALPHA VMS, with Librarian hints?
Date: Thu, 28 Jan 93 11:46:03 EST [thread overview]
Message-ID: <1993Jan28.114604.3920@newstand.syr.edu> (raw)
In-Reply-To: 1990@niktow.canisius.edu
Greetings, netvmsgurus! We are currently attempting to port some code that
uses object libraries onto an alpha running OpenVMS AXP V1.0 (from vms 5.5-1)
demo machine, for benchmarking before making a purchase decision. We have
discovered that the linker works differently on the Alpha than on the
vax, with respect to object libraries and symbol resolution. Specifically,
the following code and commands link cleanly on a VAX running VMS 5.5-1,
but fails miserably on the alpha. Error msgs follow the code and commands
used:
Main routine (MAIN.FOR)
call sub1
end
File containing subroutines (MODULE.FOR)
subroutine sub1
print *,'this is sub1'
return
end
c
subroutine sub2
call sub3
return
end
Compile commands:
$ FORTRAN MAIN
$ FORTRAN MODULE
Library command:
$ LIB/CREATE MODLIB MODULE
Link command:
$ LINK MAIN,MODLIB/LIB
Alpha link error output:
%LINK-W-NUDFSYMS, 1 undefined symbol:
%LINK-I-UDFSYM, SUB3
%LINK-W-USEUNDEF, undefined symbol SUB3 referenced
in psect $LINK$ offset %X00000020
in module SUB1 file DISK$USER:[PHYSICS]MODLIB.OLB;1
The alpha is including SUBROUTINE SUB2 in the executable, even though
it is never called, and thus causing excessive confusing linker output.
The executable *DOES* work, but we would like to find a way to modify this
linker behavior. It looks as though the qualifier /SELECTIVE_SEARCH
on the LIBRARIAN command would do it, but no permutations I have tried
with this qualifier have eliminated the error. Can anyone out there
advise me as to correct usage of this qualifier to eliminate these error
msgs? They make debugging a link of a large piece of software sheer h*ll,
as we have ended up with as many as 93 undefined symbols, when possibly
only a very few are really needed or valid.
Also, can anyone point me to some documentation that highlights this change
in linker behavior from VAX VMS to the Alpha VMS? I've been searching
through bookreader docs for the Alpha (a painful exercise in itself, but
we won't get into that %;^) and find the behavior is documented, but not
highlighted as being something different from current versions of VAX VMS,
nor as something to watch out for.
Please respond via email (as well as posting if you feel this is of
general interest) as I tend to be behind in this newsgroup. Thanks very
much for any help you can offer!!!
Judith Reed
jareed@mailbox.syr.edu
Sysmgr, Syracuse Univ. High Energy Physics
next prev parent reply other threads:[~1993-01-28 16:46 UTC|newest]
Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-01-13 2:55 Unix Review review of Alpha/OSF Rob Young
1993-01-14 18:18 ` Russ Jones
1993-01-17 9:47 ` Michel Fingerhut
1993-01-15 1:42 ` Marcus J Ranum
1993-01-15 3:09 ` Rob Young
1993-01-15 4:26 ` Marcus J Ranum
1993-01-17 18:55 ` Phill Hallam-Baker
1993-01-18 10:43 ` Peter Kaiser
1993-01-19 3:06 ` Eric Thomas
1993-01-19 18:48 ` M Darrin Chaney
1993-01-19 19:15 ` Marcus J Ranum
1993-01-20 0:01 ` M Darrin Chaney
1993-01-21 7:55 ` Peter Kaiser
1993-01-22 9:15 ` Jari Tavi
1993-01-23 21:39 ` zrepachol
1993-01-29 16:11 ` Hal Berenson
1993-01-22 14:33 ` Marcus J Ranum
1993-01-20 2:03 ` Eric Thomas
1993-01-20 3:23 ` Quinn
1993-01-20 14:48 ` zrepachol
1993-01-21 5:24 ` John F Carr
1993-01-20 19:44 ` Bill Rye
1993-01-21 21:02 ` Art Stine
1993-01-22 0:42 ` Eric Thomas
1993-01-22 14:44 ` Marcus J Ranum
1993-01-23 21:50 ` zrepachol
1993-01-25 13:21 ` Robin Fairbairns
1993-01-22 2:12 ` Patches online, was " Michael A. Crowley
1993-01-23 17:30 ` gezelter
1993-01-26 1:11 ` Edward J. Groth 609-258-4361
1993-01-27 0:37 ` Bill Rye
1993-01-27 6:46 ` Greg Pavlov
1993-01-27 13:41 ` Brent Sterner
1993-01-28 9:28 ` Greg Pavlov
1993-02-02 22:18 ` Stephen Tihor
1993-01-28 16:46 ` Judith Ann Reed [this message]
1993-01-28 21:21 ` Anyone using ALPHA VMS, with Librarian hints? Steve Lionel
1993-01-29 6:08 ` Per Steinar Iversen
1993-01-29 2:35 ` "Makoto Shimojima, Univ of Tsukuba/CDF"
1993-01-29 13:21 ` Judith Ann Reed
1993-01-27 22:19 ` Patches online, was Re: Unix Review review of Alpha/OSF Gail L. Grant
1993-01-28 1:50 ` Max Maklin
1993-01-28 21:30 ` Bill Rye
1993-01-29 1:11 ` Gail L. Grant
1993-02-01 15:19 ` zrepachol
1993-01-28 14:30 ` Marcus J Ranum
1993-01-28 16:33 ` Doug Mohney
1993-01-29 20:51 ` Gail L. Grant
1993-01-30 6:26 ` pettengill
1993-02-01 17:43 ` zrepachol
1993-02-09 3:27 ` David Collier-Brown
1993-02-02 9:51 ` Paul C Leyland
1993-01-17 18:44 ` Phill Hallam-Baker
1993-01-17 18:33 ` Donald Lindsay
1993-01-17 20:17 ` Donald Lindsay
1993-01-15 18:37 ` snail
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox