This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap 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 translator/17959] New: Something (broken DWARF?) causes Systemtap to generate C code with uint0_t types


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

            Bug ID: 17959
           Summary: Something (broken DWARF?) causes Systemtap to generate
                    C code with uint0_t types
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: aram.h at mgk dot ro
                CC: mjw at redhat dot com

When using systemtap on Go binaries that work around issue 17957 and 17958,
systemtap will fail to create the kernel module because the generated C code
uses uint0_t types:

/tmp/stapUOqJjk/stap_ea1e3b08acea61492ed2615b6f549cbe_535512_src.c: In function
âfunction__dwarf_tvar_get__p__261â:
/tmp/stapUOqJjk/stap_ea1e3b08acea61492ed2615b6f549cbe_535512_src.c:12640:7:
error: unknown type name âuint0_tâ
     { uint0_t value = deref (sizeof addr, addr); addr = value; }
       ^
/tmp/stapUOqJjk/stap_ea1e3b08acea61492ed2615b6f549cbe_535512_src.c: In function
âfunction__dwarf_tvar_get__p__585â:
/tmp/stapUOqJjk/stap_ea1e3b08acea61492ed2615b6f549cbe_535512_src.c:12712:7:
error: unknown type name âuint0_tâ
     { uint0_t value = deref (sizeof addr, addr); addr = value; }
       ^
/tmp/stapUOqJjk/stap_ea1e3b08acea61492ed2615b6f549cbe_535512_src.c: In function
âfunction__dwarf_tvar_get_addr_647â:
/tmp/stapUOqJjk/stap_ea1e3b08acea61492ed2615b6f549cbe_535512_src.c:13060:7:
error: unknown type name âuint0_tâ
     { uint0_t value = deref (sizeof addr, addr); addr = value; }
       ^

-- 
You are receiving this mail because:
You are the assignee for the bug.

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