[llvm-bugs] [Bug 40561] New: Bindings/Go/go.test fails with "Errorf format %d has arg newattr of wrong type llvm.org/llvm/bindings/go/llvm.Attribute"
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Feb 1 05:32:36 PST 2019
https://bugs.llvm.org/show_bug.cgi?id=40561
Bug ID: 40561
Summary: Bindings/Go/go.test fails with "Errorf format %d has
arg newattr of wrong type
llvm.org/llvm/bindings/go/llvm.Attribute"
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: hans at chromium.org
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
peter at pcc.me.uk
The test started failing for me recently. I don't see any changes around this
code, so maybe it's my local go version that changed or something.
The error seems real to me: we're trying to print an Attribute with %d. The
test talks about "attribute masks" I'm not sure what that refers to, but I
suppose we could print the raw pointer value, since that's what the test seems
to be comparing?
--
FAIL: LLVM :: Bindings/Go/go.test (20355 of 29679)
******************** TEST 'LLVM :: Bindings/Go/go.test' FAILED
********************
Script:
--
: 'RUN: at line 1'; /work/llvm.monorepo/build.release/bin/llvm-go
go=/usr/lib/google-golang/bin/go test llvm.org/llvm/bindings/go/llvm
--
Exit Code: 1
Command Output (stdout):
--
FAIL llvm.org/llvm/bindings/go/llvm [build failed]
--
Command Output (stderr):
--
# llvm.org/llvm/bindings/go/llvm
/tmp/lit_tmp_zx1JSU/gopath346809403/src/llvm.org/llvm/bindings/go/llvm/ir_test.go:33:3:
Errorf format %d has arg newattr of wrong type
llvm.org/llvm/bindings/go/llvm.Attribute
/tmp/lit_tmp_zx1JSU/gopath346809403/src/llvm.org/llvm/bindings/go/llvm/ir_test.go:44:3:
Errorf format %d has arg newattr of wrong type
llvm.org/llvm/bindings/go/llvm.Attribute
--
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190201/cc3695e0/attachment.html>
More information about the llvm-bugs
mailing list