APAR status
Closed as program error.
Error description
The legacy 'munch' utility used to gather static constructor/destructor calls is unable to process the new XL C/C++ runtime library, libC.a. The tool outputs an error message: munch: Error reading input file libC.a Note: this only affects users of the XL C/C++ for AIX, V12.1 compiler, or users of later versions of the compiler that force munch usage. Starting with V13.1.0 and up, the default method used to gather ctor/dtor calls is to use the AIX linker's -bcdtors option.
Local fix
Problem summary
PROBLEM DESCRIPTION: The munch tool checks the magic number of the auxiliary header of each member in libC.a. If the number is not 0x0107, 0x0107, or 0x010b, it displays 1547-005 and fails. While the shrcore.o in the libC.a built on AIX 6.1 has a magic number of 0x010b, the one in the libC.a built on AIX 7.1 has a magic number 0x0 and therefore munch fails. However, when the vstamp field is greater than 1, magic number being 0x0 is valid. USERS AFFECTED: Users who use pre V16.1 munch against V16.1 libC.a.
Problem conclusion
This problem is fixed to allow using V12.1 tools against V16.1 libC.a.
Temporary fix
Comments
APAR Information
APAR number
IJ36786
Reported component name
XL C/C++ FOR AI
Reported component ID
5725C7200
Reported release
D13
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2021-12-21
Closed date
2021-12-21
Last modified date
2021-12-21
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
XL C/C++ FOR AI
Fixed component ID
5725C7200
Applicable component levels
[{"Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGH3R","label":"XL C\/C++ for AIX"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"D13"}]
Document Information
Modified date:
22 December 2021