From owner-freebsd-ppc@freebsd.org Sun Jul 23 12:00:21 2017 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B1AB7D7C0C4; Sun, 23 Jul 2017 12:00:21 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:470:7a58:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 772C8824FF; Sun, 23 Jul 2017 12:00:21 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from coleburn.home.andric.com (coleburn.home.andric.com [192.168.0.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id ACB77261F8; Sun, 23 Jul 2017 14:00:20 +0200 (CEST) From: Dimitry Andric Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_6B3B8035-C0B4-4236-B8CB-95C8A089163E"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) 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 Date: Sun, 23 Jul 2017 14:00:04 +0200 In-Reply-To: Cc: FreeBSD Toolchain , FreeBSD PowerPC ML , FreeBSD Current To: Mark Millard References: <9EF818CD-73FC-4283-8CC2-4BA21342CFB1@dsl-only.net> <98DFB763-0CA4-45B3-98E3-050462A9EC15@dsl-only.net> X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jul 2017 12:00:21 -0000 --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 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--