[LLVMbugs] [Bug 16453] New: ubuntu 12 soundcard header miasma

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 25 16:04:40 PDT 2013


            Bug ID: 16453
           Summary: ubuntu 12 soundcard header miasma
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: baallan at sandia.gov
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

on ubuntu 12.04/gcc4.6/kernel 3.2.0-45
struct copr_buffer is only defined in 
and not in

This leads to broken build at least with current svn checkout (>= llvm 3.3):

COMPILE:   clang_linux/san-x86_64/x86_64:
error: invalid application of 'sizeof' to
      an incomplete type 'struct copr_buffer'
  unsigned struct_copr_buffer_sz = sizeof(struct copr_buffer);
                                   ^     ~~~~~~~~~~~~~~~~~~~~
note: forward declaration of
  unsigned struct_copr_buffer_sz = sizeof(struct copr_buffer);

Workaround is to replace the #include <linux/soundcard.h> with

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/20130625/09d523a8/attachment.html>

More information about the llvm-bugs mailing list