Fixes are available
XL C/C++ for AIX Fix Pack 11 (February 2015 PTF) for 12.1
XL C for AIX Fix Pack 12 (May 2015 PTF) for 12.1
XL C/C++ for AIX Fix Pack 12 (May 2015 PTF) for 12.1
XL C/C++ for AIX Fix Pack 13 (August 2015 Update) for 12.1
XL C/C++ for AIX Fix Pack 14 (December 2015 Update) for 12.1
XL C for AIX Fix Pack 15 (April 2016 Update) for 12.1
XL C/C++ for AIX Fix Pack 15 (April 2016 Update) for 12.1
XL C for AIX Fix Pack 16 (July 2016 Update) for 12.1
XL C/C++ for AIX Fix Pack 16 (July 2016 Update) for 12.1
XL C/C++ for AIX Fix Pack 17 (November 2016 Update) for 12.1
XL C for AIX Fix Pack 17 (November 2016 Update) for 12.1
XL C for AIX Fix Pack 18 (February 2017 Update) for 12.1
XL C/C++ for AIX Fix Pack 18 (February 2017 Update) for 12.1
XL C for AIX Fix Pack 19 (August 2017 Update) for 12.1
XL C/C++ for AIX Fix Pack 19 (August 2017 Update) for 12.1
XL C for AIX Fix Pack 20 (March 2018 Update) for 12.1
XL C/C++ for AIX Fix Pack 20 (March 2018 Update) for 12.1
XL C for AIX Fix Pack 11 (February 2015 PTF) for 12.1
XL C for AIX Fix Pack 13 (August 2015 Update) for 12.1
XL C for AIX Fix Pack 14 (December 2015 Update) for 12.1
XL C/C++ for AIX Fix Pack 21 (January 2019 Update) for 12.1
XL C for AIX Fix Pack 21 (January 2019 Update) for 12.1
APAR status
Closed as program error.
Error description
When generating object files with debug information in the DWARF format, the files generated are much larger than files using the stabstring debug format. In general, DWARF debug information is typically larger than stabstring debug information. However in this case, object files with DWARF debug info are sometimes 10 times or more the size of stabstring object files. === TEST CASE === int main() { return 5; } > xlc -c -g test.c -qdbgfmt=dwarf -o test.dwarf.o > xlc -c -g test.c -qdbgfmt=stabstring -o test.stabstring.o > ls -l -rw-r----- 1 26 test.c -rw-r----- 1 22963 test.dwarf.o -rw-r----- 1 1275 test.stabstring.o >
Local fix
NA
Problem summary
USERS AFFECTED: DWARF usersPROBLEM DESCRIPTION: Compiling files with '-g -qdbgfmt=dwarf' will result in DWARF debug info that massively inflates object file size. USERS AFFECTED: DWARF users
Problem conclusion
When the compiler internally generates the object file layout, the size footprint occupies more space than needed, which makes the resulting object file much larger when generating DWARF debug information. The issue has been corrected, and smaller object files will be seen.
Temporary fix
Comments
APAR Information
APAR number
IV67196
Reported component name
XL C/C++ FOR AI
Reported component ID
5725C7200
Reported release
C10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-11-25
Closed date
2015-02-26
Last modified date
2015-02-26
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
5725C7100
Applicable component levels
RC10 PSY
UP
Document Information
Modified date:
03 October 2021