* bug#29184: binutils 2.29 fails to set RUNPATH in gcc-cross-boot0
@ 2017-11-06 22:07 Marius Bakke
2017-11-07 10:39 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Marius Bakke @ 2017-11-06 22:07 UTC (permalink / raw)
To: 29184
[-- Attachment #1: Type: text/plain, Size: 3146 bytes --]
I tried to cherry-pick the binutils 2.29 update
(b0a14e5628eb56052f0c3d21a7b5375f5813b01d), but it breaks the
'validate-runpath' phase of gcc-cross-boot0:
--8<---------------cut here---------------start------------->8---
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 ()
/gnu/store/ybh1ifgzs717mz5dp1pk2nrgakqg1l8x-gcc-cross-boot0-5.5.0/libexec/gcc/x86_64-guix-linux-gnu/5.5.0/cc1plus: error: depends on 'ld-linux-x86-64.so.2', which cannot be found in RUNPATH ()
/gnu/store/ybh1ifgzs717mz5dp1pk2nrgakqg1l8x-gcc-cross-boot0-5.5.0/libexec/gcc/x86_64-guix-linux-gnu/5.5.0/collect2: error: depends on 'ld-linux-x86-64.so.2', which cannot be found in RUNPATH ()
/gnu/store/ybh1ifgzs717mz5dp1pk2nrgakqg1l8x-gcc-cross-boot0-5.5.0/libexec/gcc/x86_64-guix-linux-gnu/5.5.0/lto-wrapper: error: depends on 'ld-linux-x86-64.so.2', which cannot be found in RUNPATH ()
/gnu/store/ybh1ifgzs717mz5dp1pk2nrgakqg1l8x-gcc-cross-boot0-5.5.0/libexec/gcc/x86_64-guix-linux-gnu/5.5.0/lto1: error: depends on 'ld-linux-x86-64.so.2', which cannot be found in RUNPATH ()
validating RUNPATH of 9 binaries in "/gnu/store/ybh1ifgzs717mz5dp1pk2nrgakqg1l8x-gcc-cross-boot0-5.5.0/bin"...
/gnu/store/ybh1ifgzs717mz5dp1pk2nrgakqg1l8x-gcc-cross-boot0-5.5.0/bin/x86_64-guix-linux-gnu-c++: error: depends on 'ld-linux-x86-64.so.2', which cannot be found in RUNPATH ()
/gnu/store/ybh1ifgzs717mz5dp1pk2nrgakqg1l8x-gcc-cross-boot0-5.5.0/bin/x86_64-guix-linux-gnu-cpp: error: depends on 'ld-linux-x86-64.so.2', which cannot be found in RUNPATH ()
/gnu/store/ybh1ifgzs717mz5dp1pk2nrgakqg1l8x-gcc-cross-boot0-5.5.0/bin/x86_64-guix-linux-gnu-gcc: error: depends on 'ld-linux-x86-64.so.2', which cannot be found in RUNPATH ()
/gnu/store/ybh1ifgzs717mz5dp1pk2nrgakqg1l8x-gcc-cross-boot0-5.5.0/bin/x86_64-guix-linux-gnu-gcov: error: depends on 'ld-linux-x86-64.so.2', which cannot be found in RUNPATH ()
/gnu/store/ybh1ifgzs717mz5dp1pk2nrgakqg1l8x-gcc-cross-boot0-5.5.0/bin/x86_64-guix-linux-gnu-gcov-dump: error: depends on 'ld-linux-x86-64.so.2', which cannot be found in RUNPATH ()
/gnu/store/ybh1ifgzs717mz5dp1pk2nrgakqg1l8x-gcc-cross-boot0-5.5.0/bin/x86_64-guix-linux-gnu-gcov-tool: error: depends on 'ld-linux-x86-64.so.2', which cannot be found in RUNPATH ()
validating RUNPATH of 11 binaries in "/gnu/store/b5xfgxh3yqcy2y0sqaampyci1n88sgia-gcc-cross-boot0-5.5.0-lib/lib"...
/gnu/store/b5xfgxh3yqcy2y0sqaampyci1n88sgia-gcc-cross-boot0-5.5.0-lib/lib/gcc/x86_64-guix-linux-gnu/5.5.0/plugin/libcc1plugin.so: error: depends on 'libstdc++.so.6', which cannot be found in RUNPATH ()
/gnu/store/b5xfgxh3yqcy2y0sqaampyci1n88sgia-gcc-cross-boot0-5.5.0-lib/lib/libcc1.so: error: depends on 'libstdc++.so.6', which cannot be found in RUNPATH ()
phase `validate-runpath' failed after 0.1 seconds
--8<---------------cut here---------------end--------------->8---
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#29184: binutils 2.29 fails to set RUNPATH in gcc-cross-boot0
2017-11-06 22:07 bug#29184: binutils 2.29 fails to set RUNPATH in gcc-cross-boot0 Marius Bakke
@ 2017-11-07 10:39 ` Ludovic Courtès
2018-03-16 14:37 ` Marius Bakke
0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2017-11-07 10:39 UTC (permalink / raw)
To: Marius Bakke; +Cc: 29184
Hi!
Marius Bakke <mbakke@fastmail.com> 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.
Could it be a problem on our side?
BTW 2.29.1 is out.
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#29184: binutils 2.29 fails to set RUNPATH in gcc-cross-boot0
2017-11-07 10:39 ` Ludovic Courtès
@ 2018-03-16 14:37 ` Marius Bakke
2018-03-17 18:27 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Marius Bakke @ 2018-03-16 14:37 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 29184-done
[-- Attachment #1: Type: text/plain, Size: 1037 bytes --]
Ludovic Courtès <ludo@gnu.org> writes:
> Hi!
>
> Marius Bakke <mbakke@fastmail.com> 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.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#29184: binutils 2.29 fails to set RUNPATH in gcc-cross-boot0
2018-03-16 14:37 ` Marius Bakke
@ 2018-03-17 18:27 ` Ludovic Courtès
0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2018-03-17 18:27 UTC (permalink / raw)
To: Marius Bakke; +Cc: 29184-done
Marius Bakke <mbakke@fastmail.com> skribis:
> Ludovic Courtès <ludo@gnu.org> writes:
>
>> Hi!
>>
>> Marius Bakke <mbakke@fastmail.com> 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'.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-03-17 18:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-06 22:07 bug#29184: binutils 2.29 fails to set RUNPATH in gcc-cross-boot0 Marius Bakke
2017-11-07 10:39 ` Ludovic Courtès
2018-03-16 14:37 ` Marius Bakke
2018-03-17 18:27 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).