Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/link: "x86_64-w64-mingw32/bin/ld.exe: Error: export ordinal too large" after upgrading to Go 1.15 #40795
I have a Travis build that fails on Windows after upgrading to Go 1.15, see:
Or more specific: https://travis-ci.org/github/gohugoio/hugo/jobs/717877253
I do not know what the problem is.
But go 1.15 now passes --dynamicbase and --high-entropy-va flags to gcc for ASLR support. Perhaps your failure is related. Maybe you need to update your Mingw.
You can disable new flags by passing -buildmode=exe to go command as @deadprogram suggested.
Just got the latest version and tried to build on windows with
Hmm, seems like the problems are more serious than this because after building the exe doesn't do anything. Don't worry about it, I'll get the binaries.