On 24.10.2019 11:23, Kamil Rytarowski wrote: > On 24.10.2019 01:20, Robert Swindells wrote: >> >> Kamil Rytarowski <n54%gmx.com@localhost> wrote: >>> On 23.10.2019 19:28, Robert Swindells wrote: >>>> >>>> There is a restriction in our ld.elf_so that it can only load two >>>> segments. >>> >>> Please test the patch from: >>> >>> http://mail-index.netbsd.org/tech-toolchain/2019/01/06/msg003368.html >> >> The patch works for me. >> >> Would something like this get into NetBSD-9 ? >> > > Unless we will get a patch with a better version, I plan to land it > after 2 weeks and pull-request to -9. > > BTW. Please share your rebased version. > Ping? This blocks LLD for NetBSD.. e.g.: /public/netbsd-root/tooldir.NetBSD-9.99.17-amd64/lib/gcc/x86_64--netbsd/8.3.0/../../../../x86_64--netbsd/bin/ld: /public/netbsd-root/tooldir.NetBSD-9.99.17-amd64/libexec/gcc/x86_64--netbsd/8.3.0/liblto_plugin.so: error loading plugin: /public/netbsd-root/tooldir.NetBSD-9.99.17-amd64/libexec/gcc/x86_64--netbsd/8.3.0/liblto_plugin.so: wrong number of segments (3 != 2) collect2: error: ld returned 1 exit status I intend to land our patch after 1 week into src/.
Attachment:
signature.asc
Description: OpenPGP digital signature