[llvm-bugs] [Bug 43229] New: LLDB 9.0 build failure with GCC 4.8 and wchar-enabled libedit

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Sep 5 10:51:09 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=43229

            Bug ID: 43229
           Summary: LLDB 9.0 build failure with GCC 4.8 and wchar-enabled
                    libedit
           Product: new-bugs
           Version: 9.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: JCTremoulet at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

Created attachment 22474
  --> https://bugs.llvm.org/attachment.cgi?id=22474&action=edit
Patch with proposed fix

Building in this configuration (with LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN), I
get build errors:

```
Building CXX object lldb/source/Core/CMakeFiles/lldbCore.dir/IOHandler.cpp.o
In file included from lldb/source/Core/IOHandler.cpp:31:0:
lldb/include/lldb/Host/Editline.h:36:19: fatal error: codecvt: No such file or
directory
 #include <codecvt>
                   ^
compilation terminated.
```

That #include is already conditional on `#if LLDB_EDITLINE_USE_WCHAR`, which is
determined at configure time based on whether libedit with wchar is available,
so I believe the fix is a simple change to LLDBConfig.cmake (patch attached)

-- 
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/20190905/3fb09cd3/attachment.html>


More information about the llvm-bugs mailing list