Building ACE on AIX with IBM Open XL C/C++

Sergio Romana Sergio.Romana at nttdata.com
Thu Aug 21 09:07:34 CDT 2025


Hi Johnny, many thanks for advice. I was able to get a lot further by adding "-std=c++11" and was able to build libACE.a.

I ran into a TOC overflow from the linker when trying to build libACE.so. Adding "-mcmodel=large" to the compiles resolved that issue.  I think that in the XL C/C++ compiler the equivalent option "-qpic=large" is the default.

Many thanks for all your help

Best Regards

Sergio Romana | Product Management Engineering Lead Advisor | NTT DATA

NTT DATA Services UK Limited

From: Johnny Willemsen <jwillemsen at remedy.nl>
Sent: 21 August 2025 07:06
To: Sergio Romana <Sergio.Romana at nttdata.com>; ace-users at list.isis.vanderbilt.edu
Subject: Re: Building ACE on AIX with IBM Open XL C/C++


Hi,

The challenge will be to find the necessary changes for just the compiler, I think the AIX defines where used for both the OS and the compiler. AIX support was removed in 7.1.0, so you could try https://github.com/DOCGroup/ACE_TAO/releases/tag/ACE%2BTAO-7_0_11<https://urldefense.com/v3/__https:/github.com/DOCGroup/ACE_TAO/releases/tag/ACE*2BTAO-7_0_11__;JQ!!AKgNyAfk550h-spHnEo!YKyXg3N3DW8O2avNcpaLe0DxPlLBl7aTEze8F206vOMtb3hQwa017u3wMrEBfwT73Ay4U3WePiGM86OvwKM9r3M-mg$> as last version before the code was removed.

std::auto_ptr has been removed from C++17, we removed the usage from it from ACE completely, check the documentation what C++ standard is the default for the compiler.

Johnny
On 8/20/25 15:31, Sergio Romana wrote:
Hi Johnny, thanks you for responding.  I have tried 6.5.21 but it fails as the Open XL C/C++ compiler is very different to the IBM XL C/C++ compiler, both in terms of the actual compiler executable names and the options recognised by the compiler. I have tried amending the make include file to use the new compiler executable names and to change the compiler options to the Open XL C/C++ equivalents.

ibm-clang++_r -fexceptions -m64 -frtti -g -fsanitize=integer-divide-by-zero,null -DACE_AIX_VERS=703 -I/home//ACEAix/ACE.6.5.21_c1/ACE_wrappers -DACE_NO_INLINE -I.. -DACE_BUILD_DLL -DACE_AS_STATIC_LIBS -c -o .obj/ACE.o /home/ACEAix/ACE.6.5.21_c1/ACE_wrappers/ace/ACE.cpp
In file included from /home/ACEAix/ACE.6.5.21_c1/ACE_wrappers/ace/ACE.cpp:5:
/home/ACEAix/ACE.6.5.21_c1/ACE_wrappers/ace/Auto_Ptr.h:77:12: error: no member named 'auto_ptr' in namespace 'std'
   77 | using std::auto_ptr;
      |       ~~~~~^
1 error generated.

I think I'll need to dig into this a bit more to see what #defines I need to set in the config header file.

Best Regards

Sergio Romana | Product Management Engineering Lead Advisor | NTT DATA

NTT DATA Services UK Limited

From: Johnny Willemsen <jwillemsen at remedy.nl><mailto:jwillemsen at remedy.nl>
Sent: 20 August 2025 14:16
To: Sergio Romana <Sergio.Romana at nttdata.com><mailto:Sergio.Romana at nttdata.com>; ace-users at list.isis.vanderbilt.edu<mailto:ace-users at list.isis.vanderbilt.edu>
Subject: Re: Building ACE on AIX with IBM Open XL C/C++


Hi,

Have you tried to compile ACE 6.5.21 with the newer IBM compiler, maybe that is the easiest to get something to work again on AIX.

Regards,

Johnny Willemsen

https://www.remedy.nl<https://urldefense.com/v3/__https:/www.remedy.nl__;!!AKgNyAfk550h-spHnEo!YdTfEQ5ZwnfLo50xnzMbehZwqzqmjXmi5s2OEd4WXgn3pzpGsxifaT-2h6DVP78F4v8K6isoK4OOE-MKGXYv--PeSg$>
On 8/20/25 15:01, Sergio Romana wrote:
Hello, I currently run an older version of ACE (6.5.21) on AIX that was built using XL C/C++ V11.1.  I'm trying to move to AIX 7.3 with clang based IBM Open XL C/C++ V17.1.3.  I notice that since version 7.1.0 that AIX versions of the config and make include files are no longer provided. The config/make files supplied with older versions of ACE are for the IBM XL C/C++ compiler.

Has anyone built ACE (any version) on AIX using the clang based Open XL C/C++ compiler?

Any help would be greatly appreciated.

Thanks

Sergio Romana | Product Management Engineering Lead Advisor, Application Services
sergio.romana at nttdata.com<mailto:sergio.romana at nttdata.com>

NTT DATA | nttdataservices.com | @nttdataservices
Consulting | Industry Solutions | Cloud & Digital Services

NTT DATA Services UK Limited

Disclaimer: This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data. If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding.
Disclaimer: This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data. If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding.
Disclaimer: This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data. If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.isis.vanderbilt.edu/pipermail/ace-users/attachments/20250821/51e1bb39/attachment-0001.html>


More information about the ace-users mailing list