Skip to content

Commit b40b295

Browse files
committed
C++ extensions do not work with the old g++ system compiler on OL7 and Ubuntu 16.04
* The error is: /test/truffleruby-standalone/lib/cext/include/ruby/backward/cxxanyargs.hpp:98:69: error: 'std::nullptr_t' has not been declared rb_define_virtual_variable(const char *q, rb_gvar_getter_t *w, std::nullptr_t e) * HAVE_NULLPTR is defined to 1 in all platform config files, because of using newer CC/CXX in PATH when running the CRuby ./configure script. * On OL7 it should be possible to install devtoolset to address this, like documented in https://github.com/oracle/graal/blob/master/docs/getting-started/graalvm-enterprise/oci/installation-compute-instance-with-OL.md#oracle-linux-7 However it seems messy and OL7 is EOL soon anyway.
1 parent 5ae1b0a commit b40b295

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Runtime configurations are further detailed in [Deploying TruffleRuby](doc/user/
8787
TruffleRuby is actively tested on the following systems:
8888

8989
* Oracle Linux 7, 8, 9
90-
* Ubuntu 16.04, 18.04, 20.04, 22.04 (all LTS)
90+
* Ubuntu 18.04, 20.04, 22.04 (all LTS)
9191
* Fedora 37, 38
9292
* Debian 10, 11, 12
9393
* macOS 11 (Big Sur)

tool/docker-configs.yaml

+7-11
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,13 @@ deb: &deb
2525
- RUN locale-gen
2626
- ENV LANG=en_US.UTF-8
2727

28-
ol7:
29-
base: oraclelinux:7-slim
30-
# --enablerepo needed for libyaml-devel
31-
install: RUN yum install --enablerepo=ol7_optional_latest -y
32-
locale:
33-
<<: *rpm
28+
# Too old g++
29+
#ol7:
30+
# base: oraclelinux:7-slim
31+
# # --enablerepo needed for libyaml-devel
32+
# install: RUN yum install --enablerepo=ol7_optional_latest -y
33+
# locale:
34+
# <<: *rpm
3435

3536
ol8:
3637
base: oraclelinux:8-slim
@@ -58,11 +59,6 @@ fedora38:
5859
locale: glibc-langpack-en
5960
<<: *rpm
6061

61-
ubuntu1604:
62-
base: ubuntu:16.04
63-
install: RUN apt-get update && apt-get install -y
64-
<<: *deb
65-
6662
ubuntu1804:
6763
base: ubuntu:18.04
6864
install: RUN apt-get update && apt-get install -y

0 commit comments

Comments
 (0)