We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please answer these questions before submitting your issue. Thanks!
go version
tip
yes
go env
We noticed it on ppc64le, and it can be seen on the build page as failing in several others, including arm64, s390.
--- FAIL: TestExecBuildX (1.39s) go_test.go:4781: running testgo [build -x -o /tmp/gotest044582264/main /tmp/gotest044582264/main.go] go_test.go:4781: standard error: go_test.go:4781: WORK=/tmp/go-build070936672 mkdir -p $WORK/b001/ cd /tmp/gotest044582264 CGO_LDFLAGS='"-g" "-O2"' /workdir/go/pkg/tool/linux_arm64/cgo -objdir $WORK/b001/ -importpath command-line-arguments -- -I $WORK/b001/ -g -O2 ./main.go cd $WORK gcc -fno-caret-diagnostics -c -x c - gcc -Qunused-arguments -c -x c - gcc -fdebug-prefix-map=a=b -c -x c - gcc -gno-record-gcc-switches -c -x c - cd $WORK/b001 gcc -I /tmp/gotest044582264 -fPIC -pthread -fmessage-length=0 -fdebug-prefix-map=$WORK/b001=/tmp/go-build -gno-record-gcc-switches -I ./ -g -O2 -o ./_x001.o -c _cgo_export.c gcc -I /tmp/gotest044582264 -fPIC -pthread -fmessage-length=0 -fdebug-prefix-map=$WORK/b001=/tmp/go-build -gno-record-gcc-switches -I ./ -g -O2 -o ./_x002.o -c main.cgo2.c gcc -I /tmp/gotest044582264 -fPIC -pthread -fmessage-length=0 -fdebug-prefix-map=$WORK/b001=/tmp/go-build -gno-record-gcc-switches -I ./ -g -O2 -o ./_cgo_main.o -c _cgo_main.c cd /tmp/gotest044582264 gcc -I . -fPIC -pthread -fmessage-length=0 -fdebug-prefix-map=$WORK/b001=/tmp/go-build -gno-record-gcc-switches -o $WORK/b001/_cgo_.o $WORK/b001/_cgo_main.o $WORK/b001/_x001.o $WORK/b001/_x002.o -g -O2 /workdir/go/pkg/tool/linux_arm64/cgo -dynpackage main -dynimport $WORK/b001/_cgo_.o -dynout $WORK/b001/_cgo_import.go cat >$WORK/b001/importcfg << 'EOF' # internal packagefile runtime/cgo=/workdir/go/pkg/linux_arm64/runtime/cgo.a packagefile syscall=/workdir/go/pkg/linux_arm64/syscall.a packagefile runtime=/workdir/go/pkg/linux_arm64/runtime.a EOF /workdir/go/pkg/tool/linux_arm64/compile -o $WORK/b001/_pkg_.a -trimpath $WORK/b001 -p main -buildid sg5k-G2Os1KpkKyPd4jT/sg5k-G2Os1KpkKyPd4jT -D _/tmp/gotest044582264 -importcfg $WORK/b001/importcfg -pack -c=4 $WORK/b001/_cgo_gotypes.go $WORK/b001/main.cgo1.go $WORK/b001/_cgo_import.go /workdir/go/pkg/tool/linux_arm64/pack r $WORK/b001/_pkg_.a $WORK/b001/_x001.o $WORK/b001/_x002.o # internal /workdir/go/pkg/tool/linux_arm64/buildid -w $WORK/b001/_pkg_.a # internal cat >$WORK/b001/importcfg.link << 'EOF' # internal packagefile command-line-arguments=$WORK/b001/_pkg_.a packagefile runtime/cgo=/workdir/go/pkg/linux_arm64/runtime/cgo.a packagefile syscall=/workdir/go/pkg/linux_arm64/syscall.a packagefile runtime=/workdir/go/pkg/linux_arm64/runtime.a packagefile internal/race=/workdir/go/pkg/linux_arm64/internal/race.a packagefile sync=/workdir/go/pkg/linux_arm64/sync.a packagefile runtime/internal/atomic=/workdir/go/pkg/linux_arm64/runtime/internal/atomic.a packagefile runtime/internal/sys=/workdir/go/pkg/linux_arm64/runtime/internal/sys.a packagefile sync/atomic=/workdir/go/pkg/linux_arm64/sync/atomic.a EOF mkdir -p $WORK/b001/exe/ cd . /workdir/go/pkg/tool/linux_arm64/link -o $WORK/b001/exe/a.out -importcfg $WORK/b001/importcfg.link -buildmode=exe -buildid=E7JMPyBZ74yGiQ20-YnS/sg5k-G2Os1KpkKyPd4jT/4l_jyzMqVKj2Jy9FtB77/E7JMPyBZ74yGiQ20-YnS -extld=gcc $WORK/b001/_pkg_.a /workdir/go/pkg/tool/linux_arm64/buildid -w $WORK/b001/exe/a.out # internal mkdir -p /tmp/gotest044582264/ mv $WORK/b001/exe/a.out /tmp/gotest044582264/main rm -r $WORK/b001/ go_test.go:4803: /bin/sh /tmp/gotest044582264/test.sh: exit status 1 + set -e + WORK=/tmp/go-build070936672 + mkdir -p /tmp/go-build070936672/b001/ + cd /tmp/gotest044582264 + CGO_LDFLAGS='"-g" "-O2"' + /workdir/go/pkg/tool/linux_arm64/cgo -objdir /tmp/go-build070936672/b001/ -importpath command-line-arguments -- -I /tmp/go-build070936672/b001/ -g -O2 ./main.go + cd /tmp/go-build070936672 + gcc -fno-caret-diagnostics -c -x c - gcc: error: unrecognized command line option '-fno-caret-diagnostics' FAIL FAIL cmd/go 164.378s 2018/01/04 17:13:39 Failed: exit status 1
The text was updated successfully, but these errors were encountered:
tip isn't a version.
What actual version?
Sorry, something went wrong.
Oh, this was fixed. Dup of #23337.
Our CI is passing again. Thanks.
No branches or pull requests
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?tip
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?We noticed it on ppc64le, and it can be seen on the build page as failing in several others, including arm64, s390.
The text was updated successfully, but these errors were encountered: