[HECnet] Linker warnings

Peter Coghlan HECNET at beyondthepale.ie
Sun Nov 27 11:17:18 PST 2011


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