Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Nov 2014 13:11:57 -0800
From:      Sean Bruno <sbruno@ignoranthack.me>
To:        freebsd-arch <freebsd-arch@freebsd.org>
Subject:   Re: mips misbehaving, not respecting make.conf
Message-ID:  <1416517917.7423.31.camel@bruno>
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> <E232943F-1319-4C6C-9261-7D9A75DC851B@bsdimp.com> <1416511954.7423.28.camel@bruno>

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

--=-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--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1416517917.7423.31.camel>