Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ time.

```kotlin
nucleusJvm {
graalvmMobileRelease = "graalvm-mobile-25.4.4.1.1b1.2" // mobile: graalvm-mobile's kit (default: latest)
graalvmMobileRelease = "graalvm-mobile-25.5.5.0.3b1.2" // mobile: graalvm-mobile's kit (default: latest)
graalvmRelease = "graal-25.5.5.0.3" // desktop: GraalVM CE's release (default: latest)
nativeImageOptions.add("-H:+ReportExceptionStackTraces")
}
Expand All @@ -136,7 +136,7 @@ nucleusJvm {
builds on Linux only (a CI runner, a Linux container). native-image also runs small C programs for the target: on a
Linux host of another architecture (arm64 images on x64), they run through qemu-user (`qemu-user-static` with binfmt).
The kit's Linux libraries are built against glibc: its `libglibc_compat.a` adapts them to bionic, including the
resolver's `struct addrinfo` (in kits released after `b1.2`: with earlier ones, `InetAddress` lookups crash).
resolver's `struct addrinfo` (from `graalvm-mobile-25.5.5.0.3b1.2`: with earlier kits, `InetAddress` lookups crash).
- **Virtual threads**: `StackValue` throws on a virtual thread. In code virtual threads may run, pass native memory
through `UnmanagedMemory` or pinned arrays.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ abstract class NjaAndroidLinkTask : DefaultTask() {

/**
* The symbols the kit's link wraps (`-Wl,--wrap=<name>`, from its `link.flags`): glibc's calls its glibc_compat
* translates for bionic (the resolver's struct addrinfo). Kits without them (up to b1.2) wrap nothing.
* translates for bionic (the resolver's struct addrinfo). Kits without them (before graalvm-mobile-25.5.5.0.3b1.2) wrap nothing.
*/
private fun kitWraps(kit: File): List<String> {
val file = kit.resolve(NjaGraalvmTask.KIT_PROPERTIES)
Expand Down
Loading