On Fri, 21 Oct 2022 15:26:59 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:

> Fails like this:
> 
> 
> $ 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,
>       | ^~~~~~~~~~~~~~~~~~~~~
> 
> 
> Additional testing:
>  - [x] Linux x86_64 build with binutils 2.38 (still works)
>  - [x] Linux x86_64 build with binutils 2.39 (now works)
>  - [ ] JMH -prof perfasm with binutils-2.39-built hsdis

This pull request has been closed without being integrated.

-------------

PR: https://git.openjdk.org/jdk/pull/10817

Reply via email to