[HECnet] Linker warnings

Pinoccio pinoccio at gmx.com
Sun Nov 27 11:34:04 PST 2011


Thank you! 
I am new to VMS so some of its useful facilities (as HELP /MESSAGE) not yet
known to me.

-----Original Message-----
From: owner-hecnet at Update.UU.SE [mailto:owner-hecnet at Update.UU.SE] On Behalf
Of Peter Coghlan
Sent: Sunday, November 27, 2011 9:17 PM
To: hecnet at Update.UU.SE
Subject: Re: [HECnet] Linker warnings


Can anyone bring some light on these linker warnings:

%LINK-W-TRUNC, truncation error in psect CODE offset %X0000046C
            in module XXX file YYY
-LINK-W-TRUNCDAT, computed value is %X00000080
            value written is %XFFFFFF80 at location %X0000A2B8


Assuming this is VMS, $ HELP /MESSAGE says:

TRUNCDAT,   computed value is 'value1'
                      value written is 'value2' at location 'address'

  Facility:         LINK, Linker Utility

  Explanation:   Usually, this error occurs when a reference using byte or
                              word PC-relative displacement is made to a target requiring
                              longword relative displacement. 'Value1' is the value the
                              linker needed to store; 'value2' is the value the linker is
                              able to store (a truncated version).

  User Action:   Correct the reference to use longword relative addressing
                              mode.

For something more specific, it would help to know more background.

Regards,
Peter Coghlan.



More information about the Hecnet-list mailing list