You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just bootstrapped rust 1.66.0 for aarch64-unknown-linux-musl and I am getting a similar issue as this one #201 when compiling a program. Missing symbols issue. I tried RUSTFLAGS='-Ctarget-feature=-Clink-arg=-lgcc' cargo build --release, but that didn't seem to help.
= note: /mmc/lib/gcc/aarch64-tomatoware-linux-musl/12.2.0/../../../../aarch64-tomatoware-linux-musl/bin/ld: /mmc/lib/rustlib/aarch64-unknown-linux-musl/lib/self-contained/libc.a(vfprintf.lo): in function `pop_arg':
vfprintf.c:(.text.pop_arg+0x120): undefined reference to `__extenddftf2'
/mmc/lib/gcc/aarch64-tomatoware-linux-musl/12.2.0/../../../../aarch64-tomatoware-linux-musl/bin/ld: /mmc/lib/rustlib/aarch64-unknown-linux-musl/lib/self-contained/libc.a(vfprintf.lo): in function `fmt_fp':
vfprintf.c:(.text.fmt_fp+0x94): undefined reference to `__addtf3'
/mmc/lib/gcc/aarch64-tomatoware-linux-musl/12.2.0/../../../../aarch64-tomatoware-linux-musl/bin/ld: vfprintf.c:(.text.fmt_fp+0xa0): undefined reference to `__netf2'
/mmc/lib/gcc/aarch64-tomatoware-linux-musl/12.2.0/../../../../aarch64-tomatoware-linux-musl/bin/ld: vfprintf.c:(.text.fmt_fp+0xcc): undefined reference to `__netf2'
/mmc/lib/gcc/aarch64-tomatoware-linux-musl/12.2.0/../../../../aarch64-tomatoware-linux-musl/bin/ld: vfprintf.c:(.text.fmt_fp+0xf4): undefined reference to `__fixunstfsi'
/mmc/lib/gcc/aarch64-tomatoware-linux-musl/12.2.0/../../../../aarch64-tomatoware-linux-musl/bin/ld: vfprintf.c:(.text.fmt_fp+0xfc): undefined reference to `__floatunsitf'
/mmc/lib/gcc/aarch64-tomatoware-linux-musl/12.2.0/../../../../aarch64-tomatoware-linux-musl/bin/ld: vfprintf.c:(.text.fmt_fp+0x108): undefined reference to `__subtf3'
/mmc/lib/gcc/aarch64-tomatoware-linux-musl/12.2.0/../../../../aarch64-tomatoware-linux-musl/bin/ld: vfprintf.c:(.text.fmt_fp+0x118): undefined reference to `__multf3'
/mmc/lib/gcc/aarch64-tomatoware-linux-musl/12.2.0/../../../../aarch64-tomatoware-linux-musl/bin/ld: vfprintf.c:(.text.fmt_fp+0x124): undefined reference to `__netf2'
/mmc/lib/gcc/aarch64-tomatoware-linux-musl/12.2.0/../../../../aarch64-tomatoware-linux-musl/bin/ld: vfprintf.c:(.text.fmt_fp+0x39c): undefined reference to `__netf2'
/mmc/lib/gcc/aarch64-tomatoware-linux-musl/12.2.0/../../../../aarch64-tomatoware-linux-musl/bin/ld: vfprintf.c:(.text.fmt_fp+0x4a4): undefined reference to `__multf3'
/mmc/lib/gcc/aarch64-tomatoware-linux-musl/12.2.0/../../../../aarch64-tomatoware-linux-musl/bin/ld: vfprintf.c:(.text.fmt_fp+0x4cc): undefined reference to `__addtf3'
/mmc/lib/gcc/aarch64-tomatoware-linux-musl/12.2.0/../../../../aarch64-tomatoware-linux-musl/bin/ld: vfprintf.c:(.text.fmt_fp+0x4d8): undefined reference to `__subtf3'
/mmc/lib/gcc/aarch64-tomatoware-linux-musl/12.2.0/../../../../aarch64-tomatoware-linux-musl/bin/ld: vfprintf.c:(.text.fmt_fp+0x58c): undefined reference to `__netf2'
/mmc/lib/gcc/aarch64-tomatoware-linux-musl/12.2.0/../../../../aarch64-tomatoware-linux-musl/bin/ld: vfprintf.c:(.text.fmt_fp+0x59c): undefined reference to `__fixtfsi'
/mmc/lib/gcc/aarch64-tomatoware-linux-musl/12.2.0/../../../../aarch64-tomatoware-linux-musl/bin/ld: vfprintf.c:(.text.fmt_fp+0x5ac): undefined reference to `__floatsitf'
/mmc/lib/gcc/aarch64-tomatoware-linux-musl/12.2.0/../../../../aarch64-tomatoware-linux-musl/bin/ld: vfprintf.c:(.text.fmt_fp+0x5b8): undefined reference to `__subtf3'
/mmc/lib/gcc/aarch64-tomatoware-linux-musl/12.2.0/../../../../aarch64-tomatoware-linux-musl/bin/ld: vfprintf.c:(.text.fmt_fp+0x5c8): undefined reference to `__multf3'
/mmc/lib/gcc/aarch64-tomatoware-linux-musl/12.2.0/../../../../aarch64-tomatoware-linux-musl/bin/ld: vfprintf.c:(.text.fmt_fp+0x5e0): undefined reference to `__netf2'
/mmc/lib/gcc/aarch64-tomatoware-linux-musl/12.2.0/../../../../aarch64-tomatoware-linux-musl/bin/ld: vfprintf.c:(.text.fmt_fp+0x730): undefined reference to `__netf2'
/mmc/lib/gcc/aarch64-tomatoware-linux-musl/12.2.0/../../../../aarch64-tomatoware-linux-musl/bin/ld: vfprintf.c:(.text.fmt_fp+0x834): undefined reference to `__multf3'
/mmc/lib/gcc/aarch64-tomatoware-linux-musl/12.2.0/../../../../aarch64-tomatoware-linux-musl/bin/ld: vfprintf.c:(.text.fmt_fp+0x8a8): undefined reference to `__addtf3'
/mmc/lib/gcc/aarch64-tomatoware-linux-musl/12.2.0/../../../../aarch64-tomatoware-linux-musl/bin/ld: vfprintf.c:(.text.fmt_fp+0x8b0): undefined reference to `__netf2'
/mmc/lib/gcc/aarch64-tomatoware-linux-musl/12.2.0/../../../../aarch64-tomatoware-linux-musl/bin/ld: vfprintf.c:(.text.fmt_fp+0x11e0): undefined reference to `__subtf3'
/mmc/lib/gcc/aarch64-tomatoware-linux-musl/12.2.0/../../../../aarch64-tomatoware-linux-musl/bin/ld: vfprintf.c:(.text.fmt_fp+0x11ec): undefined reference to `__addtf3'
/mmc/lib/gcc/aarch64-tomatoware-linux-musl/12.2.0/../../../../aarch64-tomatoware-linux-musl/bin/ld: /mmc/lib/rustlib/aarch64-unknown-linux-musl/lib/self-contained/libc.a(frexpl.lo): in function `frexpl.localalias':
frexpl.c:(.text.frexpl+0x6c): undefined reference to `__netf2'
/mmc/lib/gcc/aarch64-tomatoware-linux-musl/12.2.0/../../../../aarch64-tomatoware-linux-musl/bin/ld: frexpl.c:(.text.frexpl+0xa4): undefined reference to `__multf3'
collect2: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered:
I just bootstrapped rust 1.66.0 for aarch64-unknown-linux-musl and I am getting a similar issue as this one #201 when compiling a program. Missing symbols issue. I tried
RUSTFLAGS='-Ctarget-feature=-Clink-arg=-lgcc' cargo build --release
, but that didn't seem to help.The text was updated successfully, but these errors were encountered: