<div dir="ltr"><br><br><div class="gmail_quote">On Fri, Mar 20, 2015 at 12:31 PM Ed Maste <<a href="mailto:emaste@freebsd.org">emaste@freebsd.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 20 March 2015 at 12:07, David Blaikie <<a href="mailto:dblaikie@gmail.com" target="_blank">dblaikie@gmail.com</a>> wrote:<br>
><br>
><br>
> On Fri, Mar 20, 2015 at 7:54 AM, Eric Christopher <<a href="mailto:echristo@gmail.com" target="_blank">echristo@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Mostly that the only platform we knew it worked on was Linux and didn't<br>
>> want to make it error out.<br>
><br>
> Hmm - why did we not want it to error on unsupported platforms?<br>
<br>
Personally I'd rather have an error than silently ignoring the option.<br>
<br>
However, a comment on the related topic of enabling functionality on<br>
only Linux because it's known to work there. For FreeBSD at least I'd<br>
much rather we take the opposite approach in general. Allow new<br>
functionality globally, and let other maintainers disable it if<br>
necessary. (If the functionality is known to fail on not-Linux that's<br>
a different matter, of course. It's the cases where it's not known<br>
either way that I'm thinking of.)<br>
<br>
For cases like this -gsplit-dwarf where the functionality is opt-in<br>
under an option, it seems that we should just do what the user asks.<br>
We can expect them to provide the dependencies required.<br>
<br>
In FreeBSD we've been putting a lot of effort into the toolchain<br>
recently. We've had Clang/LLVM as the system compiler since FreeBSD<br>
10.0 in January 2014, and we've started migrating to tools like strip,<br>
strings, size, nm and such from the ELF Tool Chain project. For the<br>
upcoming FreeBSD 11.x release our base system toolchain should also<br>
consist of LLDB and LLD. I'd rather find out about new functionality<br>
that's missing in one of those tools as early as possible and have to<br>
explicitly disable it, than find out after the fact that it wasn't<br>
even tried.<br>
<br>
I'd be interested in hearing what the maintainers of other ELF targets think.<br>
</blockquote></div></div>