Fixes are available
APAR status
Closed as program error.
Error description
When compiling template-heavy code, the C++ compiler front end is encountering an internal error with the message: 1540-0505 (S) The build failed and there are no messages. 1540-0527 (I) The build failure may be because of an Internal Compiler Error or because a tool failed to generate a message. The issue appears to be related to the order in which functions are processed by the compiler.
Local fix
You may be able to work around the error by using the options '-qtmplparse=error' or '-qlanglvl=variadictemplates' (even if variadic template are not being used).
Problem summary
PROBLEM DESCRIPTION: An internal error was generated due to function bodies being processed in the wrong order. USERS AFFECTED: This problem may be seen when implicitly instantiating a template class with many functions.
Problem conclusion
The problem has been resolved.
Temporary fix
Comments
APAR Information
APAR number
LI76624
Reported component name
XL C/C++ FOR LI
Reported component ID
5724X1400
Reported release
B10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2012-02-06
Closed date
2012-02-06
Last modified date
2012-02-06
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 LI
Fixed component ID
5724X1400
Applicable component levels
RB10 PSN IV06744
UP06/09/13
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSXVZZ","label":"XL C\/C++ for Linux"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"B10","Line of Business":{"code":"LOB57","label":"Power"}}]
Document Information
Modified date:
17 October 2021