[RFC] external compiler support

Simon J. Gerraty sjg at juniper.net
Thu Feb 28 21:59:19 UTC 2013


On Thu, 28 Feb 2013 11:19:47 -0600, Brooks Davis writes:
>> .meta files are great for finding out what the compiler is really doing ;=
>-)
>
>I'm curious, is there a way to log failed fail accesses in metamode?  I

No, we deliberatly only log the successful syscalls - since those are
the only ones relevant to make.

You can run the compiler under ktrace to see all the failed searches.

>Ah, I see.  The only thing I know of that currently stops the base
>system compiler from being used with --sysroot is that ld doesn't
>support it unless it's compiled with a sysroot.  This seems inane to me.
>I've been tempted for a while to compile it with a default sysroot of
>"/" to enable sysroot support.

That would be good.

>OK, that makes sense and should work.  I think I'm inclined to go with
>my current approach for now and then migrate to what ever form of
>${CFLAGS_LAST} and friends that we end up with after we've debated the
>issues there and decided how much abstraction we really want.

Sure.


More information about the freebsd-arch mailing list