Bug ID 18236
Summary Linux build error: Host.cpp switch statement, multiple define cases with same value
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@cs.uiuc.edu
Reporter tfiala@google.com
Classification Unclassified
/usr/local/google/home/tfiala/lldb/work/llvm/tools/lldb/source/Host/common/Host.cpp:
In static member function ‘static const char*
lldb_private::Host::GetSignalAsCString(int)’:
/usr/local/google/home/tfiala/lldb/work/llvm/tools/lldb/source/Host/common/Host.cpp:515:5:
error: duplicate case value
case SIGIO: return "SIGIO"; // 23 input/output possible signal
^
/usr/local/google/home/tfiala/lldb/work/llvm/tools/lldb/source/Host/common/Host.cpp:494:5:
error: previously used here
case SIGPOLL: return "SIGPOLL"; // 7 pollable event ([XSR]
generated, not supported)
^
Core issue: on Ubuntu 12.04 x86_64, SIGIO and SIGPOLL both define to the same
value.
Candidate fix in progress.