[Buildroot] Bug in RPATH fixing logic

Peter Korsgaard peter at korsgaard.com
Sun Nov 12 18:03:47 UTC 2017


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:

 > Hello,
 > On Sun, 12 Nov 2017 18:15:12 +0100, Peter Korsgaard wrote:

 >> > So this happens because the ARC binutils version is fetched from Git,
 >> > so we need to have host-flex installed, and binutils detects the flex
 >> > library and decides to use it.  
 >> 
 >> And there is no configure flag to disable that?

 > Not that I can see.

Ok.

 >> Is there a way to get binutils to use soft links instead of hard links?

 > How would this solve the problem?

Well, the problem is that the binary gets processed twice in different
directories because of the hard link, so if it instead was a softlink it
woud get ignored by the RPATH logic and only get fixed up once - Right?

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list