Stream: t-compiler/help

Topic: couldn't load codegen backend


Ji Wong Park (Jun 10 2019 at 00:42, on Zulip):

https://www.reddit.com/r/rust/comments/bypk8x/couldnt_load_codegen_backend/
https://github.com/rust-lang/rust/issues/61561

hi, i want to debug, where to start?

$ ./x.py build --stage 1 src/libstd

...

Compiling core v0.0.0 (C:\msys64\work\rust\src\libcore)error: couldn't load codegen backend "C:\\msys64\\work\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\codegen-backends\\rustc_codegen_llvm-llvm.dll": "The specified procedure could not be found. (os error 127)"error: Could not compile \core.

Ji Wong Park (Jun 10 2019 at 02:58, on Zulip):

$ ldd C:\\msys64\\work\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\codegen-backends\\rustc_codegen_llvm-llvm.dll

    ntdll.dll => /c/Windows/SYSTEM32/ntdll.dll (0x77ba0000)
    kernel32.dll => /c/Windows/system32/kernel32.dll (0x77a80000)
    KERNELBASE.dll => /c/Windows/system32/KERNELBASE.dll (0x7fefdc30000)
    ??? => ??? (0x70c80000)
    ??? => ??? (0x7fefdd40000)
    ??? => ??? (0x7fefe1f0000)
    ??? => ??? (0x7feffe90000)
    ??? => ??? (0x7feff950000)
    ??? => ??? (0x7fefe560000)
    ??? => ??? (0x7fefde90000)
    ??? => ??? (0x77980000)
    ??? => ??? (0x7feffbb0000)
    ??? => ??? (0x7feffae0000)
    ??? => ??? (0x7fefe9d0000)
    ??? => ??? (0x7fefe160000)
    ??? => ??? (0x61440000)
    ??? => ??? (0x64940000)
    ??? => ??? (0x6fc40000)
Last update: Nov 11 2019 at 22:00UTC