From f92337422ef2ca27464c198bb3426d2dc4661653 Mon Sep 17 00:00:00 2001 From: Keith Randall Date: Sat, 1 Aug 2020 12:55:47 -0700 Subject: [PATCH] runtime/race: fix ppc64le build The .syso test also fails for ppc64le. Not sure why. For now, just disable the test for that architecture. The test really only needs to run on a single builder of any arch. Change-Id: I346cdc01ada09d43c4c504fbc30be806f59d5422 Reviewed-on: https://go-review.googlesource.com/c/go/+/246358 Run-TryBot: Keith Randall TryBot-Result: Gobot Gobot Reviewed-by: Ian Lance Taylor --- src/runtime/race/syso_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/runtime/race/syso_test.go b/src/runtime/race/syso_test.go index e959c8d0bd..db846c5d2a 100644 --- a/src/runtime/race/syso_test.go +++ b/src/runtime/race/syso_test.go @@ -2,10 +2,10 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build !android,!js +// +build !android,!js,!ppc64le -// Note: we don't run on Android because if there is any non-race test -// file in this package, Android tries to link the .syso file into the +// Note: we don't run on Android or ppc64 because if there is any non-race test +// file in this package, the OS tries to link the .syso file into the // test (even when we're not in race mode), which fails. I'm not sure // why, but easiest to just punt - as long as a single builder runs // this test, we're good. -- 2.50.0