This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/20606] New: glibc build failure with clang


https://sourceware.org/bugzilla/show_bug.cgi?id=20606

            Bug ID: 20606
           Summary: glibc build failure with clang
           Product: glibc
           Version: 2.26
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: samshepperd at gmail dot com
                CC: carlos at redhat dot com
  Target Milestone: ---

glibc HEAD from git currently cannot build with clang:


../include/sys/stat.h:16:15: error: cannot apply asm label to function after
its first use
hidden_proto (__fxstat)
~~~~~~~~~~~~~~^~~~~~~~~
./../include/libc-symbols.h:420:19: note: expanded from macro 'hidden_proto'
  __hidden_proto (name, , __GI_##name, ##attrs)
  ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../include/libc-symbols.h:424:33: note: expanded from macro '__hidden_proto'
  extern thread __typeof (name) name __asm__ (__hidden_asmname (#internal)) \


For the relevant discussion from clang side please see:

http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20160104/146075.html
https://reviews.llvm.org/D16171

Are these macros something that could be patched on the glibc side?  Thank you.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]