Skip to content

cmd/ld: running gcc failed on windows #10256

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
chai2010 opened this issue Mar 26, 2015 · 3 comments
Closed

cmd/ld: running gcc failed on windows #10256

chai2010 opened this issue Mar 26, 2015 · 3 comments

Comments

@chai2010
Copy link
Contributor

package main

import (
    _ "github.com/chai2010/bpg"
    _ "github.com/chai2010/webp"
)

func main() {
    //
}
go version
go version devel +2420926 Wed Mar 25 02:55:56 2015 +0000 windows/amd64

go build
# _/D_/test/a
C:\go\gotip\pkg\tool\windows_amd64\6l.exe: running gcc failed: exit status 1
C:\Users\chai\AppData\Local\Temp\go-link-029414323/000001.o:C:\crossdev\gccmaster\build-tdm64\gcc\x86_64-w64-mingw32\libgcc/../../../../../src/gcc-4.9.2/libgcc/config/i386/cygwin.S:137: multiple definition of `___chkstk_ms'
C:\Users\chai\AppData\Local\Temp\go-link-029414323/000000.o:C:\crossdev\gccmaster\build-tdm64\gcc\x86_64-w64-mingw32\libgcc/../../../../../src/gcc-4.9.2/libgcc/config/i386/cygwin.S:137: first defined here
collect2.exe: error: ld returned 1 exit status
@mattn
Copy link
Member

mattn commented Mar 26, 2015

Could you please show me the result of go build -x?

@ianlancetaylor
Copy link
Contributor

Looks like another instance of issue #9510 .

@minux
Copy link
Member

minux commented Mar 26, 2015

Yes, it's dup of #9510.

@minux minux closed this as completed Mar 26, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants