IBM Support

IV21992: PROMOTE (E) TO (S) FOR 1586-401 MESSAGE

Fixes are available

August 2012 PTF for XL C for AIX, V12.1
August 2012 PTF for XL C/C++ for AIX, V12.1
November 2012 PTF for XL C for AIX, V12.1
November 2012 PTF for XL C/C++ for AIX, V12.1
March 2013 PTF for XL C for AIX, V12.1
March 2013 PTF for XL C/C++ for AIX, V12.1
XL C/C++ for AIX Fix Pack 4 (June 2013 PTF) for 12.1
XL C/C++ for AIX Fix Pack 5 (September 2013 PTF) for 12.1
XL C/C++ for AIX Fix Pack 7 (January 2014 PTF) for 12.1
XL C for AIX Fix Pack 8 (March 2014 PTF) for 12.1
XL C/C++ for AIX Fix Pack 8 (March 2014 PTF) for 12.1
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 4 (June 2013 PTF) for 12.1
XL C for AIX Fix Pack 5 (September 2013 PTF) for 12.1
XL C for AIX Fix Pack 6 (December 2013 PTF) for 12.1
XL C/C++ for AIX Fix Pack 6 (December 2013 PTF) for 12.1
XL C for AIX Fix Pack 7 (January 2014 PTF) for 12.1
XL C for AIX Fix Pack 9 (July 2014 PTF) for 12.1
XL C/C++ for AIX Fix Pack 9 (July 2014 PTF) for 12.1
XL C for AIX Fix Pack 10 (October 2014 PTF) for 12.1
XL C/C++ for AIX Fix Pack 10 (October 2014 PTF) 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

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When a client accidentally specifies a non-existing file name
    (eg: xx) for the -qpdf2=pdfname=<filename> option,
    the compiler issues the following (E) message:
    1586-401 (E) File "xx" not found.
    
    and procedes with the generation of the final exe. This final
    exe will not be a PDF optimized binary.
    
    ===== COMPILE COMMAND:
    xlC_r -c test.cpp -q64 -qipa
    xlC_r -o a.out test.o -qipa -qpdf2=pdfname=xx -q64
    
    
    ===== TESTCASE:
    $cat test.cpp
    int main(){
    int i;
    return 0;
    }
    $
    
    ===== ACTUAL OUTPUT:
    $xlC_r -c test.cpp -q64 -qipa
    $xlC_r -o a.out test.o -qipa -qpdf2=pdfname=xx -q64
    1586-401 (E) File "xx" not found.
    $
    $ ls
    a.out         test.cpp            test.o
    $ echo $?
    0
    $
    
    ===== EXPECTED OUTPUT:
    $xlC_r -c test.cpp -q64 -qipa
    $xlC_r -o a.out test.o -qipa -qpdf2=pdfname=xx -q64
    1586-401 (S) File "xx" not found.
    $
    $ ls
    test.cpp            test.o
    $
    $//echo should return a non-zero return code
    

Local fix

  • n/a
    

Problem summary

  • and procedes with the generation of the final exe. This final
    exe will not be a PDF optimized binary.
    

Problem conclusion

  • The compiler will now treat missing PDF files as a severe
    problem and not proceed with compilation.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV21992

  • 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

    2012-05-31

  • Closed date

    2012-08-03

  • Last modified date

    2012-08-03

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

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

    LI76983

Fix information

  • Fixed component name

    XL C FOR AIX

  • Fixed component ID

    5725C7100

Applicable component levels



Document information

More support for: XL C for AIX
Compiler

Software version: 12.1

Reference #: IV21992

Modified date: 03 August 2012