From f2e7fa9d7711ca91865ef5b54f7a9d13fc30c91a Mon Sep 17 00:00:00 2001 From: Matthew Dempsky Date: Thu, 28 Aug 2014 22:40:57 -0400 Subject: [PATCH] misc/cgo/test: disable issue 8428 regress test on darwin Clang 3.2 and older (as shipped with OS X Mountain Lion and older) outputs ambiguous DWARF debug info that makes it impossible for us to reconstruct accurate type information as required for this test. Fixes #8611. LGTM=rsc R=r, rsc, minux CC=golang-codereviews https://golang.org/cl/135990043 --- misc/cgo/test/issue8428.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/misc/cgo/test/issue8428.go b/misc/cgo/test/issue8428.go index f5b0ee4974..a3dc5755ce 100644 --- a/misc/cgo/test/issue8428.go +++ b/misc/cgo/test/issue8428.go @@ -2,6 +2,10 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// This test fails on older versions of OS X because they use older buggy +// versions of Clang that emit ambiguous DWARF info. See issue 8611. +// +build !darwin + package cgotest // Issue 8428. Cgo inconsistently translated zero size arrays. -- 2.48.1