[PATCH, v2] Fix 32-bit build for --enable-targets=all

Pedro Alves pedro@palves.net
Wed Apr 27 09:57:26 GMT 2022


On 2022-04-26 07:31, Luis Machado via Binutils wrote:
>>
> 
> Maybe some targets shouldn't be accepted as part of a 32-bit --enable-targets=all for GDB/sim. Removing those "problematic" targets from the list might be another possible approach I suppose.

That is already the case.  See ALL_64_TARGET_OBS vs ALL_TARGET_OBS in gdb/Makefile.in:

 # All target-dependent objects files that require 64-bit CORE_ADDR
 # (used with --enable-targets=all --enable-64-bit-bfd).
 ALL_64_TARGET_OBS = \

 # All other target-dependent objects files (used with --enable-targets=all).
 ALL_TARGET_OBS = \


Sounds like you'd just want to move bpf-tdep.o from ALL_TARGET_OBS to ALL_64_TARGET_OBS.


More information about the Binutils mailing list