mips misbehaving, not respecting make.conf

Sean Bruno sbruno at ignoranthack.me
Sun Nov 16 23:42:56 UTC 2014


> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20141116/f966446d/attachment.sig>


More information about the freebsd-arch mailing list