-
Notifications
You must be signed in to change notification settings - Fork 720
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
Update xlc compiler version #19098
Comments
Yes we should update the head stream. Afaik xlc 17 options aren't compatible with xlc 16 options so we can't just switch. We need to add support to OpenJ9/OMR to use the correct option syntax. |
The options can't be too different or the build would have failed (if openjdk used xlc 17 options that xlc 16 doesn't understand), although it's possible that OpenJ9 or OMR use options that won't work as is with xlc 17. |
OpenJDK added support for xlc 17, if we tried to do a build using it OpenJDK would detect xlc 17 and do the appropriate thing. |
I don't see anything that's sensitive to the version of xlc (other than the warning that 16.1 is unsupported), got an example? |
I think it was a misunderstanding on my part. Looking back when I asked for xlC 17 to be installed on a machine, it seems I only got openxlC / ibm-clang, which uses different options. At the time I must have thought that was the only option. I've again requested getting xlc 17 installed in order to give it a try. |
Yes |
ibm-clang comes in a directory called openxlC. I'm not yet 100% sure there is anything else. |
It's my understanding that |
Checking with Julian about 17, "macro(s) and options are not compatible anymore". There is an ongoing effort to get OpenJ9 working. |
The complaint has been upgraded to an error; see https://openj9-jenkins.osuosl.org/job/Build_JDKnext_ppc64_aix_OpenJDK/635 where the configure step fails:
A compiler that says "clang" in the version output is required. |
We could try removing the error to see if it works anyway. It may be some time before OpenJ9 is ready to build with Open XL 17. |
I started an internal build with 8327701: Remove the xlc toolchain reverted. It has gotten past the configuration issue. I'll create a pull request for that change if all goes well. |
Internally, it didn't go as smoothly as I had hoped: trying externally via ibmruntimes/openj9-openjdk-jdk#757. |
SHAs for the last acceptance build where AIX compiled using xlc 16. |
We need not delay use of OpenXL 17 until OpenJ9 and OMR can build with that compiler; jdknext can be configured using |
Should we be doing that rather than merging ibmruntimes/openj9-openjdk-jdk#757 ? |
To answer my own question, we don't have machines ready to support using Open XL 17. |
Even if we did have suitable machines, I wouldn't expect them to be updated immediately, so I suggest ibmruntimes/openj9-openjdk-jdk#757 be merged for now; we can revert those changes when we have Open XL 17 installed. |
The minimum was changed to 17.1.1.4 in ibmruntimes/openj9-openjdk-jdk@b0474fc. A warning is now generated at configuration time - see https://openj9-jenkins.osuosl.org/job/Build_JDKnext_ppc64_aix_OpenJDK/633:
The text was updated successfully, but these errors were encountered: