Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jul 2017 14:00:04 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Mark Millard <markmi@dsl-only.net>
Cc:        FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   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
Message-ID:  <B6B47C09-DC41-4170-A6E8-F5CC1C41B74D@FreeBSD.org>
In-Reply-To: <FEB83F55-C486-487B-BC18-70F9DBF149F0@dsl-only.net>
References:  <9EF818CD-73FC-4283-8CC2-4BA21342CFB1@dsl-only.net> <98DFB763-0CA4-45B3-98E3-050462A9EC15@dsl-only.net> <FEB83F55-C486-487B-BC18-70F9DBF149F0@dsl-only.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_6B3B8035-C0B4-4236-B8CB-95C8A089163E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 23 Jul 2017, at 11:17, Mark Millard <markmi@dsl-only.net> wrote:
>=20
> [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.]
...
>=20
> Here is the lldb.full failure text:
>=20
> --- 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


--Apple-Mail=_6B3B8035-C0B4-4236-B8CB-95C8A089163E
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.1

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCWXSPxAAKCRCwXqMKLiCW
o4fGAKC6paktjc3FjeugD7G2Z1Blgv37CACfaIuPgQz01nZNu7vi5tx89lWkSiE=
=6M72
-----END PGP SIGNATURE-----

--Apple-Mail=_6B3B8035-C0B4-4236-B8CB-95C8A089163E--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B6B47C09-DC41-4170-A6E8-F5CC1C41B74D>