[PATCH] Makefile: Force GNU hashing

Jeff Law jlaw at ventanamicro.com
Mon Aug 14 06:11:00 PDT 2023



On 8/14/23 07:08, Andreas Schwab wrote:
> On Aug 14 2023, Jeff Law wrote:
> 
>> On 8/14/23 01:40, Andreas Schwab wrote:
>>> On Aug 14 2023, Mayuresh Chitale wrote:
>>>
>>>> The Yocto QA step verifies that binaries and DSOs use DT_GNU_HASH rather than
>>>> DT_HASH. If the linker is called directly, then we need to make sure to pass in
>>>> the hashing style.
>>> Why does it matter?  The ultimate output is a flat binary.
>> It matters because the Yocto QA step will fail.
> 
> Why does it even look at it?  It's only an intermediate build product.
Because that's how Yocto works?  Hell if I know and it wasn't something 
I wanted to spend a lot of time investigating.  Fighting with Yocto over 
something that doesn't change the behavior of the resulting image isn't 
something I felt was worth a lot of my time -- for various reasons.

jeff



More information about the opensbi mailing list