Program linking
Consider changes to program linking when you migrate your program to IBM® Open XL C/C++ for AIX® 17.1.2.
You are not recommended to specify the -bcdtors:csect linker option for object code that is generated by IBM Open XL C/C++ for AIX 17.1.2. Otherwise, it might lead to crashes or incorrect results at run time. To avoid this issue, use -bcdtors:mbr instead on the link step.
In IBM Open XL C/C++ for AIX 17.1.2, many libraries are no longer linked implicitly, such as libatomic and
libm. If operations related to these libraries are used in your program, specify
the corresponding linking options explicitly, such as -latomic and
-lm.