-
Notifications
You must be signed in to change notification settings - Fork 737
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
Local build failing with XCode 14.0.3 and above #17493
Comments
This is a compilation error between zlib and the latest version of Clang in XCode 14.0.3 and up madler/zlib#633 |
Adding |
Sharing for others with a mac: bash configure --with-extra-cflags='-Wno-deprecated-non-prototype' [etc...] |
I'm getting some fixable compiler errors (see linked prs) for unused variables and a segmentation error as well to look into
|
Please try the following command line for building.
The Note that it takes much longer time in building than without the option. |
I used the toolchain of the following version on macOS Ventura, and the Java 11 build failed.
|
Thanks, I rebuilt today and I'm no longer seeing the crash, instead a different (maybe related?) NPE. Perhaps the crash was a configuration issue on my end. I'm also getting a DDR failure, which I've disabled with
I'm going to create a checklist of all these issues in the description so its easier to keep track of. |
I see a different DDR error in building Java 11 with
|
I opened Issue #17770 for my DDR error with |
Related eclipse-openj9#17493 Signed-off-by: Theresa Mammarella <Theresa.T.Mammarella@ibm.com>
Related eclipse-openj9#17493 Signed-off-by: Theresa Mammarella <Theresa.T.Mammarella@ibm.com>
After updated zlib the next error using Xcode 14.3.1 is with dwarf. @keithc-ca can you help with this?
|
Perhaps the output format of It would be helpful to compare that outputs for a small input (e.g. for |
Thanks! I'm actually not seeing I ran working version (Xcode 14.0.1): dwarfdump_libmanagement_ext_xcode_14.0.1.txt failing version (Xcode 14.3.1): dwarfdump_libmanagement_ext_xcode_14.3.1.txt |
Sorry, I forgot the "29" part of the name, the file of interest is |
I don't have that one either. In vm/runtime:
|
What configure options did you use? Are you building with UMA instead of cmake? |
Just ran it again to make sure and they are showing up now. Not sure what I did there to get the last result. dwarfdump_libj9ddr_misc29_xcode_14.3.1.txt |
I had a look at those files, but didn't see anything suspicious. In both files, all lines with I think we'll need to improve the diagnostics of |
@theresa-m Could you try building with https://github.com/keithc-ca/omr/tree/ddr_diag and share the log? Perhaps it will help us pinpoint the larger issue. |
Sorry for the delay, here is the output I got. |
Could you also share the output of |
From the output shared in #17493 (comment), I found that some elements have types that refer to elements with (currently unrecognized) tags @theresa-m Could you try building with https://github.com/keithc-ca/omr/tree/dwarf_tag? |
Here's the output, building with your other branch now. |
I'm getting past the dwarfdump error to a new one:
|
There should be more detail about this failure, either in |
They don't have more information in this case. |
The recent failure
passes when
|
eclipse-omr/omr#7148 has been merged and my "dwarf_tag" branch has been deleted. |
@jmesyou, may I ask you to do an initial triage of this? |
I can build both Java 11 and 17 with Further trials show there is a boundary between lastOptIndex=78 and 79.
|
|
This issue may be related to the macOS ABI change described in #18336 (comment). |
Just to make sure. |
@theresa-m Please try applying PR #18351. |
I am on 14.0 now, although was updated recently. Thanks! I'll try it out this morning. |
Thanks again @knn-k my build passes now with your pull request using XCode 14.3.1 Now to update to 15.0.1 and cross my fingers... |
building with Xcode 15.0.1 (the latest version) is working too. I will close this issue once #18351 is merged |
This issue has been resolved, OpenJ9 now builds with Xcode 15. |
OpenJ9 can be built with Xcode 15.0.1 once #18351 is merged
Workaround: downgrade to Xcode 14.0.1Here's what's been fixed so far:
There's no target date for this fix currentThis is fixed in zlib 1.2.14, issue is tracked Functions without prorotypes cause -Wstrict-prototypes warnings madler/zlib#633.The workaround is to addFixed by Update to zlib 1.3 to remove warnings from Clang in latest Xcode #18137 (comment)-Wno-deprecated-non-prototype
to cflags.The text was updated successfully, but these errors were encountered: