IBM Support

PI27400: LINK ERROR WHEN REMOVING CODE INSERTION DUE TO STUB RENAMING

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • During compiling these inforamtion are displayed at the
    preprocessing phase :
    
    TestRT attolccp - INFO: Function int foo1 (int) renamed
    TestRT attolccp - INFO: Function int foo2 (int *) renamed
    TestRT attolccp - INFO: Function int read_file (int, char *)
    renamed
    TestRT attolccp - INFO: Function int close_file (int) renamed
    TestRT attolccp - INFO: Function int open_file (char *) renamed
    TestRT attolccp - INFO: Function int write_file (int, char *)
    renamed
    TestRT attolccp - INFO: Function int create_file (char *)
    renamed
    
    
    And the linker fails with error fatal error LNK1120  'external
    symbol not resolved'
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * N/A                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When a PTU stubs a function used by the PTU inserted code    *
    * (at the beginning of the PTU) and the stubbed function does  *
    * not exist, stub is renamed by the instrumentor.              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Create an empty function, local to the PTU, before the stub  *
    * definition.                                                  *
    ****************************************************************
    

Problem conclusion

  • Problem has been fixed in IBM Rational TestRealtime 8.0.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI27400

  • Reported component name

    TEST REALTIME

  • Reported component ID

    5724G2000

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-10-10

  • Closed date

    2014-12-11

  • Last modified date

    2014-12-11

  • 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

    TEST REALTIME

  • Fixed component ID

    5724G2000

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSSHUF","label":"Rational Test RealTime"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"800","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 October 2021