mingw-w64-gcc does not use sjlj anymore :)
Search Criteria
Package Details: mingw-w64-rust 1.85.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/mingw-w64-rust.git (read-only, click to copy) |
---|---|
Package Base: | mingw-w64-rust |
Description: | Systems programming language focused on safety, speed and concurrency (mingw-w64) |
Upstream URL: | https://www.rust-lang.org |
Keywords: | mingw-w64 rust |
Licenses: | Apache-2.0 OR MIT |
Submitter: | pingplug |
Maintainer: | pingplug |
Last Packager: | pingplug |
Votes: | 3 |
Popularity: | 0.000000 |
First Submitted: | 2018-02-13 16:00 (UTC) |
Last Updated: | 2025-02-26 07:02 (UTC) |
Dependencies (13)
- curl (curl-gitAUR, curl-c-aresAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- libgit2 (libgit2-gitAUR)
- mingw-w64-gcc (llvm-mingw-w64-toolchain-ucrt-binAUR, llvm-mingw-w64-toolchain-msvcrt-binAUR, llvm-mingwAUR)
- cmake (cmake-gitAUR, cmake3AUR) (make)
- gdb (gdb-gitAUR, gdb-debug-gitAUR) (make)
- libffi (libffi-gitAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- nodejs (nodejs-gitAUR, python-nodejs-wheelAUR, nodejs-lts-iron, nodejs-lts-jod) (make)
- perl (perl-gitAUR) (make)
- procps-ng (busybox-coreutilsAUR, procps-ng-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- mingw-w64-wineAUR (optional) – for cargo test support
Required by (3)
- mingw-w64-libdovi (make)
- mingw-w64-librsvg (make)
- mingw-w64-rav1e (make)
Sources (9)
- https://static.rust-lang.org/dist/2025-01-09/cargo-1.84.0-x86_64-unknown-linux-gnu.tar.xz
- https://static.rust-lang.org/dist/2025-01-09/cargo-1.84.0-x86_64-unknown-linux-gnu.tar.xz.asc
- https://static.rust-lang.org/dist/2025-01-09/rust-std-1.84.0-x86_64-unknown-linux-gnu.tar.xz
- https://static.rust-lang.org/dist/2025-01-09/rust-std-1.84.0-x86_64-unknown-linux-gnu.tar.xz.asc
- https://static.rust-lang.org/dist/2025-01-09/rustc-1.84.0-x86_64-unknown-linux-gnu.tar.xz
- https://static.rust-lang.org/dist/2025-01-09/rustc-1.84.0-x86_64-unknown-linux-gnu.tar.xz.asc
- https://static.rust-lang.org/dist/rustc-1.85.0-src.tar.xz
- https://static.rust-lang.org/dist/rustc-1.85.0-src.tar.xz.asc
- mingw-config.toml
xantares commented on 2020-05-14 14:17 (UTC)
pingplug commented on 2019-07-18 13:22 (UTC)
@marmistrz this is only for bootstrap, see my pinned comment
marmistrz commented on 2019-07-18 12:43 (UTC)
You forgot to change _rustc=1.35.0
to _rustc=1.36.0
luigoalma commented on 2018-12-12 01:09 (UTC)
I've noticed something was not right on the PKGBUILD
, I got the mingw-w64-gcc
with --disable-sjlj-exceptions
instead of --disable-dw2-exceptions
so i was able to build it, but as on this version (as of this writing, 1.31.0-1 @ commit [
8570d05](https://aur.archlinux.org/cgit/aur.git/commit/?h=mingw-w64-rust&id=8570d05)
) caused file conflicts with host's rust
itself, then I looked into the PKGBUILD
and saw it was set to prefix being usr
. I had to patch it to fix installing it. Was this path really intended?
https://gist.githubusercontent.com/luigoalma/20e8aae578c33e53ac7477a2a318b50a/raw/d893d072daf3af81d30e11a211e6e9a4cab1d203/PKGBUILD.patch the changes I performed in the PKGBUILD to get it to install like before, as last version i had installed was 1.29.0-1
Forty-Bot commented on 2018-04-04 03:29 (UTC)
The build fails with
==> Making package: mingw-w64-rust 1.25.0-1 (Tue Apr 3 23:21:51 EDT 2018)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading rustc-1.25.0-src.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 53.5M 100 53.5M 0 0 2037k 0 0:00:26 0:00:26 --:--:-- 1793k
-> Downloading rustc-1.25.0-src.tar.xz.asc...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 819 100 819 0 0 2073 0 --:--:-- --:--:-- --:--:-- 2068
-> Found mingw-config.toml
==> Validating source files with sha256sums...
rustc-1.25.0-src.tar.xz ... Passed
rustc-1.25.0-src.tar.xz.asc ... Skipped
mingw-config.toml ... Passed
==> Verifying source file signatures with gpg...
rustc-1.25.0-src.tar.xz ... Passed
==> Extracting sources...
-> Extracting rustc-1.25.0-src.tar.xz with bsdtar
==> Starting prepare()...
==> Starting build()...
Compiling cfg-if v0.1.2
Compiling serde v1.0.27
Compiling num-traits v0.1.41
Compiling itoa v0.3.4
Compiling dtoa v0.4.2
Compiling getopts v0.2.15
Compiling libc v0.2.39
Compiling lazy_static v0.2.11
Compiling cc v1.0.4
Compiling unicode-xid v0.0.4
Compiling quote v0.3.15
Compiling time v0.1.39
Compiling num_cpus v1.8.0
Compiling filetime v0.1.15
Compiling synom v0.11.3
Compiling cmake v0.1.29
Compiling syn v0.11.11
Compiling build_helper v0.1.0 (file:///home/user/.cache/pacaur/mingw-w64-rust/src/rustc-1.25.0-src/src/build_helper)
Compiling serde_derive_internals v0.19.0
Compiling serde_json v1.0.9
Compiling toml v0.4.5
Compiling serde_derive v1.0.27
Compiling bootstrap v0.0.0 (file:///home/user/.cache/pacaur/mingw-w64-rust/src/rustc-1.25.0-src/src/bootstrap)
Finished dev [unoptimized] target(s) in 52.72 secs
Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Compiling cc v1.0.4
Compiling libc v0.2.39
Compiling cfg-if v0.1.2
Compiling unwind v0.0.0 (file:///home/user/.cache/pacaur/mingw-w64-rust/src/rustc-1.25.0-src/src/libunwind)
Compiling core v0.0.0 (file:///home/user/.cache/pacaur/mingw-w64-rust/src/rustc-1.25.0-src/src/libcore)
Compiling filetime v0.1.15
Compiling build_helper v0.1.0 (file:///home/user/.cache/pacaur/mingw-w64-rust/src/rustc-1.25.0-src/src/build_helper)
Compiling std v0.0.0 (file:///home/user/.cache/pacaur/mingw-w64-rust/src/rustc-1.25.0-src/src/libstd)
Compiling compiler_builtins v0.0.0 (file:///home/user/.cache/pacaur/mingw-w64-rust/src/rustc-1.25.0-src/src/rustc/compiler_builtins_shim)
Compiling cmake v0.1.29
Compiling alloc_jemalloc v0.0.0 (file:///home/user/.cache/pacaur/mingw-w64-rust/src/rustc-1.25.0-src/src/liballoc_jemalloc)
Compiling rustc_msan v0.0.0 (file:///home/user/.cache/pacaur/mingw-w64-rust/src/rustc-1.25.0-src/src/librustc_msan)
Compiling rustc_tsan v0.0.0 (file:///home/user/.cache/pacaur/mingw-w64-rust/src/rustc-1.25.0-src/src/librustc_tsan)
Compiling rustc_lsan v0.0.0 (file:///home/user/.cache/pacaur/mingw-w64-rust/src/rustc-1.25.0-src/src/librustc_lsan)
Compiling rustc_asan v0.0.0 (file:///home/user/.cache/pacaur/mingw-w64-rust/src/rustc-1.25.0-src/src/librustc_asan)
error[E0015]: calls in constant functions are limited to constant functions, struct and enum constructors
--> libcore/any.rs:399:25
|
399 | t: unsafe { intrinsics::type_id::<T>() },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
error: Could not compile `core`.
Caused by:
process didn't exit successfully: `/home/user/.cache/pacaur/mingw-w64-rust/src/rustc-1.25.0-src/build/bootstrap/debug/rustc --crate-name core libcore/lib.rs --error-format json --crate-type lib --emit=dep-info,link -C opt-level=2 -C metadata=ff3f82c71e6fa661 -C extra-filename=-ff3f82c71e6fa661 --out-dir /home/user/.cache/pacaur/mingw-w64-rust/src/rustc-1.25.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/home/user/.cache/pacaur/mingw-w64-rust/src/rustc-1.25.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps -L dependency=/home/user/.cache/pacaur/mingw-w64-rust/src/rustc-1.25.0-src/build/x86_64-unknown-linux-gnu/stage0-std/release/deps` (exit code: 101)
warning: build failed, waiting for other jobs to finish...
error: build failed
thread 'main' panicked at 'command did not execute successfully: "/usr/bin/cargo" "build" "--target" "x86_64-unknown-linux-gnu" "--release" "--frozen" "--features" "panic-unwind jemalloc backtrace" "--manifest-path" "/home/user/.cache/pacaur/mingw-w64-rust/src/rustc-1.25.0-src/src/libstd/Cargo.toml" "--message-format" "json"
expected success, got: exit code: 101', bootstrap/compile.rs:1060:9
note: Run with `RUST_BACKTRACE=1` for a backtrace.
failed to run: /home/user/.cache/pacaur/mingw-w64-rust/src/rustc-1.25.0-src/build/bootstrap/debug/bootstrap build
Build completed unsuccessfully in 0:01:52
==> ERROR: A failure occurred in build().
Aborting...
Martchus commented on 2018-02-18 18:36 (UTC)
Not sure why it fails to build here:
Building stage2 std artifacts (x86_64-unknown-linux-gnu -> i686-pc-windows-gnu)
Compiling cfg-if v0.1.2
Compiling unwind v0.0.0 (file:///build/mingw-w64-rust/src/rustc-1.24.0-src/src/libunwind)
Compiling libc v0.2.34
Compiling cc v1.0.3
Compiling core v0.0.0 (file:///build/mingw-w64-rust/src/rustc-1.24.0-src/src/libcore)
Compiling filetime v0.1.14
Compiling build_helper v0.1.0 (file:///build/mingw-w64-rust/src/rustc-1.24.0-src/src/build_helper)
Compiling std v0.0.0 (file:///build/mingw-w64-rust/src/rustc-1.24.0-src/src/libstd)
Compiling alloc_jemalloc v0.0.0 (file:///build/mingw-w64-rust/src/rustc-1.24.0-src/src/liballoc_jemalloc)
Compiling compiler_builtins v0.0.0 (file:///build/mingw-w64-rust/src/rustc-1.24.0-src/src/rustc/compiler_builtins_shim)
Compiling libc v0.0.0 (file:///build/mingw-w64-rust/src/rustc-1.24.0-src/src/rustc/libc_shim)
Compiling std_unicode v0.0.0 (file:///build/mingw-w64-rust/src/rustc-1.24.0-src/src/libstd_unicode)
Compiling panic_abort v0.0.0 (file:///build/mingw-w64-rust/src/rustc-1.24.0-src/src/libpanic_abort)
Compiling alloc v0.0.0 (file:///build/mingw-w64-rust/src/rustc-1.24.0-src/src/liballoc)
Compiling panic_unwind v0.0.0 (file:///build/mingw-w64-rust/src/rustc-1.24.0-src/src/libpanic_unwind)
Compiling alloc_system v0.0.0 (file:///build/mingw-w64-rust/src/rustc-1.24.0-src/src/liballoc_system)
error: linking with `i686-w64-mingw32-cc` failed: exit code: 1
|
= note: "i686-w64-mingw32-cc" "-Wl,--enable-long-section-names" "-fno-use-linker-plugin" "-Wl,--nxcompat" "-nostdlib" "-Wl,--large-address-aware" "/build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/i686-pc-windows-gnu/lib/dllcrt2.o" "/build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/i686-pc-windows-gnu/lib/rsbegin.o" "-L" "/build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/i686-pc-windows-gnu/lib" "/build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2-std/i686-pc-windows-gnu/release/deps/std-a67e8415a6b8c7c5.std0-d54d7847220241fba388c8d99121534.rs.rcgu.o" "/build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2-std/i686-pc-windows-gnu/release/deps/std-a67e8415a6b8c7c5.std1-d54d7847220241fba388c8d99121534.rs.rcgu.o" "/build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2-std/i686-pc-windows-gnu/release/deps/std-a67e8415a6b8c7c5.std2-d54d7847220241fba388c8d99121534.rs.rcgu.o" "/build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2-std/i686-pc-windows-gnu/release/deps/std-a67e8415a6b8c7c5.std3-d54d7847220241fba388c8d99121534.rs.rcgu.o" "-o" "/build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2-std/i686-pc-windows-gnu/release/deps/std-a67e8415a6b8c7c5.dll" "/build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2-std/i686-pc-windows-gnu/release/deps/std-a67e8415a6b8c7c5.crate.metadata.rcgu.o" "/build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2-std/i686-pc-windows-gnu/release/deps/std-a67e8415a6b8c7c5.crate.allocator.rcgu.o" "-nodefaultlibs" "-L" "/build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2-std/i686-pc-windows-gnu/release/deps" "-L" "/build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2-std/release/deps" "-L" "/build/mingw-w64-rust/src/rustc-1.24.0-src/build/i686-pc-windows-gnu/native/libbacktrace/.libs" "-L" "/build/mingw-w64-rust/src/rustc-1.24.0-src/build/i686-pc-windows-gnu/native/jemalloc/lib" "-L" "/build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2-std/i686-pc-windows-gnu/release/build/compiler_builtins-9a628b8811d527b1/out" "-L" "/build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/i686-pc-windows-gnu/lib" "-Wl,-Bstatic" "-Wl,--whole-archive" "-l" "backtrace" "-Wl,--no-whole-archive" "-Wl,-Bdynamic" "-l" "advapi32" "-l" "ws2_32" "-l" "userenv" "-l" "shell32" "-Wl,-Bstatic" "-Wl,--whole-archive" "/tmp/rustc.FVNpKszbVFbO/liballoc_system-c7c9f0b1ea532f1d.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.FVNpKszbVFbO/libpanic_unwind-d399427d956f4fb4.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.FVNpKszbVFbO/libunwind-cbf709a3971b5aac.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.FVNpKszbVFbO/liblibc-3df2e5bf52a2af87.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.FVNpKszbVFbO/liballoc-b107440eaf44010a.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.FVNpKszbVFbO/libstd_unicode-f8fa856fa5c731c6.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.FVNpKszbVFbO/libcore-504c7f6499de2474.rlib" "-Wl,--no-whole-archive" "/tmp/rustc.FVNpKszbVFbO/libcompiler_builtins-cf036af5054fa5f1.rlib" "-l" "gcc_eh" "-l" "pthread" "-shared" "-Wl,-Bdynamic" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-luser32" "-lkernel32" "/build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/i686-pc-windows-gnu/lib/rsend.o"
= note: /tmp/rustc.FVNpKszbVFbO/libpanic_unwind-d399427d956f4fb4.rlib(panic_unwind-d399427d956f4fb4.panic_unwind1-a200335ad3a53671556e057b85cea9c.rs.rcgu.o): In function `rust_eh_unwind_resume':
/build/mingw-w64-rust/src/rustc-1.24.0-src/src/libpanic_unwind/gcc.rs:291: undefined reference to `_Unwind_Resume'
/build/mingw-w64-rust/src/rustc-1.24.0-src/src/libpanic_unwind/gcc.rs:291: undefined reference to `_Unwind_Resume'
/tmp/rustc.FVNpKszbVFbO/libpanic_unwind-d399427d956f4fb4.rlib(panic_unwind-d399427d956f4fb4.panic_unwind1-a200335ad3a53671556e057b85cea9c.rs.rcgu.o): In function `ZN12panic_unwind3imp5panic17hc5bc44d5a40088ddE':
/build/mingw-w64-rust/src/rustc-1.24.0-src/src/libpanic_unwind/gcc.rs:83: undefined reference to `_Unwind_RaiseException'
/tmp/rustc.FVNpKszbVFbO/libpanic_unwind-d399427d956f4fb4.rlib(panic_unwind-d399427d956f4fb4.panic_unwind1-a200335ad3a53671556e057b85cea9c.rs.rcgu.o): In function `rust_eh_unwind_resume':
/build/mingw-w64-rust/src/rustc-1.24.0-src/src/libpanic_unwind/gcc.rs:291: undefined reference to `_Unwind_Resume'
/build/mingw-w64-rust/src/rustc-1.24.0-src/src/libpanic_unwind/gcc.rs:291: undefined reference to `_Unwind_Resume'
/build/mingw-w64-rust/src/rustc-1.24.0-src/src/libpanic_unwind/gcc.rs:291: undefined reference to `_Unwind_Resume'
/build/mingw-w64-rust/src/rustc-1.24.0-src/src/libpanic_unwind/gcc.rs:291: undefined reference to `_Unwind_Resume'
/build/mingw-w64-rust/src/rustc-1.24.0-src/src/libpanic_unwind/gcc.rs:291: undefined reference to `_Unwind_Resume'
/tmp/rustc.FVNpKszbVFbO/libpanic_unwind-d399427d956f4fb4.rlib(panic_unwind-d399427d956f4fb4.panic_unwind1-a200335ad3a53671556e057b85cea9c.rs.rcgu.o):/build/mingw-w64-rust/src/rustc-1.24.0-src/src/libpanic_unwind/gcc.rs:291: more undefined references to `_Unwind_Resume' follow
/tmp/rustc.FVNpKszbVFbO/libpanic_unwind-d399427d956f4fb4.rlib(panic_unwind-d399427d956f4fb4.panic_unwind3-a200335ad3a53671556e057b85cea9c.rs.rcgu.o): In function `ZN12panic_unwind3imp5panic17hc5bc44d5a40088ddE':
/build/mingw-w64-rust/src/rustc-1.24.0-src/src/libpanic_unwind/gcc.rs:83: undefined reference to `_Unwind_RaiseException'
/tmp/rustc.FVNpKszbVFbO/libpanic_unwind-d399427d956f4fb4.rlib(panic_unwind-d399427d956f4fb4.panic_unwind3-a200335ad3a53671556e057b85cea9c.rs.rcgu.o): In function `rust_eh_unwind_resume':
/build/mingw-w64-rust/src/rustc-1.24.0-src/src/libpanic_unwind/gcc.rs:291: undefined reference to `_Unwind_Resume'
collect2: error: ld returned 1 exit status
error: aborting due to previous error
error: Could not compile `std`.
Caused by:
process didn't exit successfully: `/build/mingw-w64-rust/src/rustc-1.24.0-src/build/bootstrap/debug/rustc --crate-name std libstd/lib.rs --error-format json --crate-type dylib --crate-type rlib --emit=dep-info,link -C prefer-dynamic -C opt-level=2 --cfg feature="alloc_jemalloc" --cfg feature="backtrace" --cfg feature="jemalloc" --cfg feature="panic-unwind" --cfg feature="panic_unwind" -C metadata=a67e8415a6b8c7c5 -C extra-filename=-a67e8415a6b8c7c5 --out-dir /build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2-std/i686-pc-windows-gnu/release/deps --target i686-pc-windows-gnu -L dependency=/build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2-std/i686-pc-windows-gnu/release/deps -L dependency=/build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2-std/release/deps --extern alloc_system=/build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2-std/i686-pc-windows-gnu/release/deps/liballoc_system-c7c9f0b1ea532f1d.rlib --extern std_unicode=/build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2-std/i686-pc-windows-gnu/release/deps/libstd_unicode-f8fa856fa5c731c6.rlib --extern alloc_jemalloc=/build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2-std/i686-pc-windows-gnu/release/deps/liballoc_jemalloc-f4ed5f99239665b3.rlib --extern libc=/build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2-std/i686-pc-windows-gnu/release/deps/liblibc-3df2e5bf52a2af87.rlib --extern alloc=/build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2-std/i686-pc-windows-gnu/release/deps/liballoc-b107440eaf44010a.rlib --extern core=/build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2-std/i686-pc-windows-gnu/release/deps/libcore-504c7f6499de2474.rlib --extern compiler_builtins=/build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2-std/i686-pc-windows-gnu/release/deps/libcompiler_builtins-cf036af5054fa5f1.rlib --extern panic_abort=/build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2-std/i686-pc-windows-gnu/release/deps/libpanic_abort-e540d5ed7a552aed.rlib --extern panic_unwind=/build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2-std/i686-pc-windows-gnu/release/deps/libpanic_unwind-d399427d956f4fb4.rlib --extern unwind=/build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2-std/i686-pc-windows-gnu/release/deps/libunwind-cbf709a3971b5aac.rlib -L native=/build/mingw-w64-rust/src/rustc-1.24.0-src/build/i686-pc-windows-gnu/native/libbacktrace/.libs -l static=backtrace -l advapi32 -l ws2_32 -l userenv -l shell32 -L native=/build/mingw-w64-rust/src/rustc-1.24.0-src/build/i686-pc-windows-gnu/native/jemalloc/lib -L native=/build/mingw-w64-rust/src/rustc-1.24.0-src/build/x86_64-unknown-linux-gnu/stage2-std/i686-pc-windows-gnu/release/build/compiler_builtins-9a628b8811d527b1/out` (exit code: 101)
thread 'main' panicked at 'command did not execute successfully: "/usr/bin/cargo" "build" "--target" "i686-pc-windows-gnu" "--release" "--frozen" "--features" "panic-unwind jemalloc backtrace" "--manifest-path" "/build/mingw-w64-rust/src/rustc-1.24.0-src/src/libstd/Cargo.toml" "--message-format" "json"
expected success, got: exit code: 101', bootstrap/compile.rs:886:9
note: Run with `RUST_BACKTRACE=1` for a backtrace.
failed to run: /build/mingw-w64-rust/src/rustc-1.24.0-src/build/bootstrap/debug/bootstrap build src/rustc src/libstd src/tools/cargo
Build completed unsuccessfully in 0:18:38
Martchus commented on 2018-02-18 17:17 (UTC)
The dependency gdb
is missing. Since it is not in the groups base or base-devel it should be added explicitly.
xantares commented on 2018-02-17 15:13 (UTC)
the provides/conflict lines are useless; it's enough for the bin package to include these
Pinned Comments
pingplug commented on 2018-02-14 05:35 (UTC) (edited on 2020-05-20 02:16 (UTC) by pingplug)
mingw-w64-gcc<10.1.0
).mingw-w64-rust
will take about 50GiB, make sure that your $BUILDDIR have enough free space./opt/rust
) if you don't have one, and don't forget to remove this dir before install this package.rust
./opt/rust/bin
toPATH
, and setCARGO_HOME
to/opt/rust/cargo
.