Problems compiling elfxx-sparc.c

Nick Clifton nickc@redhat.com
Thu Apr 21 10:50:00 GMT 2005


Hi David,

> These should all be cured by the following patch which I just
> checked in.   Let me know if any warnings still remain.

Maybe I have done something stupid, but I now get:

   ../bfd/.libs/libbfd.a(elfxx-sparc.o)(.text+0x46b6): In function
     `_bfd_sparc_elf_finish_dynamic_symbol':
     .../bfd/elfxx-sparc.c:3429: undefined reference to
     `bfd_elf64_swap_reloca_out'

   ../bfd/.libs/libbfd.a(elfxx-sparc.o)(.text+0x4aae): In function
     `_bfd_sparc_elf_finish_dynamic_sections':
     .../bfd/elfxx-sparc.c:3542: undefined reference to
     `bfd_elf64_swap_dyn_in'

    .../bfd/elfxx-sparc.c:3577: undefined reference to
     `bfd_elf64_swap_dyn_out'

   ../bfd/.libs/libbfd.a(elfxx-sparc.o)(.text+0x4a3): In function
     `sparc_elf_append_rela_64':
     .../bfd/elfxx-sparc.c:509: undefined reference to
     `bfd_elf64_swap_reloca_out'

This is when building gas for a toolchain configured as "sparc-elf" and 
built on a 32bit host using GCC 3.4.

Cheers
   Nick



More information about the Binutils mailing list