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: unassignedb...@nondot.org
          Reporter: jctremou...@gmail.com
                CC: htmldevelo...@gmail.com, llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to