mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-04 06:04:29 +01: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:
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" ]
|
||||||
Reference in New Issue
Block a user