Actions
Bug #12889
closedctfconvert fails on empty array
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
tools - gate/build tools
Start date:
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
While porting some OpenZFS bits, ctfconvert fails with ctfconvert: failed to get unsigned attribute for type: DW_DLE_ATTR_FORM_BAD
.
There are a number of instances of type foo[] = { };
in the ported code, which appear to be the cause:
root@pi:~# cat ctftest.c int test[] = { }; root@pi:~# gcc -g -c ctftest.c root@pi:~# ctfconvert ctftest.o ctfconvert: failed to get unsigned attribute for type: DW_DLE_ATTR_FORM_BAD
Related issues
Updated by Joshua M. Clulow about 2 years ago
- Is duplicate of Bug #10854: empty struct array confuses CTF added
Actions