Re: Please build binutils/hppa with enable-targets="hppa-linux-gnu hppa64-linux-gnu"
Hello!
> Could you please add
> --enable-targets="hppa-linux-gnu hppa64-linux-gnu"
> to the binutils configure command for the hppa (32-bit) build?
> That way it will provide support for 32 and 64-bit hppa-linux elf formats,
> which is needed e.g. while building the debian linux kernel package.
> (kernel build uses "strip" and "objdump" 32-bit variants but want to process a 64-bit object file).
Please try adding:
CONFARGS_TARGET_hppa = --enable-targets=hppa-linux-gnu
to the list in [1]. Not sure whether we need hppa64 to this list [2] further above.
The same should probably be done for the gcc package so that you don't need to build-depend on
gcc-13-hppa64-linux-gnu in debian/control of src:linux.
Currently, building 64-bit kernels on hppa seems to deviate from what i386, powerpc and sparc
do as these 32-bit targets also build 64-bit kernels. hppa should be aligned to build its 64-bit
kernels on a 32-bit target the same way as the aforementioned 32-bit targets. It's the fact that
hppa does it differently that's causing the current FTBFS of src:linux on hppa.
Adrian
> [1] https://salsa.debian.org/toolchain-team/binutils/-/blob/master/debian/rules.defs?ref_type=heads#L126
> [2] https://salsa.debian.org/toolchain-team/binutils/-/blob/master/debian/rules.defs?ref_type=heads#L56
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply to: