[PATCH 0/7] kvx: New port.

Paul Iannetta piannetta@kalrayinc.com
Mon Jul 24 14:30:22 GMT 2023


Hi Nick,

> On Mon, Jul 24, 2023 at 10:28:07AM +0100, Nick Clifton wrote:
> >  [snip]
> >   On a related note, building a toolchain configure as --enable-64-bit-bfd --enable-targets=all
> >   results in:
> > 
> > /bin/ld: ../bfd/.libs/libbfd.a(targets.o):(.rodata+0xbc8): undefined reference to `kvx_elf64_vec'
> > /bin/ld: ../bfd/.libs/libbfd.a(targets.o):(.rodata+0x1b98): undefined reference to `kvx_elf64_vec'
> > /bin/ld: ../bfd/.libs/libbfd.a(targets.o):(.rodata+0x1ba0): undefined reference to `kvx_elf64_linux_vec'
> > collect2: error: ld returned 1 exit status
> > 
> >   I believe that this is because you are missing an entry for elf64-kvx.lo
> >   from the BFD64_BACKENDS list defined in bfd/Makefile.am...
> 
> Thanks, I'll have a look.

I have removed references to `kvx_elf64_linux_vec', and followed your
advice, it should now compile if you apply the attached patch and
remove the line using the TOKEN_STR macro.

Thanks,
Paul


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: commitmsg
URL: <https://sourceware.org/pipermail/binutils/attachments/20230724/d06645e1/attachment-0001.ksh>


More information about the Binutils mailing list