Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mips-*-musl #1422

Open
Emilgardis opened this issue Jan 31, 2024 · 2 comments
Open

Fix mips-*-musl #1422

Emilgardis opened this issue Jan 31, 2024 · 2 comments
Labels
A-mips Area: MIPS targets A-musl Area: musl libc targets bug
Milestone

Comments

@Emilgardis
Copy link
Member

Emilgardis commented Jan 31, 2024

CI fails for these targets:

mips64el-unknown-linux-muslabi64 - ❌

exec mips64el-linux-musl-gcc crt1.o crti.o crtbegin.o /tmp/rustcWRDVmX/symbols.o /target/mips64el-unknown-linux-muslabi64/debug/deps/hello-9951015e3f82b5a7.hello.b3bb7e71d8c8d382-cgu.0.rcgu.o /target/mips64el-unknown-linux-muslabi64/debug/deps/hello-9951015e3f82b5a7.54spkmtnocgytlde.rcgu.o -Wl,--as-needed -L /target/mips64el-unknown-linux-muslabi64/debug/deps -L /target/debug/deps -L /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/mips64el-unknown-linux-muslabi64/lib -Wl,-Bstatic /target/mips64el-unknown-linux-muslabi64/debug/deps/libstd-14219d0e3644bb3d.rlib /target/mips64el-unknown-linux-muslabi64/debug/deps/libpanic_unwind-c15a12b36f0b3d01.rlib /target/mips64el-unknown-linux-muslabi64/debug/deps/libobject-d6253bba08627dc0.rlib /target/mips64el-unknown-linux-muslabi64/debug/deps/libmemchr-2ac97d8f64da9950.rlib /target/mips64el-unknown-linux-muslabi64/debug/deps/libaddr2line-ab3f3ca2b29facfb.rlib /target/mips64el-unknown-linux-muslabi64/debug/deps/libgimli-b3f2715ddf3f85e3.rlib /target/mips64el-unknown-linux-muslabi64/debug/deps/librustc_demangle-1174179744c7fe33.rlib /target/mips64el-unknown-linux-muslabi64/debug/deps/libstd_detect-7c79703cd6718336.rlib /target/mips64el-unknown-linux-muslabi64/debug/deps/libhashbrown-ce26c093cd0b6c36.rlib /target/mips64el-unknown-linux-muslabi64/debug/deps/librustc_std_workspace_alloc-18aedba174c7a63b.rlib /target/mips64el-unknown-linux-muslabi64/debug/deps/libminiz_oxide-776725deb2cf65f3.rlib /target/mips64el-unknown-linux-muslabi64/debug/deps/libadler-e2c4aabfa06dab90.rlib /target/mips64el-unknown-linux-muslabi64/debug/deps/libunwind-59ec71453434f9eb.rlib -lunwind /target/mips64el-unknown-linux-muslabi64/debug/deps/libcfg_if-10793e10a50d3a60.rlib /target/mips64el-unknown-linux-muslabi64/debug/deps/liblibc-4e17723ff4a13566.rlib -lc /target/mips64el-unknown-linux-muslabi64/debug/deps/liballoc-7587d0a48e3aae7b.rlib /target/mips64el-unknown-linux-muslabi64/debug/deps/librustc_std_workspace_core-e6217533cec83c8f.rlib /target/mips64el-unknown-linux-muslabi64/debug/deps/libcore-b42b6bf8415ca342.rlib /target/mips64el-unknown-linux-muslabi64/debug/deps/libcompiler_builtins-bb3be302161570d5.rlib -Wl,-Bdynamic -Wl,--eh-frame-hdr -Wl,-z,noexecstack -nostartfiles -L /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/mips64el-unknown-linux-muslabi64/lib -L /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/mips64el-unknown-linux-muslabi64/lib/self-contained -o /target/mips64el-unknown-linux-muslabi64/debug/deps/hello-9951015e3f82b5a7 -Wl,--gc-sections -static -no-pie -Wl,-z,relro,-z,now -nodefaultlibs crtend.o crtn.o
          mips64el-linux-musl-gcc: error: crt1.o: No such file or directory
          mips64el-linux-musl-gcc: error: crti.o: No such file or directory
          mips64el-linux-musl-gcc: error: crtbegin.o: No such file or directory
          mips64el-linux-musl-gcc: error: crtend.o: No such file or directory
          mips64el-linux-musl-gcc: error: crtn.o: No such file or directory

