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
[-- Attachment #1 --] > 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=192394 . > > The prefixing/sysroot isn¢t 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 the base system build) would be to reconfigure it with a particular sysroot: > > $ ./configure --help | grep -A 3 sysroot > --with-build-sysroot=sysroot > use sysroot as the system root during the build > --with-sysroot=DIR Search for usr/lib, usr/include, et al, within DIR. > --with-gnu-ld assume the C compiler uses GNU ld default=no > --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib > --without-libiconv-prefix don't search for libiconv in includedir and libdir > $ svn info configure | grep ^URL: > URL: svn+ssh://ngie@svn.freebsd.org/base/head/contrib/gcc/configure > > I believe clang is smart enough to compile/link because it is setup to grok multiple formats, but I¢ll defer to the clang team to definitively state whether or not that¢s the case. > > 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 [-- Attachment #2 --] -----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1416181373.1098.1201.camel>
