Skip to content

ICE on Windows GNU ABI Nightly 1.8 (2016-01-23) #31178

Closed
@canndrew

Description

@canndrew

I'm trying to test this PR on windows (specifically this commit) but the compiler is bugging out.

The full output is:

$ cargo build --verbose
       Fresh ip v1.1.0
       Fresh libc v0.1.12
       Fresh c_linked_list v0.1.0
   Compiling get_if_addrs v0.3.0 (file:///E:/maidsafe/get_if_addrs)
     Running `rustc src\lib.rs --crate-name get_if_addrs --crate-type lib -g --out-dir E:\maidsafe\get_if_addrs\target\debug --emit=dep-info,link -L dependency=E:\maidsafe\get_if_addrs\target\debug -L dependency=E:\maidsafe\get_if_addrs\target\debug\deps --extern c_linked_list=E:\maidsafe\get_if_addrs\target\debug\deps\libc_linked_list-e29420960369b25b.rlib --extern libc=E:\maidsafe\get_if_addrs\target\debug\deps\liblibc-6f18902dd8f75ffb.rlib --extern ip=E:\maidsafe\get_if_addrs\target\debug\deps\libip-02759db6b92ee1f9.rlib`
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
thread 'rustc' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Os { code: 1, message: "Incorrect function." } }', ../src/libcore\result.rs:746
stack backtrace:
   0: 0x6b242ce8 - strncmp
   1: 0x6b2048a1 - strncmp
   2: 0x77d82e81 - strncmp
   3: 0x6b256bca - strncmp
   4: 0x6b2050b6 - strncmp
   5: 0x6e7df922 - strncmp
   6: 0x6e7d9f3e - strncmp
   7:   0x8fd8d2 - strncmp
   8: 0x6e7de038 - strncmp

Could not compile `get_if_addrs`.

Caused by:
  Process didn't exit successfully: `rustc src\lib.rs --crate-name get_if_addrs --crate-type lib -g --out-dir E:\maidsafe\get_if_addrs\target\debug --emit=dep-info,link -L dependency=E:\maidsafe\get_if_addrs\target\debug -L dependency=E:\maidsafe\get_if_addrs\target\debug\deps --extern c_linked_list=E:\maidsafe\get_if_addrs\target\debug\deps\libc_linked_list-e29420960369b25b.rlib --extern libc=E:\maidsafe\get_if_addrs\target\debug\deps\liblibc-6f18902dd8f75ffb.rlib --extern ip=E:\maidsafe\get_if_addrs\target\debug\deps\libip-02759db6b92ee1f9.rlib` (exit code: 101)

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️O-windows-gnuToolchain: GNU, Operating system: Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions