Skip to main content

Transaction Processing Facility (TPF) - Online Maintenance TPF Online Maintenance TPF Online Maintenance Skip to: Abstract | Comments | Solution | Related Segments | Migration | Download

SUBJECT:         APAR  NUMBER: PJ27522  (HIPER)

REFERENCE:  AREA:     ISO-C SUPPORT
            SEGMENT:  CEESG00340 - RELEASE:  TPF4  (ObjOnly)
            SEGMENT:  CSTRTL40   - RELEASE:  TPF4  (Assembler)


Pre-requisite APARs are:
FOR SEGMENT CEESG00340 (ObjOnly)   - REL TPF4
 PJ24472  PJ25084  PJ26377  PJ27361
FOR SEGMENT CSTRTL40   (Assembler) - REL TPF4
 PJ17852  PJ21167  PJ21907  PJ24472
 PJ24528  PJ25084  PJ25632
 PJ25807  PJ25981  PJ26218  PJ26502
 PJ26468  PJ26757  PJ27254
 PJ27361
To be applied in the order listed for each segment.

ABSTRACT OF PROBLEM
___________________
Unresolved    references  for lower-case memmove function occurs
during prelinking and linking TPF  modules  that  were  compiled
using  the OS/390 Version 2 Release 9 AGGRCOPY(OVERLAP) compiler
suboption.


COMMENTS ON PROBLEM
___________________
  The OS/390  C/C++  Version  2  Release  9  compiler  with  the
AGGRCOPY(OVERLAP)  option  may generate a V-con for a lower-case
memmove() function. The reference may be generated  even  though
the  original  source  code  does  not  contain  a  call  to the
memmove() function.
  Even if the  source  code  includes  string.h  which  has  the
#pragma  map(memmove,"MEMMOVE")  statement,  the  compiler still
generates a call to lower-case memmove() function.
  The lower-case 'memmove' is not resolved during  pre-link  and
link edit. Return code 4 occurs.


SOLUTION
________
  Added code to CEESG003 special stub to correct the problem for
dynamic load modules (DLMs) and dynamic link libraries (DLLs).
  Added  code  to  run-time library (RTL) startup code CSTRTL to
correct the problem for RTLs.

DEPENDENCIES
____________

Related Segments Affected By This APAR.
_______________________________________

Segments to be assembled or compiled:
None

Segments to be link edited:
None

Load Modules to be loaded:
None

Migration Considerations
========================
As follows
  CEESG003 is an object-code-only special stub object module.
The object module should be placed in the ACP.STUB.REL40 data set.

  If CEESG003 is in ACP.CLIB.REL40 data set, delete CEESG003 from this
data set.  CEESG003 should only be in the ACP.STUB.REL40 data set.

Message changes
--------------------------------
no


BUILD/TEST INSTRUCTIONS
_______________________

 ===BUILD Instructions===

CEESG003 is an object-code-only special stub object module.  The
object module should be placed in the ACP.STUB.REL40 data set.

If CEESG003 is in ACP.CLIB.REL40 data set, delete CEESG003  from
this  data set.   CEESG003 should only be in ACP.STUB.REL40 data
set.

Stubs to be built:

None

 ===TEST Instructions===

No special test instructions.

-- END APAR PJ27522






Download file(s): Login once to access server, leave window open, then click on link(s) below. Source Binary