<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Bindings/Go/go.test fails - lld flag treatment"
   href="https://bugs.llvm.org/show_bug.cgi?id=50195">50195</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Bindings/Go/go.test fails - lld flag treatment
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Core LLVM classes
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>uday@polymagelabs.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>[I couldn't find the right component to file this against. There appears to be
nothing for Go bindings or even bindings?]

commit 1977c53b2ae425541a0ef329ca10cc8d5cacd0cd (origin/main)
Date:   Wed Apr 28 11:34:45 2021 +0900

A `ninja check-all` yields this single failure.

-------------------------
FAIL: LLVM :: Bindings/Go/go.test (1362 of 44478)
******************** TEST 'LLVM :: Bindings/Go/go.test' FAILED
********************
Script:
--
: 'RUN: at line 1';   /home/uday/llvm-project-upstream/build/bin/llvm-go
go=/usr/bin/go test llvm.org/llvm/bindings/go/llvm
--
Exit Code: 1

Command Output (stdout):
--
FAIL    llvm.org/llvm/bindings/go/llvm [build failed]
FAIL

--
Command Output (stderr):
--
go build runtime/cgo: invalid flag in go:cgo_ldflag: -fuse-ld=lld

--

********************
********************
Failed Tests (1):
  LLVM :: Bindings/Go/go.test


Testing Time: 35.14s
  Unsupported      : 19076
  Passed           : 25341
  Expectedly Failed:    60
  Failed           :     1
------------------

cmake -G Ninja ../llvm    -DLLVM_ENABLE_PROJECTS="mlir" 
-DLLVM_TARGETS_TO_BUILD="X86;NVPTX"    -DCMAKE_BUILD_TYPE=Release 
-DLLVM_ENABLE_ASSERTIONS=ON  -DLLVM_ENABLE_LLD=ON -DLLVM_CCACHE_BUILD=ON

$ /usr/bin/go version
go version go1.14.12 linux/amd64

$ python --version
Python 3.6.8

$ cat /etc/*release*
CentOS Linux release 8.3.2011
Derived from Red Hat Enterprise Linux 8.3
NAME="CentOS Linux"
VERSION="8"</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>