On 3/6/2016 1:38 AM, Eric Fiselier wrote:> I recognize these failures, and I think they should be fixed when > building with clang 3.8. IIRC the cause of the errors is that > libc++abi.so linked to the wrong unwinding libraries pre-3.8. I believe > the relevant commit is r255559 (http://reviews.llvm.org/rL255559). > > PS. You should use -DLLVM_ENABLE_LIBCXX=ON instead of > -DCMAKE_CXX_FLAGS='-stdlib=libc++'. >Thanks. I'll switch to 3.8 once it's released. -Krzysztof -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
You don't even have to switch to a full 3.8 stack. You just have to install a new libc++abi.so, which you can build with 3.7. On Mon, Mar 7, 2016 at 8:08 AM, Krzysztof Parzyszek <kparzysz at codeaurora.org> wrote:> On 3/6/2016 1:38 AM, Eric Fiselier wrote: > >> I recognize these failures, and I think they should be fixed when >> building with clang 3.8. IIRC the cause of the errors is that >> libc++abi.so linked to the wrong unwinding libraries pre-3.8. I believe >> the relevant commit is r255559 (http://reviews.llvm.org/rL255559). >> >> PS. You should use -DLLVM_ENABLE_LIBCXX=ON instead of >> -DCMAKE_CXX_FLAGS='-stdlib=libc++'. >> >> > Thanks. I'll switch to 3.8 once it's released. > > > -Krzysztof > > > -- > Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted > by The Linux Foundation >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160307/4e5a88bc/attachment.html>
Thanks very much Eric. :) On Mon, Mar 7, 2016 at 8:57 AM, Eric Fiselier <eric at efcs.ca> wrote:> You don't even have to switch to a full 3.8 stack. You just have to > install a new libc++abi.so, which you can build with 3.7. > > On Mon, Mar 7, 2016 at 8:08 AM, Krzysztof Parzyszek < > kparzysz at codeaurora.org> wrote: > >> On 3/6/2016 1:38 AM, Eric Fiselier wrote: >> >>> I recognize these failures, and I think they should be fixed when >>> building with clang 3.8. IIRC the cause of the errors is that >>> libc++abi.so linked to the wrong unwinding libraries pre-3.8. I believe >>> the relevant commit is r255559 (http://reviews.llvm.org/rL255559). >>> >>> PS. You should use -DLLVM_ENABLE_LIBCXX=ON instead of >>> -DCMAKE_CXX_FLAGS='-stdlib=libc++'. >>> >>> >> Thanks. I'll switch to 3.8 once it's released. >> >> >> -Krzysztof >> >> >> -- >> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted >> by The Linux Foundation >> > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160307/2a79e3a4/attachment.html>
On 3/7/2016 10:57 AM, Eric Fiselier wrote:> You don't even have to switch to a full 3.8 stack. You just have to > install a new libc++abi.so, which you can build with 3.7.I have replaced libc++abi.so and .a in my 3.7.0 installation with the ones from ToT and everything is clean again. Thanks for help! -Krzysztof -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation