Fixes are available
January 2011 PTF for XL C/C++ for AIX, V11.1
May 2011 PTF for XL C for AIX, V11.1
May 2011 PTF for XL C/C++ for AIX, V11.1
August 2011 PTF for XL C/C++ for AIX, V11.1
November 2011 PTF for XL C/C++ for AIX, V11.1
January 2012 PTF for XL C for AIX, V11.1
January 2012 PTF for XL C/C++ for AIX, V11.1
April 2012 PTF for XL C for AIX, V11.1
April 2012 PTF for XL C/C++ for AIX, V11.1
July 2012 PTF for XL C/C++ for AIX, V11.1
October 2012 PTF for XL C for AIX, V11.1
October 2012 PTF for XL C/C++ for AIX, V11.1
February 2013 PTF for XL C for AIX, V11.1
February 2013 PTF for XL C/C++ for AIX, V11.1
XL C/C++ for AIX Fix Pack 14 (May 2013 PTF) for 11.1
XL C for AIX Fix Pack 14 (May 2013 PTF) for 11.1
XL C/C++ for AIX Fix Pack 15 (August 2013 PTF) for 11.1
XL C for AIX Fix Pack 15 (August 2013 PTF) for 11.1
XL C/C++ for AIX Fix Pack 16 (November 2013 PTF) for 11.1
XL C for AIX Fix Pack 17 (February 2014 PTF) for 11.1
XL C/C++ for AIX Fix Pack 17 (February 2014 PTF) for 11.1
XL C/C++ for AIX Fix Pack 18 (May 2014 PTF) for 11.1
XL C/C++ for AIX Fix Pack 19 (August 2014 PTF) for 11.1
XL C/C++ for AIX Fix Pack 20 (November 2014 PTF) for 11.1
XL C for AIX Fix Pack 21 (April 2015 PTF) for 11.1
XL C/C++ for AIX Fix Pack 21 (April 2015 PTF) for 11.1
XL C/C++ for AIX Fix Pack 22 (September 2015 PTF) for 11.1
XL C for AIX Fix Pack 23 (March 2016 PTF) for 11.1
XL C/C++ for AIX Fix Pack 23 (March 2016 PTF) for 11.1
XL C for AIX Fix Pack 24 (September 2016 PTF) for 11.1
XL C/C++ for AIX Fix Pack 24 (September 2016 PTF) for 11.1
January 2011 PTF for XL C for AIX, V11.1
August 2011 PTF for XL C for AIX, V11.1
November 2011 PTF for XL C for AIX, V11.1
July 2012 PTF for XL C for AIX, V11.1
XL C for AIX Fix Pack 16 (November 2013 PTF) for 11.1
XL C for AIX Fix Pack 18 (May 2014 PTF) for 11.1
XL C for AIX Fix Pack 19 (August 2014 PTF) for 11.1
XL C for AIX Fix Pack 20 (November 2014 PTF) for 11.1
XL C for AIX Fix Pack 22 (September 2015 PTF) for 11.1
APAR status
Closed as program error.
Error description
The following test case has two func() functions taking in different parameters defined in two different files func.c and foo.c. main.c uses the func() defined from func.c. foo.c's definition is not used. Using pdf1 and pdf2 to create pdf-optimized objects, with V9 and V10.1 compiler, compilation stops for compiling foo.c with error in the second pass. foo.c: 1586-465 (S) Profiling data matching that from the pdf1 phase could not be found for function "func" in file "._pdf". Source files and/or compilation options may differ between the pdf1 and pdf2 phases. With V11.1 compiler compilation continues with warnings. main.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 gnored for function "main". func.c: foo.c: 1586-475 (W) New definition of function "func" 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 gnored for function "func". ============ TEST CASE: ============ ===== TESTCASE: $ cat main.c void func(int a); int main(int argc, char *argv[]) { func(atoi(argv[1])); } $ cat func.c void func(int i) { if ( i == 0 ) printf("Arun\n"); else printf("Sar\n"); } $ cat foo.c int func() { printf("IBM\n"); } rm -f *.o mytest_v9 ._pdf $XLC -q64 -qpdf1 -O3 -c main.c func.c foo.c $XLC -q64 -qpdf1 -O3 -o mytest_v9 main.o func.o ./mytest_v9 0 ./mytest_v9 1 ./mytest_v9 2 $XLC -q64 -qpdf2 -qnoipa -O3 -c main.c func.c foo.c
Local fix
N/A
Problem summary
PROBLEM DESCRIPTION: In V9, V10, misleading severe error with PDF2 USERS AFFECTED: XL C/C++ V9, V10, V11 users who use Pass1 PDF2 (-qnoipa -qpdf2)
Problem conclusion
Problem is fixed. Only warning message against foo.c is now emitted.
Temporary fix
Comments
APAR Information
APAR number
IZ91489
Reported component name
XL C FOR AIX
Reported component ID
5724X1200
Reported release
B10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-01-03
Closed date
2011-01-03
Last modified date
2011-01-05
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 FOR AIX
Fixed component ID
5724X1200
Applicable component levels
Document Information
Modified date:
06 October 2021