Fixes are available
XL C/C++ for Linux Fix Pack 8 (October 2015 Update) for 12.1
XL C/C++ for Linux Fix Pack 4 (October 2013 Update) for 12.1
XL C/C++ for Linux Fix Pack 5 (December 2013 Update) for 12.1
XL C/C++ for Linux Fix Pack 6 (February 2014 Update) for 12.1
XL C/C++ for Linux Fix Pack 7 (May 2014 Update) for 12.1
APAR status
Closed as program error.
Error description
The following test case shows that the compiler is unnecessarily ignoring PDF information with the warning message. 508: TEST1>cat test1.C #include <cstdio> int foo1() { return printf("foo1\n");} int foo2() { return printf("foo2\n");} int foo3() { return printf("foo3\n");} int fooN() { return printf("fooN\n");} int main() { int i; for (i=0; i<100000; i++) { switch (i%17) { case 1: foo1(); break; case 2: foo2(); break; case 3: foo3(); break; case 18: goto bye; default: fooN(); } } bye: return 0; } 509: TEST1>xlC -qpdf1 -O test1.C 510: TEST1>./a.out >/dev/null 511: TEST1>xlC -qpdf2 -qnoipa -O test1.C 1586-475 (W) New definition of function "main" is inconsistent with profiling data found in file "._pdf" from the pdf1 phase. Source files and/or compilation options may differ between the pdf1 and pdf2 phases. PDF Information will be ignored for function "main".
Local fix
Use -qxflag=nunsswe
Problem summary
PROBLEM DESCRIPTION: The synchronization point between PDF1 compile and PDF2(NOIPA) compile is different, which causes the compiler to falsely identify 'main' as a modified function (ie. it thinks the source has changed for that function). USERS AFFECTED: Users of Compile-time PDF.
Problem conclusion
The problem is fixed. Apply available service.
Temporary fix
Comments
APAR Information
APAR number
LI77643
Reported component name
XL C/C++ FOR LI
Reported component ID
5725C7300
Reported release
C10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-10-28
Closed date
2013-10-28
Last modified date
2013-10-28
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
5725C7300
Applicable component levels
RC10 PSN IV40580
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":"12.1","Line of Business":{"code":"LOB57","label":"Power"}}]
Document Information
Modified date:
14 October 2021