Search Criteria
Package Details: xwin 0.6.5-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/xwin.git (read-only, click to copy) |
---|---|
Package Base: | xwin |
Description: | Allows downloading and repacking the MSVC CRT and Windows SDK for cross compilation |
Upstream URL: | https://crates.io/crates/xwin |
Licenses: | MIT, Apache |
Submitter: | andrewkoz |
Maintainer: | andrewkoz |
Last Packager: | andrewkoz |
Votes: | 1 |
Popularity: | 0.000001 |
First Submitted: | 2022-06-11 03:21 (UTC) |
Last Updated: | 2024-08-27 22:14 (UTC) |
Dependencies (4)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- cargo (rustup-gitAUR, rust-nightly-binAUR, rust-gitAUR, rust-beta-binAUR, rustup-stubAUR, rust, rustup) (make)
- clang (llvm-rocm-gitAUR, llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR) (make)
- lld (llvm-rocm-gitAUR, llvm-gitAUR) (make)
Latest Comments
andrewkoz commented on 2023-09-27 06:31 (UTC) (edited on 2023-09-27 06:47 (UTC) by andrewkoz)
As per @Xevnar building does indeed fail if LTO is enabled as the environment defaults to BFD for linking and GCC for the C objects (which don't play nicely with Rust LTO on final linking due to undefined symbol errors).
Rather than disabling LTO I've switched CC to Clang and linker to LLD which allows the build to succeed even with LTO enabled.
Xevnar commented on 2023-04-10 21:20 (UTC) (edited on 2023-04-10 21:22 (UTC) by Xevnar)
Using aurutils to build this package in a chroot and I have been running into linkage errors when building. Consider adding
options=('!lto')
to thePKGBUILD
. Adding that fixed my issue.See Cannot build on x86_64 (Arch Linux) when LTO is enabled and RFC: LTO by Default
Here is the build log: