Skip to content

Compiling on x86 Windows fails #237

@hatRiot

Description

@hatRiot

Run from Developer Command Prompt for VS 2017:

[REMOVING] obj/xed-ild.lib
[MBUILD WARNING] Command execution failed. Waiting for remaining jobs and exiting.
R: 1 P: 0 C: 111 E: 1 / 5 secs
[COMMAND     ] PYTHON FN: _remove_libname ;;;; "C:/Program Files/Microsoft Visua
l Studio/2017/Community/VC/Tools/MSVC/14.16.27023//bin/Hostx86/x64/lib.exe" /nol
ogo /MACHINE:X86  /out:obj/xed-ild.lib obj/xed-ild-support.obj obj/xed-init-ild.
obj obj/xed-ild.obj obj/xed-chip-features.obj obj/xed-isa-set.obj obj/xed-chip-m
odes.obj obj/xed-chip-modes-override.obj obj/xed-chip-features-table.obj obj/xed
-ild-disp-l3.obj obj/xed-ild-eosz.obj obj/xed-ild-easz.obj obj/xed-ild-imm-l3.ob
j
[ARGS        ] ['obj/xed-ild.lib']
[ENV         ] some env
[EXIT_STATUS ] 1112
[OUTPUT]
REMOVED obj/xed-ild.lib
obj\xed-ild-support.obj : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'x86'

R: 0 P: 0 C: 112 E: 1 / 6 secs
        BUILT: C:\Users\bja\xed\obj\xed3-phash-lu-vv0.obj
ABORT: Library build failed

Note Hostx86/x64/lib.exe in the command path. I hacked around this by simply hard linking Hostx86/x64 to Hostx86/x86 which then built just fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions