graalvm

borkdude 2023-10-30T12:47:10.814199Z

21.0.1 released https://twitter.com/graalvm/status/1718969498441502965

👍 3
🎉 4
ericdallo 2023-10-30T02:00:58.511109Z

After changing to Oracle graalvm 21, only the linux amd64 non static builds started to fail with a few different messages, anyone faced that?

borkdude 2023-10-30T08:00:01.935879Z

Try compatibility mode

borkdude 2023-10-30T12:14:10.447149Z

I see. why not windows?

borkdude 2023-10-30T12:14:34.318319Z

btw I went with the static binaries only for babashka

borkdude 2023-10-30T12:14:49.388739Z

at least, by default

borkdude 2023-10-30T12:15:19.432819Z

hm, but the non-static one is still available and works

ericdallo 2023-10-30T12:15:43.443499Z

when adding that flag for windows it says that doesn't exists, there is a chance the graal setup for windows is not 100% using oracle graal 21 😅 need to check that

ericdallo 2023-10-30T12:16:02.414509Z

yeah, the static works perfect

borkdude 2023-10-30T12:16:09.789969Z

"Caused by: java.io.IOException: Cannot run program "/tmp/SVM-18326105540205857304/AArch64LibCHelperDirectives" (in directory "/tmp/SVM-18326105540205857304"): error=2, No such file or directory" A problem of this is usually when a dynamical library is not available in the environment. It's best to just figure out which lib this is

borkdude 2023-10-30T12:16:41.701939Z

Oh: Cannot run program "/tmp/SVM-18326105540205857304/AArch64LibCHelperDirectives, hmm

ericdallo 2023-10-30T12:16:44.957699Z

yeah, I doubled check build-essential + zlib are installed, but dunno what else to check

borkdude 2023-10-30T12:16:51.357069Z

wait, this is aarch64, not amd64

ericdallo 2023-10-30T12:17:04.589689Z

yeah i saw that, but it's not consistent, sometimes prints about Amd64 facepalm

borkdude 2023-10-30T12:17:06.492039Z

are you sure you downloaded the right version of graalvm for that build env?

borkdude 2023-10-30T12:17:28.135829Z

oh well, better bug the graalvm community slack's native-image channel about this and file an issue

ericdallo 2023-10-30T12:18:09.011959Z

yeah, thanks, I was about to do a release and not this is blocking me

borkdude 2023-10-30T12:18:39.395459Z

"not is blocking me"?

ericdallo 2023-10-30T12:19:44.271119Z

and this is blocking me*

ericdallo 2023-10-30T12:20:19.683039Z

maybe not apply the pgo only for ubuntu non static maybe? as the static is the default already

borkdude 2023-10-30T12:20:33.340699Z

I disabled PGO again for bb

ericdallo 2023-10-30T12:20:57.791779Z

yeah, I confess I'm a little bit afraid I release and people complain is not working

ericdallo 2023-10-30T13:05:02.176369Z

I think I found it, I left a musl: true flag for the non static facepalm

borkdude 2023-10-30T13:07:12.951569Z

ah

ericdallo 2023-10-30T13:07:34.114769Z

sorry for the bother!

borkdude 2023-10-30T13:09:07.274609Z

no problem!

ericdallo 2023-10-30T02:01:03.223989Z

Exception:

Caused by: java.io.IOException: Cannot run program "/tmp/SVM-18326105540205857304/AArch64LibCHelperDirectives" (in directory "/tmp/SVM-18326105540205857304"): error=2, No such file or directory
https://github.com/clojure-lsp/clojure-lsp/actions/runs/6686986647/job/18167092791 I'm trying to fix on this https://github.com/clojure-lsp/clojure-lsp/pull/1714 with no success

ericdallo 2023-10-30T02:01:53.534879Z

Already tried lots of things like installing build-essentials and zlib1g

ericdallo 2023-10-30T02:02:47.762049Z

Building on my nixos works, but is quite different than ubuntu, I also confirmed the github ubuntu 20.04 is using the glibc 2.31 already