On Saturday, 03 January 2026, Hector Oron wrote:

> Hello,
>
> El vie, 2 ene 2026, 20:37, Helmut Grohne <[email protected]> escribió:
>
>> gdb fails to cross build from source for three distinct reasons.
>>
>> 1. The build-dependency on gobjc is not satisfiable. It is a toolchain
>>    dependendency and needs to specify what the compiler is being used
>>    for. Most commonly, one targeting the host architecture is needed.
>>    This is achieved by using gobjc-for-host.
>>
>> 2. The build-dependency on python3-dev is not installable. It implies a
>>    host architecture Python interpreter. Python extensions should
>>    depend on python3-dev:native plus libpython3-dev instead.
>>
>> 3. In bfd/doc, chew.c uses host compiler flags with the build compiler.
>>    This fails badly when compiling for amd64 or arm64.
>>
>> I'm attaching a patch that addresses all mentioned issues. Please
>> consider applying it. The part fixing chew.c should be suitable for
>> upstream inclusion.
>>
>
> Thanks for the patch, we'll look into this, however note that this should
> not be blocking cross development and gdb team suggests to use
> gdb-multiarch for cross development purposes.
>
> Thanks again for your work on this

Thanks Helmut and Hector.  I have been a bit busy with other stuff
recently but I plan to take a look at this bug during the weekend.

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
https://sergiodj.net/

Reply via email to