Re: [sparc64] possible to install older binutils on sakharov.debian.net

2018-03-14 Thread James Clarke
On 12 Mar 2018, at 20:18, Sebastian Andrzej Siewior  
wrote:
> On 2018-03-11 22:50:16 [+], James Clarke wrote:
>> You can either add the directory to your PATH, or pass -B/path/goes/here. The
>> search order is prefixes (-B), then /usr{,/local}/lib/gcc, then PATH. Note 
>> that
>> ld is dynamically linked to libbfd-2.X-system.so so you'll need to modify 
>> your
>> LD_LIBRARY_PATH.
> 
> Thanks for hint. I was under impression that the LD path was hardcoded.
> Anyway. As I wrote in [0] binutils 2.30-4 works, 2.30-5 does not. Is
> this sparc porter material?
> 
> [0] https://github.com/openssl/openssl/issues/5586#issuecomment-372447324

Thanks, finally managed to reproduce the bug; it's reliant on link order.

I will follow up on the GitHub issue and file a bug against ld upstream.

James



Re: [sparc64] possible to install older binutils on sakharov.debian.net

2018-03-12 Thread Sebastian Andrzej Siewior
On 2018-03-11 22:50:16 [+], James Clarke wrote:
> You can either add the directory to your PATH, or pass -B/path/goes/here. The
> search order is prefixes (-B), then /usr{,/local}/lib/gcc, then PATH. Note 
> that
> ld is dynamically linked to libbfd-2.X-system.so so you'll need to modify your
> LD_LIBRARY_PATH.

Thanks for hint. I was under impression that the LD path was hardcoded.
Anyway. As I wrote in [0] binutils 2.30-4 works, 2.30-5 does not. Is
this sparc porter material?

[0] https://github.com/openssl/openssl/issues/5586#issuecomment-372447324

> James

Sebastian