But I didn't write cgo code in my project.
The weird part is I can build success with *GOOS=linux go build*, but
failed with *GOOS=darwin go build*
On Friday, March 19, 2021 at 5:11:57 AM UTC+8 Ian Lance Taylor wrote:
> On Thu, Mar 18, 2021 at 9:55 AM Max Xu wrote:
> >
> >
Hi all,
I'm running into a weird bug:
Failed with command:
GOOS=darwin go build
Bug success with:
GOOS=linux go build
The failed Message:
/usr/local/opt/go/libexec/pkg/tool/darwin_amd64/link: running clang failed:
exit status 1
duplicate symbol '_readdrivestat' in:
/var/folders/tx/5c8vkq