Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8295795

hsdis does not build with binutils 2.39+

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • 20, 22
    • hotspot
    • b21

      ```
      $ sh ./configure --with-boot-jdk=jdk19u-ea --with-hsdis=binutils --with-binutils-src=binutils-2.39
      $ make clean build-hsdis

      === Output from failing command(s) repeated here ===
      * For target support_hsdis_hsdis-binutils.o:
      /home/shade/trunks/jdk/src/utils/hsdis/binutils/hsdis-binutils.c: In function 'init_disassemble_info_from_bfd':
      /home/shade/trunks/jdk/src/utils/hsdis/binutils/hsdis-binutils.c:564:3: error: too few arguments to function 'init_disassemble_info'
        564 | init_disassemble_info(dinfo, stream, fprintf_func);
            | ^~~~~~~~~~~~~~~~~~~~~
      In file included from /home/shade/trunks/jdk/src/utils/hsdis/binutils/hsdis-binutils.c:62:
      /home/shade/trunks/jdk/binutils-2.39/include/dis-asm.h:472:13: note: declared here
        472 | extern void init_disassemble_info (struct disassemble_info *dinfo, void *stream,
            | ^~~~~~~~~~~~~~~~~~~~~
      ```

            rehn Robbin Ehn
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: