Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: lionel@quark.enet.dec.com (Steve Lionel)
Subject: Re: Anyone using ALPHA VMS, with Librarian hints?
Date: Thu, 28 Jan 1993 21:21:13 GMT	[thread overview]
Message-ID: <1993Jan28.212113.3757@dbased.nuo.dec.com> (raw)
In-Reply-To: 1993Jan28.114604.3920@newstand.syr.edu


In article <1993Jan28.114604.3920@newstand.syr.edu>, jareed@rodan.acs.syr.EDU 
(Judith Ann Reed) writes:
|>
|> 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:
|>
[Code omitted]
|>
|>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.
|>

This isn't the linker or the librarian, it's the compiler.  On VAX, the
Fortran compiler puts out a separate object module definition for each
routine; to the librarian, linker, it looks as if each routine is in its
own module.  On AXP, the compiler, by default, compiles all the routines in
a source file into one module.  This is why when one routine is extracted, the
other comes with it.

If you want the VAX behavior, compile with the /SEPARATE_COMPILATION
qualifier.  See the DEC Fortran for OpenVMS AXP User Manual for more details.
--

Steve Lionel                    lionel@quark.enet.dec.com
SDT Languages Group
Digital Equipment Corporation
110 Spit Brook Road
Nashua, NH 03062


  reply	other threads:[~1993-01-28 21:21 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                         ` Anyone using ALPHA VMS, with Librarian hints? Judith Ann Reed
1993-01-28 21:21                           ` Steve Lionel [this message]
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