Fixes are available
XL C for AIX Fix Pack 7 (May 2016 Update) for 13.1
XL C/C++ for AIX Fix Pack 7 (May 2016 PTF) for 13.1
XL C for AIX Fix Pack 8 (August 2016 Update) for 13.1
XL C/C++ for AIX Fix Pack 8 (August 2016 PTF) for 13.1
XL C for AIX Fix Pack 9 (June 2017 Update) for 13.1
XL C/C++ for AIX Fix Pack 9 (June 2017 PTF) for 13.1
XL C for AIX Fix Pack 10 (February 2018 Update) for 13.1
XL C/C++ for AIX Fix Pack 10 (February 2018 PTF) for 13.1
XL C/C++ for AIX Fix Pack 11 (November 2018 PTF) for 13.1
XL C for AIX Fix Pack 11 (November 2018) for 13.1
APAR status
Closed as program error.
Error description
When compiling large source files using the DWARF debug format, corrupted XCOFF object files are produced that are not accepted by AIX utilities, including the linker and the ar archive tool. Tools such as ar might encounter internal errors due to the corrupted object file, while the linker might output errors such as: ld: 0711-599 SEVERE ERROR: Section header 5 (.dwinfo) in object /tmp/3998512_0.o: Fields in the header are invalid: s_scnptr = 4175648; s_size = 8608238 ld: 0711-599 SEVERE ERROR: Section header 6 (.dwabrev) in object /tmp/3998512_0.o: Fields in the header are invalid: s_scnptr = 13704128; s_size = 2051 ld: 0711-599 SEVERE ERROR: Section header 7 (.dwarnge) in object /tmp/3998512_0.o: Fields in the header are invalid: s_scnptr = 13706192; s_size = 67184 ld: 0711-599 SEVERE ERROR: Section header 8 (.dwpbnms) in object /tmp/3998512_0.o: Fields in the header are invalid: s_scnptr = 13857344; s_size = 922451 ld: 0711-599 SEVERE ERROR: Section header 9 (.dwpbtyp) in object /tmp/3998512_0.o: Fields in the header are invalid: s_scnptr = 14779824; s_size = 178544
Local fix
Use the stabstring debug format instead of DWARF.
Problem summary
PROBLEM DESCRIPTION: When compiling large files with -g and -qdbgfmt=dwarf, the resulting object file is corrupted. The DWARF debug section is overwriting the XCOFF scnum value. USERS AFFECTED: Users of DWARF debug information with large source files.
Problem conclusion
The issue has been corrected.
Temporary fix
Comments
APAR Information
APAR number
IV85130
Reported component name
XL C FOR AIX
Reported component ID
5725C7100
Reported release
D10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-05-27
Closed date
2016-05-27
Last modified date
2016-05-27
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
Document Information
Modified date:
19 August 2024