Skip to content

i386:x86-64 output collect2.exe: error: ld returned 1 exit status #22

@talenboy

Description

@talenboy

Click GoTestExplorer Run command,and then show C:\Go\pkg\tool\windows_amd64\link.exe: running gcc failed: exit status 1 C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: i386 architecture of input file `C:\Users\Alvin\AppData\Local\Temp\go-link-003842799\000000.o' is incompatible with i386:x86-64 output collect2.exe: error: ld returned 1 exit status

But run go build command in cmd that's all correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions