Skip to content

Error compiling Rustc with MinGW #16536

@xmasotto

Description

@xmasotto

I've been trying to compile rustc on Windows...

  • LLVM and the other submodules finished compiling
  • recent snapshot tarball was downloaded
  • morestack.lib was built
  • compiler-rt.lib was built

But when trying to build lib/stamp.core (which is the first time rustc.exe is invoked), make spits out the following error message:

i686-pc-mingw32/stage0/bin/rustc.exe --cfg stage0  -O --cfg rtopt --cfg debug -C prefer-dynamic -Z no-landing-pads --target=i686-pc-mingw32 -C link-args="-Wl,--large-address-aware" -W warnings -L "i686-pc-mingw32/rt" -L "c:\Users\xmasotto\coding\rust\i686-pc-mingw32\llvm\Release+Asserts/lib" -L ""  --out-dir i686-pc-mingw32/stage0/bin/rustlib/i686-pc-mingw32/lib -C extra-filename=-4e7c5e5c /c/Users/xmasotto/coding/rust/src/libcore/lib.rs
make: *** [i686-pc-mingw32/stage0/bin/rustlib/i686-pc-mingw32/lib/stamp.core] Error 34

Here's a more detailed log:
http://pastebin.com/nYT2cX4M

Any ideas on what's happening here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-windowsOperating system: Windows

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions