Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jan 2016 22:26:00 -0800
From:      Mark Millard <markmi@dsl-only.net>
To:        FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Probably expected? TARGET_ARCH=powerpc vs. WITH_LLDB= builds: missing atomic operations block it
Message-ID:  <35E741D8-D0F8-415E-ACBD-B9C864598AD0@dsl-only.net>

index | next in thread | raw e-mail

It is probably expected but I'll note that if one tries WITH_LLDB= for TARGET_ARCH=powerpc (non-64) the lldb build fails because of missing atomic-8-Byte-wide operations --at least if it is a clang 3.8.0 based build.


/usr/src/lib/clang/liblldbAPI/../../../contrib/llvm/tools/lldb/source/API/SBThread.cpp:(.text+0x2b38): undefined reference to `__atomic_load_8'
. . .
/usr/src/lib/clang/liblldbAPI/../../../contrib/llvm/tools/lldb/source/API/SBTarget.cpp:(.text+0x24bc): undefined reference to `__atomic_store_8'
. . .
/usr/src/lib/clang/liblldbAPI/../../../contrib/llvm/tools/lldb/source/API/SBSymbol.cpp:(.text+0x7e0): undefined reference to `__atomic_fetch_add_8'
. . .




===
Mark Millard
markmi at dsl-only.net



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35E741D8-D0F8-415E-ACBD-B9C864598AD0>