APAR status
Closed as program error.
Error description
When compiling a test case that makes use of the following snippet of code, the linker fails to resolve the __ompCritical::info symbol if (iinfo != 0) { #pragma omp critical (info) *info = iinfo; break; } eg: xlc_r -qsmp=omp tt1.cpp tt2.cpp tt1.cpp: tt2.cpp: /tmp/91894_1.o:(.sbss+0x0): multiple definition of `__ompCritical::info' /tmp/91894_0.o:(.sbss+0x0): first defined here
Local fix
As a workaround, change #pragma omp critical (info) to #pragma omp critical
Problem summary
USERS AFFECTED: OpenMP programs using the same critical section name in different files may be affected by this issue. PROBLEM DESCRIPTION: Link errors due to multiple definitions will be encountered.
Problem conclusion
This problem has been fixed
Temporary fix
Comments
APAR Information
APAR number
LI80937
Reported component name
XL C/C++ LINUX
Reported component ID
5725C7310
Reported release
G11
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2019-08-15
Closed date
2019-08-19
Last modified date
2019-08-19
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
XL C/C++ LINUX
Fixed component ID
5725C7310
Applicable component levels
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSXVZZ","label":"XL C\/C++ for Linux"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"G11","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]
Document Information
Modified date:
19 August 2019