PM79655: Use of setjmp within the testscript compiler cause compilation error

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Use of setjmp within the testscript compiler cause compilation
    error on generated tests.
    
    Error :
    
    ---
    cpcgnu\TTest_aug.c: Compiling...
    gcc.exe -c 'cpcgnu\TTest_aug.c'   '-Icpcgnu'  -g -o
    'cpcgnu\TTest.o'
    Failed.
    cpcgnu\TTest.c: In function `TEST_SERVICE_1':
    cpcgnu\TTest.c:225: error: `_atl_stack_link' undeclared (first
    use in this function)
    cpcgnu\TTest.c:225: error: (Each undeclared identifier is
    reported only once
    cpcgnu\TTest.c:225: error: for each function it appears in.)
    status 1
    ---
    
    Workaround :
    Remove the  Memory Profiling, Performance Profiling and  Runtime
    Tracing from the build settings
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    IBM Rational Test RealTime - Component Testing for C -
    Use of setjmp within the testscript compiler causes
    compilation error.
    

Problem conclusion

  • Fixed indirectly -
    On top of the script if the user needs to use setjmp/longjmp
    with trace, the following line must be added to get is
    working
    #USE_SETJMP
    Note that line can be used even if trace is not used.
    This macro is declared into atu.h
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM79655

  • Reported component name

    TEST REALTIME

  • Reported component ID

    5724G2000

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-12-21

  • Closed date

    2013-04-30

  • Last modified date

    2013-04-30

  • 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 PSN

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Rational Test RealTime

Software version:

800

Reference #:

PM79655

Modified date:

2013-04-30

Translate my page

Machine Translation

Content navigation