ponylang / ponyc

Pony is an open-source, actor-model, capabilities-secure, high performance programming language
http://www.ponylang.io
BSD 2-Clause "Simplified" License
5.73k stars 415 forks source link

Update musl builder to Alpine 3.19 #4513

Closed SeanTAllen closed 6 months ago

SeanTAllen commented 6 months ago

We appear to have a compilation error to look into

SeanTAllen commented 6 months ago

So the compilation is that our LLVM can't find lseek64.

jemc commented 6 months ago

Discussed in today's sync call.

We think the right next step is to try upgrading to the latest LLVM version (currently 17.0.1).

Alpine has gotten rid of their lseek64 shim which previously was just an alias for lseek, and now is no longer there. So we need a newer version of the LLVM source code which no longer uses lseek64, at least on alpine. It looks like the current main branch of LLVM is not using lseek64 anymore, so I suspect upgrading LLVM will solve this.

chalcolith commented 6 months ago

The latest LLVM release is 18.1.4: https://github.com/llvm/llvm-project/releases/tag/llvmorg-18.1.4

SeanTAllen commented 6 months ago

Closing for now