Operating System - OpenVMS
1748223 Members
4680 Online
108759 Solutions
New Discussion юеВ

Re: %ILINK-E-NOT22BITS error -- how to solve?

 
SOLVED
Go to solution
David B Sneddon
Honored Contributor

Re: %ILINK-E-NOT22BITS error -- how to solve?

Walt,

The code is mostly BASIC with a few Macro and C routines.
Yes I can send you a map from the linker.
The Linker is I01-60.
What is your email address?

Dave
Walter D. Arbo
New Member

Re: %ILINK-E-NOT22BITS error -- how to solve?


Dave,

Please email me at "walt dot arbo at you-know-where dot com".

-Walt
David B Sneddon
Honored Contributor

Re: %ILINK-E-NOT22BITS error -- how to solve?

A quick update...

The procedures used for building the image are the
same ones as used on Alpha. They use /NONATIVE_ONLY
on the link command. By using /NATIVE on the
Itanium link I was able to get the image to build.
The size of the short data segment is just under
the 4MB limit and there are still bits of code
that need to be linked so I suspect it will blow
up again.
In testing the use of sharebale images the following
was noted:
there are 1054 modules in this image,
using /NATIVE gives 257264 bytes of SDATA,
using /NONATIVE gives 2464576 bytes of SDATA.

Thanks to Walt we may be getting more current
linker and compilers which should improve the
situation.

Dave
David B Sneddon
Honored Contributor

Re: %ILINK-E-NOT22BITS error -- how to solve?

A big thankyou to Walt Arbo and John Egolf for
providing access to a later VMS build and newer
BASIC compiler.
The program in question is built from over 5000
modules and the problem is that linking with
/NONATIVE (as a hangover from the Alpha build
environment) causes the SDATA segment to exceed
the 4MB limit. Linking with /NATIVE allows it
to link successfully however the SDATA segment
is still 90% full which means that it probably
won't take too much more to cause it to blow up.
The next step is to split the image into smaller
shareable images. Our development manager has
been advised of this and the required changes to
the code to make this work.

Again, Walt and John have been a great help
in sorting this out.

Dave.
David B Sneddon
Honored Contributor

Re: %ILINK-E-NOT22BITS error -- how to solve?

This issue has been resolved.

Dave