#2092 missing binutils headers on ia64

closed-fixed
Borut Ražem
librarian (5)
5
2013-05-25
2012-10-16
Tijl Coosemans
No

When building sdcc on FreeBSD/ia64 there are errors about missing header files:

http://pointyhat.freebsd.org/errorlogs/ia64-errorlogs/e.9.20120916093935/sdcc-3.2.0_2.log

libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -I. -I./../include -DHAVE_bfd_elf64_ia64_little_vec -DHAVE_bfd_elf64_ia64_big_vec -DHAVE_bfd_pei_ia64_vec -DHAVE_bfd_elf64_little_generic_vec -DHAVE_bfd_elf64_big_generic_vec -DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec -DBINDIR=\"/usr/local/bin\" -I/usr/local/include -I/usr/local/include -I. -I. -I././support/util -I. -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -O2 -pipe -fno-strict-aliasing -MT elf64-ia64.lo -MD -MP -MF .deps/elf64-ia64.Tpo -c elf64-ia64.c -o elf64-ia64.o
elf64-ia64.c:27:25: error: opcode/ia64.h: No such file or directory

http://seis.bris.ac.uk/~mexas/ia64-sdcc.log

libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I. -I./../include -DHAVE_bfd_elf64_ia64_little_vec -DHAVE_bfd_elf64_ia64_big_vec -DHAVE_bfd_pei_ia64_vec -DHAVE_bfd_elf64_little_generic_vec -DHAVE_bfd_elf64_big_generic_vec -DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec -DBINDIR=\"/usr/local/bin\" -I/usr/local/include -I/usr/local/include -I. -I. -I././support/util -I. -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -O2 -pipe -fno-strict-aliasing -MT cpu-ia64.lo -MD -MP -MF .deps/cpu-ia64.Tpo -c cpu-ia64.c -o cpu-ia64.o
In file included from cpu-ia64.c:58:
cpu-ia64-opc.c:31:33: error: ../opcodes/ia64-opc.h: No such file or directory

Adding both files from binutils fixes the problem:
support/sdbinutils/include/opcode/ia64.h
support/sdbinutils/opcodes/ia64-opc.h

Discussion

  • Borut Ražem
    Borut Ražem
    2012-10-16

    support/sdbinutils/opcodes/ia64-opc.h added in svn revision #8148,
    support/sdbinutils/include/opcode/ia64.h was already added in svn revision #8144.

    Tijl, please test it and let me know if it works.

    Borut

     
  • Borut Ražem
    Borut Ražem
    2012-10-16

    • milestone: --> fixed
    • assigned_to: nobody --> borutr
    • labels: --> 355281
    • status: open --> pending-fixed
     
  • Borut Ražem
    Borut Ražem
    2012-10-16

    • labels: 355281 --> librarian
     
  • Tijl Coosemans
    Tijl Coosemans
    2012-10-16

    • status: pending-fixed --> open-fixed
     
  • Tijl Coosemans
    Tijl Coosemans
    2012-10-16

    Yes, it works. Thanks.

     
  • Borut Ražem
    Borut Ražem
    2012-10-16

    • status: open-fixed --> closed-fixed