[llvm-bugs] [Bug 41200] New: building static library fails with glibc 2.29 (does not export ustat in libc.a)

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Mar 22 06:25:02 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=41200

            Bug ID: 41200
           Summary: building static library fails with glibc 2.29 (does
                    not export ustat in libc.a)
           Product: llgo
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: felix-llvm at fefe.de
                CC: llvm-bugs at lists.llvm.org

Building the current git llgo in static library mode fails with an undefined
symbol to ustat. glibc 2.29 does not export ustat in libc.a, only in libc.so
(and even there it is marked as legacy and deprecated and it will probably go
away soon).

I recommend not providing a ustat API in Go. The man page for ustat recommends
using statfs instead.

-- 
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/20190322/9bb2b334/attachment-0001.html>


More information about the llvm-bugs mailing list