Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Nov 2014 15:42:53 -0800
From:      Sean Bruno <sbruno@ignoranthack.me>
To:        Garrett Cooper <yaneurabeya@gmail.com>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: mips misbehaving, not respecting make.conf
Message-ID:  <1416181373.1098.1201.camel@bruno>
In-Reply-To: <735BCED8-EBC1-4B65-AA34-1866ECDF3070@gmail.com>
References:  <1416179733.1098.1200.camel@bruno> <735BCED8-EBC1-4B65-AA34-1866ECDF3070@gmail.com>

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

--=-W3/JMude3f8dCFyi6TKF
Content-Type: text/plain; charset="iso-8859-7"
Content-Transfer-Encoding: quoted-printable


> It all kinds of boils down to this bug with the configuration of our base=
 system copy of gcc: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D19=
2394 .
>=20
> The prefixing/sysroot isn=A2t being setup properly, which means that you =
have to use $PATH to tell gcc and friends which tool you want to use (which=
 make buildworld, etc does). One way to fix this (if we used autoconf in th=
e base system build) would be to reconfigure it with a particular sysroot:
>=20
> $ ./configure --help | grep -A 3 sysroot
>   --with-build-sysroot=3Dsysroot
>                           use sysroot as the system root during the build
>   --with-sysroot=3DDIR Search for usr/lib, usr/include, et al, within DIR=
.
>   --with-gnu-ld           assume the C compiler uses GNU ld default=3Dno
>   --with-libiconv-prefix[=3DDIR]  search for libiconv in DIR/include and =
DIR/lib
>   --without-libiconv-prefix     don't search for libiconv in includedir a=
nd libdir
> $ svn info configure | grep ^URL:
> URL: svn+ssh://ngie@svn.freebsd.org/base/head/contrib/gcc/configure
>=20
> I believe clang is smart enough to compile/link because it is setup to gr=
ok multiple formats, but I=A2ll defer to the clang team to definitively sta=
te whether or not that=A2s the case.
>=20
> Thanks!


In my scenario, I'm using the native-xtools target, which may/may not be
doing this?  If you understand make-foo, can you look at the target and
see if this is DTRT?

sean

--=-W3/JMude3f8dCFyi6TKF
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQF8BAABCgBmBQJUaTZ9XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx
MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5knk0H/RckUKrgbzDcZB7S4PY9+Y3p
ULmeUNPC2YsusB8iJTj4ymn5YLxG5jk84gsssNsTJA+8YWvXNis1VfQpAI2YQWv9
kTZZJkxqrLqdS3kuoaoXdH0u6GrloBbMXCL/hv0H1yOvarP8MaIJP5M3qBJPebDm
0ayWb4+38JZ8FlToVav9vHfSI0DdQRNUIE9LVKn60D6hdmPJpBiN7lc61doL6aoG
auNsvFiNPnDSnTllluMmmg46emjYXxigRMpPmvA8+D/sMI/CuDMyITIdZtVY/SqW
8u7oR0vg1NNkA5KqCbLGYwlomQ1ZxDV8SdfOOyMeiKDfoxMrXkDU4+MIDIuTtX4=
=AQnm
-----END PGP SIGNATURE-----

--=-W3/JMude3f8dCFyi6TKF--




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