Search Criteria
Package Details: musl-aarch64 1.2.3-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/musl.git (read-only, click to copy) |
---|---|
Package Base: | musl |
Description: | Lightweight implementation of C standard library |
Upstream URL: | https://musl.libc.org |
Licenses: | MIT |
Submitter: | felixsinger |
Maintainer: | felixsinger |
Last Packager: | felixsinger |
Votes: | 1 |
Popularity: | 0.188977 |
First Submitted: | 2022-12-30 11:47 (UTC) |
Last Updated: | 2022-12-30 11:47 (UTC) |
Latest Comments
felixsinger commented on 2023-01-21 01:52 (UTC) (edited on 2023-01-21 01:55 (UTC) by felixsinger)
@FabioLolix
Sorry for replying late. I'm using one PKGBUILD to build and package for multiple architectures. The steps are mostly the same for all.
Looking at your build log, the x86_64 build runs fine, but it fails at aarch64. I assume you don't have the cross toolchain installed. Depending on what you need, you can remove the other architectures from the variable "_targets" in the PKGBUILD file.
They are similar, yes. I needed other architectures (ARM64 and RISC-V) and so I thought I can just add x86_64 as well. Doesn't hurt. It's just one PKGBUILD file anyway. Also, the package from the official repo puts all files (like scripts and libraries) in the usual directories as everything else. I don't like that, since this is a different libc and it's not related in any way with an usual Arch installation. So I want it to be separated from the Arch installation and that's why I put it in
/usr/<arch>-linux-musl
, as it's usual for cross compilation targets. This way both libc environments, glibc and musl-libc, can be differentiated.FabioLolix commented on 2022-12-30 14:18 (UTC)
https://gist.githubusercontent.com/FabioLolix/f70fff48bfd293d2cd381ee43028cca8/raw/242ca76260749a9ef1b2efc453a4bfc8010f3448/musl-1.2.3-1-x86_64.txt
Using makepkg or devtools (
extra-x86_64-build
) is the samebtw what is the purpose of musl-x86_64 which is already in the official repo?
felixsinger commented on 2022-12-30 13:01 (UTC)
@FabioLolix: Please provide a full log, including the command which was used for the build. I tested building the package with a fresh Docker container and it worked there.
FabioLolix commented on 2022-12-30 12:24 (UTC)
Fails to build
I have base-devel installed