[Info-vax] VMS x86-64 compilers

Craig A. Berry craigberry at nospam.mac.com
Fri Nov 17 14:04:01 EST 2023


On 11/16/23 11:51 PM, Martin Vorländer wrote:
> Craig A. Berry <craigberry at nospam.mac.com> wrote:
>> On 11/16/23 8:30 PM, Craig A. Berry wrote:
>>> I took the new C compiler for a spin and built Perl with it.  I didn't
>>> see any of the compiler errors Mark saw, but I  got several undefined
>>> symbols when linking that I did not previously get:
>>>
>>> %ILINK-W-NUDFSYMS, 6 undefined symbols:
>>> %ILINK-I-UDFSYM,        C$_QSORT2BIG
>>> %ILINK-I-UDFSYM,        DECC$$GL___CRTL_VER_BUILD
>>> %ILINK-I-UDFSYM,        IN6ADDR_ANY
>>> %ILINK-I-UDFSYM,        IN6ADDR_LOOPBACK
>>> %ILINK-I-UDFSYM,        _NS_FLAGDATA
>>> %ILINK-I-UDFSYM,        _RES
>>>
>>> C$_QSORT2BIG is declared in errnodef.h, DECC$$GL___CRTL_VER_BUILD in
>>> unixlib.h, in6addr_any and in6addr_loopback in in6.h, _ns_flagdata in
>>> nameser.h, and _res is in resolv.h.
>>>
>>> So there is some kind of gear slippage among the compiler, the headers,
>>> and the library.  As far as I can see, the only thing new this week is
>>> the compiler.
>>
>> Upgrading from TCPIP X6.0-22 to TCPIP V6.0-23 did not make any
>> difference.  I thought it might since some of the missing symbols are
>> TCP/IP-related.
> 
> I also saw she missing IN6ADDR_ANY when building ZeroMQ.
> 
> The TCP/IP shareables lack it, but it is exported from the TCP/IP libraries.

As I mentioned in the forum thread here:

https://forum.vmssoftware.com/viewtopic.php?f=16&t=8898&p=19964#p19964

compiling /NOOPT makes the undefined symbol warnings go away.  Which is
an unfortunate workaround but it's where we are until the next release I
guess.




More information about the Info-vax mailing list