From owner-freebsd-arch@FreeBSD.ORG Thu Nov 20 21:12:01 2014 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 312DB667 for ; Thu, 20 Nov 2014 21:12:01 +0000 (UTC) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0C824D51 for ; Thu, 20 Nov 2014 21:12:00 +0000 (UTC) Received: from [192.168.200.212] (unknown [50.136.155.142]) (using SSLv3 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id F1954193964 for ; Thu, 20 Nov 2014 21:11:58 +0000 (UTC) Subject: Re: mips misbehaving, not respecting make.conf From: Sean Bruno Reply-To: sbruno@freebsd.org To: freebsd-arch In-Reply-To: <1416511954.7423.28.camel@bruno> References: <1416179733.1098.1200.camel@bruno> <2A2AD781-06B3-4450-9631-D83822016D0B@bsdimp.com> <1416183055.1098.1205.camel@bruno> <7C1D8D61-0486-4783-A3E2-73189AE83023@bsdimp.com> <1416193104.1098.1207.camel@bruno> <80ABD62A-DF08-4CF6-A4C6-B2AFC6E3CF21@gmail.com> <1416246960.1248.22.camel@bruno> <1416511954.7423.28.camel@bruno> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-AOn8xvdX1HJ8it4ML4dq" Date: Thu, 20 Nov 2014 13:11:57 -0800 Message-ID: <1416517917.7423.31.camel@bruno> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2014 21:12:01 -0000 --=-AOn8xvdX1HJ8it4ML4dq Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Thu, 2014-11-20 at 11:32 -0800, Sean Bruno wrote: > > This is one of the many reasons I expected you to copy these > > binaries over the native ones rather than have them in a side tree. > >=20 > > Warner >=20 > Been trying to resolve the linking issues when copying the native-xtools > tool chain target binaries into my chroots. I don't think binutils is > getting setup correctly to handle the final linking as I see a lot of > crt1.o errors, bison being the most obvious here. >=20 > https://people.freebsd.org/~sbruno/bison_config_log.txt >=20 > It looks like the linking stage is trying to assemble amd64 here? >=20 > configure:8450: checking lex library > configure:8464: cc -std=3Dgnu99 -o conftest -pipe -G0 -g -fno-strict-ali= asing -I/usr/local/include -D_THREAD_SAFE -L/usr/local/lib conftest.c >&= 5 > /usr/lib/crt1.o: In function `__start': > crt1.c:(.text+0x190): undefined reference to `main' > crt1.c:(.text+0x194): undefined reference to `main' > configure:8464: $? =3D 1 > configure: failed program w >=20 > sean Simply abusing the path in login.conf, profile and cshrc things will manifest this for me, e.g. placing /nxb-bin/bin /nxb-bin/usr/bin etc first in path variables. I don't think this is directly related to my copying of the native-xtools target binaries into the jail. sean --=-AOn8xvdX1HJ8it4ML4dq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAABCgBmBQJUblkdXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kIBgIAKhEpUocUQTb2hHqp3Pi3/fR d0kw4oI5mkg/tBSRHlRPLDKJP0tATm0qXoHoW+W3sbzJAxFXGBnXNq2cYjsv2wfM 85XuKyes017gfj2uw2bugj+RJu4C2IAcaTmqGsciCvrRsLFsw0Sks3dGX6UA/ssZ AC/cxdhgwiF717dQj1VUPVnhLyYyjaBzM1WqPqhPCsQt8hqKg0WNrbmLlI/Wl4+2 P1vBBVDyAWa2aSU8MC0qAeDixjDLjl5fcYceNubue/xECIbPg7QVa9xiLsgraIMp fszV5Ft3TOgiPFI72JMx3VPNNkdbMgT5m57nbImPipPnFMKJw6DedYvBjH968K4= =oSGz -----END PGP SIGNATURE----- --=-AOn8xvdX1HJ8it4ML4dq--