Skip to content

os/exec: build broken for macOS 10.8 and 10.10 #19775

@bradfitz

Description

@bradfitz

https://golang.org/cl/38742 broke the macOS 10.8 and 10.10 builders.

https://build.golang.org/log/5657b820d02b88ae95ee64e713f38070b0ff0393

##### Testing race detector
ok  	runtime/race	4.368s
ok  	flag	1.044s
ok  	os/exec	3.099s
# testmain
/var/folders/6g/8k13h11n2zb8hxx99wk6f6y40000gn/T/workdir/go/pkg/tool/darwin_amd64/link: running clang failed: exit status 1
ld: warning: option -s is obsolete and being ignored
ld: internal error: atom not found in symbolIndex(__ZN11__sanitizer12InternalSortINS_18InternalMmapVectorINS_20StackDepotReverseMap10IdDescPairEEEPFbRKS3_S6_EEEvPT_mT0_) for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

FAIL	_/private/var/folders/6g/8k13h11n2zb8hxx99wk6f6y40000gn/T/workdir/go/misc/cgo/test [build failed]
2017/03/29 15:38:38 Failed: exit status 2
# testmain
/var/folders/6g/8k13h11n2zb8hxx99wk6f6y40000gn/T/workdir/go/pkg/tool/darwin_amd64/link: running clang failed: exit status 1
ld: warning: option -s is obsolete and being ignored
ld: internal error: atom not found in symbolIndex(__ZN11__sanitizer12InternalSortINS_18InternalMmapVectorINS_20StackDepotReverseMap10IdDescPairEEEPFbRKS3_S6_EEEvPT_mT0_) for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

FAIL	flag [build failed]
# testmain
/var/folders/6g/8k13h11n2zb8hxx99wk6f6y40000gn/T/workdir/go/pkg/tool/darwin_amd64/link: running clang failed: exit status 1
ld: warning: option -s is obsolete and being ignored
ld: internal error: atom not found in symbolIndex(__ZN11__sanitizer12InternalSortINS_18InternalMmapVectorINS_20StackDepotReverseMap10IdDescPairEEEPFbRKS3_S6_EEEvPT_mT0_) for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

FAIL	os/exec [build failed]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions