Re: -r321371 amd64 -> powerpc64 cross build: lldb.full link fails with: c++: error: linker command failed with exit code 1, -B/usr/local/powerpc64-freebsd/bin/ in use

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sun, 23 Jul 2017 14:00:04 +0200
On 23 Jul 2017, at 11:17, Mark Millard <markmi_at_dsl-only.net> wrote:
> 
> [Linking lldb.full via 2.28 of /usr/local/powerpc64-freebsd/bin/ld
> also fails with "exit code 1" (using WIHTOUT_LLD so it gets that
> far). I'll continue via WITHOUT_LLDB.]
...
> 
> Here is the lldb.full failure text:
> 
> --- all_subdir_usr.bin ---
> --- all_subdir_usr.bin/clang/lldb ---
> c++: error: linker command failed with exit code 1 (use -v to see invocation)

Unfortunately the actual linker errors were above these lines, so you
will have to look them up in the full build log (search for "undefined
symbol"), or post that somewhere off-list.

I'm suspecting you get the same type of error Shawn's been getting while
linking lldb.  Apparently in some scenarios more object files are needed
than the minimum set I put in liblldb's Makefile.

-Dimitry


Received on Sun Jul 23 2017 - 10:00:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:12 UTC