C++11/C++14 support in XLC ?

Volker Simonis volker.simonis at gmail.com
Fri Jun 23 07:14:09 UTC 2017


Hi everybody,

Kim recently approached me with some questions regarding the amount
and quality of C++11/C++14 support in XLC (see his mail below). As he
found out, it seems that there's unfortunately not much of even C++11
support in recent XLC compilers [1,2].

I think, one of the features most badly needed is the support for
atomics operations library [3] which was introduced with C++11. A
recent hotspot mail thread [4,5] may give an impression why the
atomics library is need (but obviously only makes sense if it is
high-quality, bullet-proof on all supported platforms)

I would be great if somebody from the IBM folks on this list could
provide some more detailed information on the current state of the
C++11/C++14/C++XX support in XLC and the future plans if possible.

Thank you and best regards,
Volker


---------- Forwarded message ----------
From: Kim Barrett <kim.barrett at oracle.com>
Date: Wed, Jun 21, 2017 at 6:23 AM
Subject: c++11 ?
To: Volker Simonis <volker.simonis at gmail.com>

Hi Volker,

There's been a lot of internal discussion here at Oracle about
possibly updating compilers and starting to use C++11 or even C++14
features, for JDK10 or beyond.  Until recently I thought C++11 was
practical, just a matter of doing the work.  This was based in part on
information I'd seen about XLC++ supporting C++11.  However, I
recently found documentation [1] [2] indicating that's only true for
the Linux port, and that even the latest version of the AIX port is
seriously laggard, only providing a few specific C++11 features.  If
that's accurate, that's very disappointing. I was wondering if you or
your group might have any additional information or thoughts?

[1] https://www-03.ibm.com/software/products/en/xlcpp-aix
[2] https://www-01.ibm.com/support/docview.wss?uid=swg27047114
[3] http://en.cppreference.com/w/cpp/atomic
[4] http://mail.openjdk.java.net/pipermail/jdk10-dev/2017-May/thread.html#224
[5] http://mail.openjdk.java.net/pipermail/jdk10-dev/2017-June/thread.html#268


More information about the ppc-aix-port-dev mailing list