Package Details: mingw-w64-rust 1.29.2-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-rust.git (read-only)
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: custom, MIT, Apache
Submitter: pingplug
Maintainer: pingplug
Last Packager: pingplug
Votes: 3
Popularity: 0.206935
First Submitted: 2018-02-13 16:00
Last Updated: 2018-10-20 08:34

Pinned Comments

pingplug commented on 2018-02-14 05:35

  1. Rust can not build upon sjlj version of MinGW (i686-w64-mingw32 toolchain in mingw-w64-gcc) for now. The way to build mingw-w64-rust is to build a dwarf version mingw-w64-gcc (remove mingw-w64-{gcc,crt,winpthreads} and build GCC with --disable-sjlj-exceptions, you need rebuild every mingw-w64-* package after that).
  2. building mingw-w64-rust will take about 27GiB disk space (~11GiB for LLVM, ~3GiB for lld, ~1GiB for stage0, ~4GiB for stage1, ~4GiB for stage2, ~4GiB for rust's own package building and $pkgdir), make sure that your $BUILDDIR have enough free space.
  3. Rust will check $prefix when packaging, please make an empty $prefix dir (for example /opt/rust) if you don't have one.
  4. THERE IS NO GUARANTEE RUST CAN HOST ITSELF WITH THE SAME VERSION OF RUST! They only test building rust from the last stable version of rust. This package will not depend on system rust.

Latest Comments

Forty-Bot commented on 2018-04-04 03:29

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

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

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

the provides/conflict lines are useless; it's enough for the bin package to include these

pingplug commented on 2018-02-14 05:35

  1. Rust can not build upon sjlj version of MinGW (i686-w64-mingw32 toolchain in mingw-w64-gcc) for now. The way to build mingw-w64-rust is to build a dwarf version mingw-w64-gcc (remove mingw-w64-{gcc,crt,winpthreads} and build GCC with --disable-sjlj-exceptions, you need rebuild every mingw-w64-* package after that).
  2. building mingw-w64-rust will take about 27GiB disk space (~11GiB for LLVM, ~3GiB for lld, ~1GiB for stage0, ~4GiB for stage1, ~4GiB for stage2, ~4GiB for rust's own package building and $pkgdir), make sure that your $BUILDDIR have enough free space.
  3. Rust will check $prefix when packaging, please make an empty $prefix dir (for example /opt/rust) if you don't have one.
  4. THERE IS NO GUARANTEE RUST CAN HOST ITSELF WITH THE SAME VERSION OF RUST! They only test building rust from the last stable version of rust. This package will not depend on system rust.

tsdgeos commented on 2018-02-13 17:45

Failed to compile https://paste.kde.org/ptxgsv522

I guess a dependency is needed?