(original) (raw)
But on the Libc++AndAbiBuilder, there's no way to set the CMake
argument (or is there?):
No, there isn't. Should be simple enough to add though. I'd add it as a dict param.
On Mon, Oct 20, 2014 at 8:11 AM, Jonathan Roelofs <jonathan@codesourcery.com> wrote:
+Dan Albert
On 10/20/14 4:53 AM, Renato Golin wrote:
\> Folks,
\>
\> I'm trying to set up a libc++ buildbot on ARM and I found an
\> inconsistency which I'm not sure how to fix.
\>
\> I got a build error like this:
\>
\> libc++abi.so: undefined reference to \`\_Unwind\_GetGR'
\>
\> Since I expected that the symbol would be provided by that library, I
\> searched the CMake on libc++abi and found this:
\>
\> option(LIBCXXABI\_USE\_LLVM\_UNWINDER "Build and use the LLVM unwinder." OFF)
\> ...
\> if (LIBCXXABI\_USE\_LLVM\_UNWINDER)
\> add\_subdirectory(src/Unwind)
\> endif()
\>
\> But on the Libc++AndAbiBuilder, there's no way to set the CMake
\> argument (or is there?):
I \*think\* you can add "-DLIBCXXABI\_USE\_LLVM\_UNWINDER" to the env argument and
get what you want, but Dan will have to correct me on that...
>
\> def getLibcxxAndAbiBuilder(f=None, env={}, additional\_features=set()):
\>
\> "additional\_features" seem to imply only lit test args, not anything else.
They are lit test args, and triggers for -D defines for various weird
configurations (e.g. single threaded). I don't think there is one for the
unwinder (nor do I think it makes sense to add one for that).
Cheers,
Jon
-->
\> Ideas?
\>
\> cheers,
\> --renato
\> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
\> LLVM Developers mailing list
\> LLVMdev@cs.uiuc.edu http://llvm.cs.uiuc.edu
\> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
\>
Jon Roelofs
jonathan@codesourcery.com
CodeSourcery / Mentor Embedded