[LLVMdev] Libc++abi tests on ARM
Logan Chien
tzuhsiang.chien at gmail.com
Mon May 12 12:20:58 PDT 2014
Hi Renato,
There is a known issue in the code generated by LLVM.
As a workaround, I am adding "-funwind-tables" to compile the unit tests.
BTW, the LLVM revision which I am using is r207501.
It seems that the recent master has come regression on unwind_04 and
unwind_05.
I am bisecting at the moment.
Sincerely,
Logan
On Mon, May 12, 2014 at 6:11 PM, Renato Golin <renato.golin at linaro.org>wrote:
> Hi Logan,
>
> I'm running the tests on libc++abi on ARM and I'm seeing some errors.
> On your earlier email you said you ran the tests clean, and I was
> wondering what magic do I need to get the same results. :)
>
> I had to change the build and test scripts a little to make it compile
> on Linux, but nothing radical. I also had to copy (and link) the
> libc++abi.so files on install/lib and use that clang.
>
> On the test script, I've added "-lc++abi -lpthread" to OPTIONS and
> added LD_LIBRARY_PATH="../../install/lib" to help it find libc++. With
> that, I still got 6 failures:
>
> terminating with uncaught exception of type char*
> Aborted (core dumped)
> catch_array_02.cpp failed at run time
>
> terminating with uncaught exception of type void (*)()
> Aborted (core dumped)
> catch_function_02.cpp failed at run time
>
> terminating with uncaught exception of type derived*
> Aborted (core dumped)
> catch_ptr_02.cpp failed at run time
>
> terminating with uncaught exception of type int
> Aborted (core dumped)
> unwind_01.cpp failed at run time
>
> terminating with uncaught exception of type int
> Aborted (core dumped)
> unwind_02.cpp failed at run time
>
> terminating with uncaught exception of type char
> Aborted (core dumped)
> unwind_04.cpp failed at run time
>
> Have you seen these failures? I haven't dug deep enough, just
> wondering if it's something I'm (not) doing.
>
> cheers,
> --renato
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140513/60df4218/attachment.html>
More information about the llvm-dev
mailing list