mips64-unknown-linux-muslabi64 - ❌

exec mips64-linux-musl-gcc crt1.o crti.o crtbegin.o /tmp/rustcXq8uYI/symbols.o /target/mips64-unknown-linux-muslabi64/debug/deps/hello-b918b068652c9d91.hello.f92673209d05bdca-cgu.0.rcgu.o /target/mips64-unknown-linux-muslabi64/debug/deps/hello-b918b068652c9d91.1vrqv3ko6g1on84r.rcgu.o -Wl,--as-needed -L /target/mips64-unknown-linux-muslabi64/debug/deps -L /target/debug/deps -L /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/mips64-unknown-linux-muslabi64/lib -Wl,-Bstatic /target/mips64-unknown-linux-muslabi64/debug/deps/libstd-529ef83f5b3f3db7.rlib /target/mips64-unknown-linux-muslabi64/debug/deps/libpanic_unwind-2671ad413f9185a9.rlib /target/mips64-unknown-linux-muslabi64/debug/deps/libobject-34219b747d9e96f2.rlib /target/mips64-unknown-linux-muslabi64/debug/deps/libmemchr-b8a90955ed80de4c.rlib /target/mips64-unknown-linux-muslabi64/debug/deps/libaddr2line-9554f57a155f536d.rlib /target/mips64-unknown-linux-muslabi64/debug/deps/libgimli-e7387e25269abf47.rlib /target/mips64-unknown-linux-muslabi64/debug/deps/librustc_demangle-fce5be49c3b6519d.rlib /target/mips64-unknown-linux-muslabi64/debug/deps/libstd_detect-b47afea825639afe.rlib /target/mips64-unknown-linux-muslabi64/debug/deps/libhashbrown-01772765e58c90f3.rlib /target/mips64-unknown-linux-muslabi64/debug/deps/librustc_std_workspace_alloc-6d274a7ff4b60f44.rlib /target/mips64-unknown-linux-muslabi64/debug/deps/libminiz_oxide-8856c94d20903980.rlib /target/mips64-unknown-linux-muslabi64/debug/deps/libadler-60d6ef0e5acd1a81.rlib /target/mips64-unknown-linux-muslabi64/debug/deps/libunwind-7db51bdd8f8b606a.rlib -lunwind /target/mips64-unknown-linux-muslabi64/debug/deps/libcfg_if-355bd7603ef737fd.rlib /target/mips64-unknown-linux-muslabi64/debug/deps/liblibc-68f0059b243ac4f6.rlib -lc /target/mips64-unknown-linux-muslabi64/debug/deps/liballoc-0ddc07ba370b3764.rlib /target/mips64-unknown-linux-muslabi64/debug/deps/librustc_std_workspace_core-115450f57a6d633a.rlib /target/mips64-unknown-linux-muslabi64/debug/deps/libcore-55d11291351dd73f.rlib /target/mips64-unknown-linux-muslabi64/debug/deps/libcompiler_builtins-43c5ed4943b9a35d.rlib -Wl,-Bdynamic -Wl,--eh-frame-hdr -Wl,-z,noexecstack -nostartfiles -L /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/mips64-unknown-linux-muslabi64/lib -L /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/mips64-unknown-linux-muslabi64/lib/self-contained -o /target/mips64-unknown-linux-muslabi64/debug/deps/hello-b918b068652c9d91 -Wl,--gc-sections -static -no-pie -Wl,-z,relro,-z,now -nodefaultlibs crtend.o crtn.o
          mips64-linux-musl-gcc: error: crt1.o: No such file or directory
          mips64-linux-musl-gcc: error: crti.o: No such file or directory
          mips64-linux-musl-gcc: error: crtbegin.o: No such file or directory
          mips64-linux-musl-gcc: error: crtend.o: No such file or directory
          mips64-linux-musl-gcc: error: crtn.o: No such file or directory

mipsel-unknown-linux-musl - ❌

error: linking with `mipsel-linux-muslsf-gcc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin" VSLANG="1033" "mipsel-linux-muslsf-gcc" "/tmp/rustcUAEykg/symbols.o" "/target/mipsel-unknown-linux-musl/debug/deps/hellopp-ec60be56b41baccc.hellopp.e0b29af4b5ca5a78-cgu.0.rcgu.o" "/target/mipsel-unknown-linux-musl/debug/deps/hellopp-ec60be56b41baccc.3imogkdasi6ca766.rcgu.o" "-Wl,--as-needed" "-L" "/target/mipsel-unknown-linux-musl/debug/deps" "-L" "/target/debug/deps" "-L" "/target/mipsel-unknown-linux-musl/debug/build/hellopp-88eef1f33c0a344e/out" "-L" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/mipsel-unknown-linux-musl/lib" "-Wl,-Bstatic" "-lhellopp" "-Wl,-Bdynamic" "-lstdc++" "-Wl,-Bstatic" "/target/mipsel-unknown-linux-musl/debug/deps/libstd-6609cd498fb2503b.rlib" "/target/mipsel-unknown-linux-musl/debug/deps/libpanic_unwind-24b5e92aa783f439.rlib" "/target/mipsel-unknown-linux-musl/debug/deps/libobject-6284a56305d7eefa.rlib" "/target/mipsel-unknown-linux-musl/debug/deps/libmemchr-20f5811822d004e7.rlib" "/target/mipsel-unknown-linux-musl/debug/deps/libaddr2line-9269ab9132da8348.rlib" "/target/mipsel-unknown-linux-musl/debug/deps/libgimli-6ba72a31507f2f1b.rlib" "/target/mipsel-unknown-linux-musl/debug/deps/librustc_demangle-3b5c88c6d7104f5e.rlib" "/target/mipsel-unknown-linux-musl/debug/deps/libstd_detect-d3b34e072d70a5de.rlib" "/target/mipsel-unknown-linux-musl/debug/deps/libhashbrown-06e7f318b75daa20.rlib" "/target/mipsel-unknown-linux-musl/debug/deps/librustc_std_workspace_alloc-ad73926b45de9486.rlib" "/target/mipsel-unknown-linux-musl/debug/deps/libminiz_oxide-8eac656f4f456d53.rlib" "/target/mipsel-unknown-linux-musl/debug/deps/libadler-7011a50a71b4350a.rlib" "/target/mipsel-unknown-linux-musl/debug/deps/libunwind-3f0dfd23f32991f2.rlib" "/target/mipsel-unknown-linux-musl/debug/deps/libcfg_if-734399cfb47f42b9.rlib" "/target/mipsel-unknown-linux-musl/debug/deps/liblibc-0532e1dc27000535.rlib" "/target/mipsel-unknown-linux-musl/debug/deps/liballoc-e4ceb06485ec1baf.rlib" "/target/mipsel-unknown-linux-musl/debug/deps/librustc_std_workspace_core-9f64e54fc9f1d6ac.rlib" "/target/mipsel-unknown-linux-musl/debug/deps/libcore-98555167ec7447ed.rlib" "/target/mipsel-unknown-linux-musl/debug/deps/libcompiler_builtins-a70554ae69f78b94.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/mipsel-unknown-linux-musl/lib" "-o" "/target/mipsel-unknown-linux-musl/debug/deps/hellopp-ec60be56b41baccc" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
  = note: /usr/local/bin/../lib/gcc/mipsel-linux-muslsf/9.2.0/../../../../mipsel-linux-muslsf/bin/ld: /target/mipsel-unknown-linux-musl/debug/deps/libcompiler_builtins-a70554ae69f78b94.rlib(compiler_builtins-a70554ae69f78b94.compiler_builtins.644ddfd1362e41e3-cgu.1.rcgu.o): in function `__eqsf2':
          /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.105/src/macros.rs:499: multiple definition of `__eqsf2'; /usr/local/bin/../lib/gcc/mipsel-linux-muslsf/9.2.0/libgcc.a(eqsf2.o):/tmp/tmp.spDtYSytrJ/build/local/mipsel-linux-muslsf/obj_gcc/mipsel-linux-muslsf/libgcc/../../../src_gcc/libgcc/soft-fp/eqsf2.c:43: first defined here
          /usr/local/bin/../lib/gcc/mipsel-linux-muslsf/9.2.0/../../../../mipsel-linux-muslsf/bin/ld: /target/mipsel-unknown-linux-musl/debug/deps/libcompiler_builtins-a70554ae69f78b94.rlib(compiler_builtins-a70554ae69f78b94.compiler_builtins.644ddfd1362e41e3-cgu.1.rcgu.o): in function `__nesf2':
          /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.105/src/macros.rs:499: multiple definition of `__nesf2'; /usr/local/bin/../lib/gcc/mipsel-linux-muslsf/9.2.0/libgcc.a(eqsf2.o):/tmp/tmp.spDtYSytrJ/build/local/mipsel-linux-muslsf/obj_gcc/mipsel-linux-muslsf/libgcc/../../../src_gcc/libgcc/soft-fp/eqsf2.c:43: first defined here
          /usr/local/bin/../lib/gcc/mipsel-linux-muslsf/9.2.0/../../../../mipsel-linux-muslsf/bin/ld: /target/mipsel-unknown-linux-musl/debug/deps/libcompiler_builtins-a70554ae69f78b94.rlib(compiler_builtins-a70554ae69f78b94.compiler_builtins.644ddfd1362e41e3-cgu.1.rcgu.o): in function `__eqdf2':
          /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.105/src/macros.rs:499: multiple definition of `__eqdf2'; /usr/local/bin/../lib/gcc/mipsel-linux-muslsf/9.2.0/libgcc.a(eqdf2.o):/tmp/tmp.spDtYSytrJ/build/local/mipsel-linux-muslsf/obj_gcc/mipsel-linux-muslsf/libgcc/../../../src_gcc/libgcc/soft-fp/eqdf2.c:43: first defined here
          /usr/local/bin/../lib/gcc/mipsel-linux-muslsf/9.2.0/../../../../mipsel-linux-muslsf/bin/ld: /target/mipsel-unknown-linux-musl/debug/deps/libcompiler_builtins-a70554ae69f78b94.rlib(compiler_builtins-a70554ae69f78b94.compiler_builtins.644ddfd1362e41e3-cgu.1.rcgu.o): in function `__nedf2':
          /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.105/src/macros.rs:499: multiple definition of `__nedf2'; /usr/local/bin/../lib/gcc/mipsel-linux-muslsf/9.2.0/libgcc.a(eqdf2.o):/tmp/tmp.spDtYSytrJ/build/local/mipsel-linux-muslsf/obj_gcc/mipsel-linux-muslsf/libgcc/../../../src_gcc/libgcc/soft-fp/eqdf2.c:43: first defined here
          /usr/local/bin/../lib/gcc/mipsel-linux-muslsf/9.2.0/../../../../mipsel-linux-muslsf/bin/ld: /target/mipsel-unknown-linux-musl/debug/deps/libcompiler_builtins-a70554ae69f78b94.rlib(compiler_builtins-a70554ae69f78b94.compiler_builtins.644ddfd1362e41e3-cgu.1.rcgu.o): in function `<u32 as core::ops::bit::BitAnd>::bitand':
          /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/bit.rs:171: multiple definition of `__extendsfdf2'; /usr/local/bin/../lib/gcc/mipsel-linux-muslsf/9.2.0/libgcc.a(extendsfdf2.o):/tmp/tmp.spDtYSytrJ/build/local/mipsel-linux-muslsf/obj_gcc/mipsel-linux-muslsf/libgcc/../../../src_gcc/libgcc/soft-fp/extendsfdf2.c:45: first defined here
          /usr/local/bin/../lib/gcc/mipsel-linux-muslsf/9.2.0/../../../../mipsel-linux-muslsf/bin/ld: /target/mipsel-unknown-linux-musl/debug/deps/libcompiler_builtins-a70554ae69f78b94.rlib(compiler_builtins-a70554ae69f78b94.compiler_builtins.644ddfd1362e41e3-cgu.1.rcgu.o): in function `__divdi3':
          /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.105/src/macros.rs:499: multiple definition of `__divdi3'; /usr/local/bin/../lib/gcc/mipsel-linux-muslsf/9.2.0/libgcc.a(_divdi3.o):/tmp/tmp.spDtYSytrJ/build/local/mipsel-linux-muslsf/obj_gcc/mipsel-linux-muslsf/libgcc/../../../src_gcc/libgcc/libgcc2.c:1238: first defined here
          /usr/local/bin/../lib/gcc/mipsel-linux-muslsf/9.2.0/../../../../mipsel-linux-muslsf/bin/ld: /target/mipsel-unknown-linux-musl/debug/deps/libcompiler_builtins-a70554ae69f78b94.rlib(compiler_builtins-a70554ae69f78b94.compiler_builtins.644ddfd1362e41e3-cgu.1.rcgu.o): in function `__udivdi3':
          /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.105/src/macros.rs:499: multiple definition of `__udivdi3'; /usr/local/bin/../lib/gcc/mipsel-linux-muslsf/9.2.0/libgcc.a(_udivdi3.o):/tmp/tmp.spDtYSytrJ/build/local/mipsel-linux-muslsf/obj_gcc/mipsel-linux-muslsf/libgcc/../../../src_gcc/libgcc/libgcc2.c:1024: first defined here
          /usr/local/bin/../lib/gcc/mipsel-linux-muslsf/9.2.0/../../../../mipsel-linux-muslsf/bin/ld: /target/mipsel-unknown-linux-musl/debug/deps/libcompiler_builtins-a70554ae69f78b94.rlib(compiler_builtins-a70554ae69f78b94.compiler_builtins.644ddfd1362e41e3-cgu.1.rcgu.o): in function `__umoddi3':
          /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.105/src/macros.rs:499: multiple definition of `__umoddi3'; /usr/local/bin/../lib/gcc/mipsel-linux-muslsf/9.2.0/libgcc.a(_umoddi3.o):/tmp/tmp.spDtYSytrJ/build/local/mipsel-linux-muslsf/obj_gcc/mipsel-linux-muslsf/libgcc/../../../src_gcc/libgcc/libgcc2.c:1024: first defined here
          collect2: error: ld returned 1 exit status

mips-unknown-linux-musl - ❌

error: linking with `mips-linux-muslsf-gcc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin" VSLANG="1033" "mips-linux-muslsf-gcc" "/tmp/rustcP5r8AU/symbols.o" "/target/mips-unknown-linux-musl/debug/deps/hellopp-d72082fe0442110a.hellopp.4828df5b9e3a493e-cgu.0.rcgu.o" "/target/mips-unknown-linux-musl/debug/deps/hellopp-d72082fe0442110a.1yu43z7llipvuvr7.rcgu.o" "-Wl,--as-needed" "-L" "/target/mips-unknown-linux-musl/debug/deps" "-L" "/target/debug/deps" "-L" "/target/mips-unknown-linux-musl/debug/build/hellopp-fcda5d82b29ed942/out" "-L" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/mips-unknown-linux-musl/lib" "-Wl,-Bstatic" "-lhellopp" "-Wl,-Bdynamic" "-lstdc++" "-Wl,-Bstatic" "/target/mips-unknown-linux-musl/debug/deps/libstd-112f82aae242e820.rlib" "/target/mips-unknown-linux-musl/debug/deps/libpanic_unwind-1f78a4ddb97331a5.rlib" "/target/mips-unknown-linux-musl/debug/deps/libobject-cccbbf74e158da41.rlib" "/target/mips-unknown-linux-musl/debug/deps/libmemchr-e505b06bd1568a6e.rlib" "/target/mips-unknown-linux-musl/debug/deps/libaddr2line-1a3510a511415db8.rlib" "/target/mips-unknown-linux-musl/debug/deps/libgimli-ae132ab35bcf32e5.rlib" "/target/mips-unknown-linux-musl/debug/deps/librustc_demangle-40c0f959e0b91fdc.rlib" "/target/mips-unknown-linux-musl/debug/deps/libstd_detect-769bd82072f0385d.rlib" "/target/mips-unknown-linux-musl/debug/deps/libhashbrown-26e7347aa5faafd2.rlib" "/target/mips-unknown-linux-musl/debug/deps/librustc_std_workspace_alloc-0b7cfba80a85cec9.rlib" "/target/mips-unknown-linux-musl/debug/deps/libminiz_oxide-f750d18403e9270f.rlib" "/target/mips-unknown-linux-musl/debug/deps/libadler-89aa226b98b4ef4d.rlib" "/target/mips-unknown-linux-musl/debug/deps/libunwind-cabc6c4ac60b6233.rlib" "/target/mips-unknown-linux-musl/debug/deps/libcfg_if-eaec493a7308a0e7.rlib" "/target/mips-unknown-linux-musl/debug/deps/liblibc-63e300dd981e9133.rlib" "/target/mips-unknown-linux-musl/debug/deps/liballoc-f7261a718e6f1786.rlib" "/target/mips-unknown-linux-musl/debug/deps/librustc_std_workspace_core-ed65f80a43146307.rlib" "/target/mips-unknown-linux-musl/debug/deps/libcore-977d75ab23a8eda1.rlib" "/target/mips-unknown-linux-musl/debug/deps/libcompiler_builtins-0c2a05fc0d3e4d16.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/mips-unknown-linux-musl/lib" "-o" "/target/mips-unknown-linux-musl/debug/deps/hellopp-d72082fe0442110a" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
  = note: /usr/local/bin/../lib/gcc/mips-linux-muslsf/9.2.0/../../../../mips-linux-muslsf/bin/ld: /target/mips-unknown-linux-musl/debug/deps/libcompiler_builtins-0c2a05fc0d3e4d16.rlib(compiler_builtins-0c2a05fc0d3e4d16.compiler_builtins.d9eaef69fad21739-cgu.1.rcgu.o): in function `__eqsf2':
          /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.105/src/macros.rs:499: multiple definition of `__eqsf2'; /usr/local/bin/../lib/gcc/mips-linux-muslsf/9.2.0/libgcc.a(eqsf2.o):/tmp/tmp.qESl9hilC4/build/local/mips-linux-muslsf/obj_gcc/mips-linux-muslsf/libgcc/../../../src_gcc/libgcc/soft-fp/eqsf2.c:43: first defined here
          /usr/local/bin/../lib/gcc/mips-linux-muslsf/9.2.0/../../../../mips-linux-muslsf/bin/ld: /target/mips-unknown-linux-musl/debug/deps/libcompiler_builtins-0c2a05fc0d3e4d16.rlib(compiler_builtins-0c2a05fc0d3e4d16.compiler_builtins.d9eaef69fad21739-cgu.1.rcgu.o): in function `__nesf2':
          /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.105/src/macros.rs:499: multiple definition of `__nesf2'; /usr/local/bin/../lib/gcc/mips-linux-muslsf/9.2.0/libgcc.a(eqsf2.o):/tmp/tmp.qESl9hilC4/build/local/mips-linux-muslsf/obj_gcc/mips-linux-muslsf/libgcc/../../../src_gcc/libgcc/soft-fp/eqsf2.c:43: first defined here
          /usr/local/bin/../lib/gcc/mips-linux-muslsf/9.2.0/../../../../mips-linux-muslsf/bin/ld: /target/mips-unknown-linux-musl/debug/deps/libcompiler_builtins-0c2a05fc0d3e4d16.rlib(compiler_builtins-0c2a05fc0d3e4d16.compiler_builtins.d9eaef69fad21739-cgu.1.rcgu.o): in function `__eqdf2':
          /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.105/src/macros.rs:499: multiple definition of `__eqdf2'; /usr/local/bin/../lib/gcc/mips-linux-muslsf/9.2.0/libgcc.a(eqdf2.o):/tmp/tmp.qESl9hilC4/build/local/mips-linux-muslsf/obj_gcc/mips-linux-muslsf/libgcc/../../../src_gcc/libgcc/soft-fp/eqdf2.c:43: first defined here
          /usr/local/bin/../lib/gcc/mips-linux-muslsf/9.2.0/../../../../mips-linux-muslsf/bin/ld: /target/mips-unknown-linux-musl/debug/deps/libcompiler_builtins-0c2a05fc0d3e4d16.rlib(compiler_builtins-0c2a05fc0d3e4d16.compiler_builtins.d9eaef69fad21739-cgu.1.rcgu.o): in function `__nedf2':
          /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.105/src/macros.rs:499: multiple definition of `__nedf2'; /usr/local/bin/../lib/gcc/mips-linux-muslsf/9.2.0/libgcc.a(eqdf2.o):/tmp/tmp.qESl9hilC4/build/local/mips-linux-muslsf/obj_gcc/mips-linux-muslsf/libgcc/../../../src_gcc/libgcc/soft-fp/eqdf2.c:43: first defined here
          /usr/local/bin/../lib/gcc/mips-linux-muslsf/9.2.0/../../../../mips-linux-muslsf/bin/ld: /target/mips-unknown-linux-musl/debug/deps/libcompiler_builtins-0c2a05fc0d3e4d16.rlib(compiler_builtins-0c2a05fc0d3e4d16.compiler_builtins.d9eaef69fad21739-cgu.1.rcgu.o): in function `<u32 as core::ops::bit::BitAnd>::bitand':
          /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/bit.rs:171: multiple definition of `__extendsfdf2'; /usr/local/bin/../lib/gcc/mips-linux-muslsf/9.2.0/libgcc.a(extendsfdf2.o):/tmp/tmp.qESl9hilC4/build/local/mips-linux-muslsf/obj_gcc/mips-linux-muslsf/libgcc/../../../src_gcc/libgcc/soft-fp/extendsfdf2.c:45: first defined here
          /usr/local/bin/../lib/gcc/mips-linux-muslsf/9.2.0/../../../../mips-linux-muslsf/bin/ld: /target/mips-unknown-linux-musl/debug/deps/libcompiler_builtins-0c2a05fc0d3e4d16.rlib(compiler_builtins-0c2a05fc0d3e4d16.compiler_builtins.d9eaef69fad21739-cgu.1.rcgu.o): in function `__divdi3':
          /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.105/src/macros.rs:499: multiple definition of `__divdi3'; /usr/local/bin/../lib/gcc/mips-linux-muslsf/9.2.0/libgcc.a(_divdi3.o):/tmp/tmp.qESl9hilC4/build/local/mips-linux-muslsf/obj_gcc/mips-linux-muslsf/libgcc/../../../src_gcc/libgcc/libgcc2.c:1238: first defined here
          /usr/local/bin/../lib/gcc/mips-linux-muslsf/9.2.0/../../../../mips-linux-muslsf/bin/ld: /target/mips-unknown-linux-musl/debug/deps/libcompiler_builtins-0c2a05fc0d3e4d16.rlib(compiler_builtins-0c2a05fc0d3e4d16.compiler_builtins.d9eaef69fad21739-cgu.1.rcgu.o): in function `__udivdi3':
          /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.105/src/macros.rs:499: multiple definition of `__udivdi3'; /usr/local/bin/../lib/gcc/mips-linux-muslsf/9.2.0/libgcc.a(_udivdi3.o):/tmp/tmp.qESl9hilC4/build/local/mips-linux-muslsf/obj_gcc/mips-linux-muslsf/libgcc/../../../src_gcc/libgcc/libgcc2.c:1026: first defined here
          /usr/local/bin/../lib/gcc/mips-linux-muslsf/9.2.0/../../../../mips-linux-muslsf/bin/ld: /target/mips-unknown-linux-musl/debug/deps/libcompiler_builtins-0c2a05fc0d3e4d16.rlib(compiler_builtins-0c2a05fc0d3e4d16.compiler_builtins.d9eaef69fad21739-cgu.1.rcgu.o): in function `__umoddi3':
          /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.105/src/macros.rs:499: multiple definition of `__umoddi3'; /usr/local/bin/../lib/gcc/mips-linux-muslsf/9.2.0/libgcc.a(_umoddi3.o):/tmp/tmp.qESl9hilC4/build/local/mips-linux-muslsf/obj_gcc/mips-linux-muslsf/libgcc/../../../src_gcc/libgcc/libgcc2.c:1026: first defined here
          collect2: error: ld returned 1 exit status
@Emilgardis Emilgardis added A-musl Area: musl libc targets A-mips Area: MIPS targets labels Jan 31, 2024
@Emilgardis Emilgardis added this to the v0.3.0 milestone Jan 31, 2024
@Emilgardis Emilgardis added the bug label Jan 31, 2024
@Emilgardis
Copy link
Member Author

could all of these be moved to cross-toolchains?

github-merge-queue bot pushed a commit that referenced this issue Feb 6, 2024
@guenhter
Copy link

Any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-mips Area: MIPS targets A-musl Area: musl libc targets bug
Projects
None yet
Development

No branches or pull requests

2 participants