-
Notifications
You must be signed in to change notification settings - Fork 729
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openj9 builds at adoptopenjdk not honouring CC/CXX environment variables #1919
Comments
@keithc-ca Can you take a look at this? |
Marking this as high priority as we want the May release to compiled on centos so the glibc levels are old enough to run on all the supported OS/platforms combos required by the Eclipse IDE release. |
I started experimenting with a docker container that doesn't have cc, c++, gcc or g++ some time ago. It appears that the final piece (at least for Linux x64) is captured in https://github.com/keithc-ca/openj9-openjdk-jdk8/tree/gcc (and similar changes for newer JDK versions). I have builds underway. |
This may be related - I've got an issue on on the v8 build on Linux/s390x which is similarly failing to find a "working" C compliler, although in this case it's explcitly using
|
That strikes me as a separate issue, that at first reading seems OMR is having trouble with the multi-word compiler name. |
@keithc-ca - any news on this one - we'd like to finish off all the items for 0.9.0 |
I thought I had a solution for this - it was even merged, but unfortunately, it caused trouble for the AIX platform. I am working on fix it. |
So it works everywhere except for AIX? |
Yes, it worked for all supported OpenJ9 platforms except for AIX. There are some details to be worked out involving linking of shared libraries. |
@sxa555 since you have a workaround, is this required for the OpenJ9 0.9.0 release? If so it may delay the release by a few days. |
@keithc-ca I know from discussions with you that a lot of progress has been happening on this. Can you provide an update here so everyone is aware? |
The work is mostly about making *.spec files consistent in their use of C and C++ compilers and to make use of |
Are we close to finishing this? |
The fix in #2106 is under review. There are some PR testing failures due to out of space issues atm. |
Accidentally closed, not all changes are merged yet. |
Now everything is merged. |
We discovered an issue building openjdk8+openj9 at adoptopenjdk today.
We're building on CentOS6.9 which has gcc 4.4.7 as the default compiler. The code is using some C++11 specific constructs and therefore requires gcc 4.8. If I set the
CC
/CXX
variables it said it can't find the things that those variables point to. However if I set the path to have the directory containing the gcc 4.8 executables it works ok. I don't really want to leave thePATH
in such a state and would much prefer to be able to use theCC
/CXX
variables. Can we lookg at getting this resolved please?Log fragments all available in adoptium/temurin-build#327
The text was updated successfully, but these errors were encountered: