bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29184: binutils 2.29 fails to set RUNPATH in gcc-cross-boot0


From: Ludovic Courtès
Subject: bug#29184: binutils 2.29 fails to set RUNPATH in gcc-cross-boot0
Date: Sat, 17 Mar 2018 19:27:08 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Marius Bakke <address@hidden> skribis:

> Ludovic Courtès <address@hidden> writes:
>
>> Hi!
>>
>> Marius Bakke <address@hidden> skribis:
>>
>>> I tried to cherry-pick the binutils 2.29 update
>>> (b0a14e5628eb56052f0c3d21a7b5375f5813b01d), but it breaks the
>>> 'validate-runpath' phase of gcc-cross-boot0:
>>>
>>> starting phase `validate-runpath'
>>> validating RUNPATH of 8 binaries in 
>>> "/gnu/store/ybh1ifgzs717mz5dp1pk2nrgakqg1l8x-gcc-cross-boot0-5.5.0/libexec"...
>>> /gnu/store/ybh1ifgzs717mz5dp1pk2nrgakqg1l8x-gcc-cross-boot0-5.5.0/libexec/gcc/x86_64-guix-linux-gnu/5.5.0/cc1:
>>>  error: depends on 'ld-linux-x86-64.so.2', which cannot be found in RUNPATH 
>>> ()          
>>
>> Oh, it looks like this new Binutils adds ld-linux.so to NEEDED, which
>> was not the case until now.
>>
>> I’ve looked at NEWS files but I don’t see where this is coming from.
>
> This turned out to be because "--enable-new-dtags" is now a configure
> flag which defaults to off.  So the patch to enable it was overridden
> later in ldmain.c.  I removed the patch and enabled the configure flag.

Woow, good catch, thanks Marius!

Ludo'.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]