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

Luis Machado luis.machado@arm.com
Wed Apr 27 11:25:16 GMT 2022


On 4/27/22 10:57, Pedro Alves wrote:
> 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.

Ah, thanks. I'll give that a try. There might be other misplaced entries.


More information about the Binutils mailing list