IBM Support

LI77356: CHANGING WARNING TO ERROR FOR PDF PROFILE ERROR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • While building a pdf executable, the following warning is
    observed:
    Warning: PDF file "my.profile" version mismatch: 8 != 10. File
    will be ignored.
    1586-421 (W) File "my.profile" has invalid format.
    
    Nevertheless, the compile/link is still performed even though
    the pdf file cannot be used.
    
    The compile should be stopped when such an error occurs,
    instead of proceeding with a warning message.
    

Local fix

  • N/A
    

Problem summary

  • USERS AFFECTED:
    Anyone that uses -qpdf2 and PDF files from older/newer compiler
    releases are affected by this issue.
    
    PROBLEM DESCRIPTION:
    Compiler does not halt if PDF data is invalid.  Instead it
    issues a warning and continues with compilation as if there
    were no PDF information available.
    The idea is to change the warning message to a (S)evere message
    and halt compilation.
    

Problem conclusion

  • Halting on errors like this is more intuitive than a simple
    warning, as most clients who use -qpdf2 expect the binary to be
    optimized based on the PDF information.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI77356

  • Reported component name

    XL C/C++ FOR LI

  • Reported component ID

    5725C7300

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-04-27

  • Closed date

    2013-04-27

  • Last modified date

    2013-04-27

  • APAR is sysrouted FROM one or more of the following:

    IV37017

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    XL C/C++ FOR LI

  • Fixed component ID

    5725C7300

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSXVZZ","label":"XL C\/C++ for Linux"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
14 October 2021