IBM Support

IZ42393: UNNECESSARY SYMBOL IS GENERATED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The compiler generates unnecessary symbol:
    
    $ cat tc.cpp
    main(){}
    $ xlc++ -c tc.cpp && nm tc.o
             U __IBMCPlusPlusExceptionV3
    00000000 T main
    

Local fix

  • N/A
    

Problem summary

  • Users will be affected when the codes contain no exceptions,
    and compiler linkage created to the runtime is not intended.
    
    When a project is built without exceptions, the output of nm on
    the resultant object files shows that a link has been created
    to the c++ exception handling runtime.
    

Problem conclusion

  • To address this issue, the compiler will insert a check that
    determines if the project is actually using exceptions or not.
    If so, insert the linkage, otherwise do not.
    
    This fix will be applied to a future PTF.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ42393

  • Reported component name

    XL C++ AIX

  • Reported component ID

    5724U8100

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-01-22

  • Closed date

    2009-01-22

  • Last modified date

    2009-02-12

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

    LI73818

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

Fix information

  • Fixed component name

    XL C++ AIX

  • Fixed component ID

    5724U8100

Applicable component levels

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSJT9L","label":"XL C\/C++"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A.1","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
12 February 2009