Fixes are available
APAR status
Closed as program error.
Error description
Generating assembly output via the -S compiler option or the 'dis' tool removes #pragma comment strings from the resulting assembly/object.
Local fix
None. Comments are preserved when compiling directly to object from the compiler.
Problem summary
PROBLEM DESCRIPTION: The AIX as assembler did not support certain directives to allow .comment and .file sections, which prevented the XLC compiler from generating #pragma comment strings in the resulting assembler source files when using the -S option. USERS AFFECTED: Users of #pragma comment and the -S option.
Problem conclusion
Support for the .comment and .file assembler statements was added to the AIX as assembler in the following APARs: AIX 7100-04-04-1717 - APAR IV89962 AIX 7200-00-04-1717 - APAR IV92748 AIX 7200-01-02-1717 - APAR IV89963 When the XLC compiler detects assembler support for .comment and .file, it will now generate assembler source with the comment strings.
Temporary fix
Comments
APAR Information
APAR number
IJ08148
Reported component name
XL C FOR AIX
Reported component ID
5725C7100
Reported release
D13
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2018-08-02
Closed date
2018-08-02
Last modified date
2018-08-02
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
RD13 PSN IJ04704
UP06/09/13
[{"Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGH2K","label":"XL C for AIX"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"D13"}]
Document Information
Modified date:
24 August 2021