Skip to content
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

dev: add extra startup flag to fix breakage on Darwin/ARM64 machines #139797

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rickystewart
Copy link
Collaborator

@rickystewart rickystewart commented Jan 24, 2025

When cross-building, Java can crash on Darwin/ARM64 machines due to an error that looks like this:

A fatal error has been detected by the Java Runtime Environment:
SIGILL (0x4) at pc=0x0000ffffadf3fc1c, pid=39, tid=40

This was addressed in #139670, which adds a startup flag to disable the use of SVE. Unfortunately this broke the build on x86-64 machines (#139756). So now we must apply the flag conditionally only where relevant.

Closes: #139756

Epic: none
Release note: None

@rickystewart rickystewart requested review from rail and jlinder January 24, 2025 23:20
@rickystewart rickystewart requested a review from a team as a code owner January 24, 2025 23:20
Copy link

blathers-crl bot commented Jan 24, 2025

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

When cross-building, Java can crash on Darwin/ARM64 machines due to an
error that looks like this:

```
A fatal error has been detected by the Java Runtime Environment:
SIGILL (0x4) at pc=0x0000ffffadf3fc1c, pid=39, tid=40
```

This was addressed in cockroachdb#139670, which adds a startup flag to disable the
use of SVE. Unfortunately this broke the build on x86-64 machines
(cockroachdb#139756). So now we must apply the flag conditionally only where
relevant.

Closes: cockroachdb#139756

Epic: none
Release note: None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dev build --cross broken on x86-64 Linux machines
3 participants