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

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 25 05:10:24 PDT 2016


>> 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?

Cheers,
Rafael


More information about the llvm-commits mailing list