[lld] r278550 - [ELF] - Fix for: error "invalid section index: xxx" when linking FreeBSD kernel.

Ed Maste via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 25 18:18:54 PDT 2016


On 25 August 2016 at 12:10, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:
>>> That gas bug can be avoided by using --strip-local-absolute, so it is
>>> not clear that it is a good idea to hack around such a broken file in
>>> lld.
>>
>> There are a couple of pre-built drivers that can be included in the
>> kernel that have this issue. If we don't want this change in lld we
>> can disable them when building FreeBSD with lld.
>
> I would like to avoid having this forever. It is probably ok having it
> as a short term hack. Would it be possible to have those drivers
> rebuild for 11.1?

As far as I'm concerned if we want to revert the change it's easy
enough to just disable those drivers for now (until they're rebuilt)
in order to continue testing lld. Perhaps others have cases that
aren't easily worked around though?


More information about the llvm-commits mailing list