mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 06:52:13 +00:00
AArch64: missing symbols on target aarch64-unknown-linux-musl
The __addtf3, __subtf3 and __multf3 symbols are used by aarch64-musl, but are not provided by rust compiler-builtins. For now, the only temporary but functional workaround accepted by rust communities is to get them from libgcc. Fixes: #107 Signed-off-by: Penny Zheng <penny.zheng@arm.com>
This commit is contained in:
parent
9621a7f3f5
commit
44b2caa2e5
11
src/agent/.cargo/config
Normal file
11
src/agent/.cargo/config
Normal file
@ -0,0 +1,11 @@
|
||||
## Copyright (c) 2020 ARM Limited
|
||||
##
|
||||
## SPDX-License-Identifier: Apache-2.0
|
||||
##
|
||||
|
||||
[target.aarch64-unknown-linux-musl]
|
||||
## The __addtf3, __subtf3 and __multf3 symbols are used by aarch64-musl,
|
||||
## but are not provided by rust compiler-builtins.
|
||||
## For now, the only functional workaround accepted by rust communities
|
||||
## is to get them from libgcc.
|
||||
rustflags = [ "-C", "link-arg=-lgcc" ]
|
Loading…
Reference in New Issue
Block a user