Fixes are available
October 2010 PTF for XL C/C++ for AIX, V10.1
October 2010 PTF for XL C for AIX, V10.1
May 2012 PTF for XL C/C++ for AIX, V10.1
January 2013 PTF for XL C for AIX, V10.1
January 2013 PTF for XL C/C++ for AIX, V10.1
XL C/C++ for AIX Fix Pack 18 (July 2013 PTF) for 10.1
XL C/C++ for AIX Fix Pack 19 (October 2013 PTF) for 10.1
XL C/C++ for AIX Fix Pack 21 (October 2015 PTF) for 10.1
XL C for AIX Fix Pack 21 (October 2015 PTF) for 10.1
June 2010 PTF for XL C/C++ for AIX, V10.1
June 2010 PTF for XL C for AIX, V10.1
February 2011 PTF for XL C for AIX, V10.1
May 2011 PTF for XL C/C++ for AIX, V10.1
May 2011 PTF for XL C for AIX, V10.1
October 2011 PTF for XL C/C++ for AIX, V10.1
October 2011 PTF for XL C for AIX, V10.1
February 2012 PTF for XL C for AIX, V10.1
February 2012 PTF for XL C/C++ for AIX, V10.1
May 2012 PTF for XL C for AIX, V10.1
September 2012 PTF for XL C for AIX, V10.1
September 2012 PTF for XL C/C++ for AIX, V10.1
XL C for AIX Fix Pack 18 (July 2013 PTF) for 10.1
XL C for AIX Fix Pack 19 (October 2013 PTF) for 10.1
XL C for AIX Fix Pack 20 (October 2014 PTF) for 10.1
XL C/C++ for AIX Fix Pack 20 (October 2014 PTF) for 10.1
APAR status
Closed as program error.
Error description
-WE is supposed to pass CreateExportList parameters from the xlC invocation to the script. But it apprears that it's not. This could be seen by adding -V to the compile. Invoking CreateExportList script directly, one can see the script itself is working fine. xlc/xlC is not recognizing the -WE, options. ===== TESTCASE: Use -V to show the problem. To demonstrate that CreateExportList is working fine, one could try the -WE,-w option with a .C file that has an inline function so that the symbol will be weak. $cat t.C #include <stdio.h> int foo(int); int main( ) { int x=1; printf("foo=%d\n", foo(x)); return 0; } inline int foo(int x1) { return 5*x1; } $xlC t.C -c -o t.o $xlC -qmkshrobj -WE,-w -qexpfile=exp t.o $cat exp foo__Fi main Symbol foo_Fi is weak. It shall not appear in the exp file since -WE,-w is present. Invoke createExportList directly to pass the -w option, foo_Fi will be removed from the exp file. $/usr/vac/bin/CreateExportList exp t.o -w $cat exp main
Local fix
Use createExportList script directly.
Problem summary
PROBLEM DESCRIPTION: Options specified via -WE are not passed to CreateExportList USERS AFFECTED: Any user who tries to pass option to CreateExportList
Problem conclusion
Problem is fixed.
Temporary fix
Comments
APAR Information
APAR number
IZ72949
Reported component name
XL C++ AIX
Reported component ID
5724U8100
Reported release
A10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-03-16
Closed date
2010-06-03
Last modified date
2010-06-03
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 AIX
Fixed component ID
5724U8000
Applicable component levels
Document Information
Modified date:
07 October 2021