[Buildroot] Relocatable internal toolchain

Samuel Martin s.martin49 at gmail.com
Thu Jan 26 10:47:58 UTC 2017


Hi Wolfgang, all,

On Thu, Jan 26, 2017 at 9:25 AM, Wolfgang Grandegger <wg at grandegger.com> wrote:
> Hello,
>
> I prefer a relocatable (internal) toolchain and before digging deeper... Are
> there any plans in that direction? I realized some attempts (patches) to
> make the buildroot toolchain relocatable but they have not (yet) been
> accepted. What are the pros and cons? Are there principle problems?

Yes, there are plans for this.

There had been a couple of the series posted on this topic (the latest one [1]).
And we talked about this during the last Buildroot Meeting, you can
check the report [2] for detailed conclusions.
To sum-up:
- Producing the relocatable host tools will be addressed step-by-step;
- Preparatory changes making buildroot using absolute canonical paths
are already merged [4];
- Next step: fixing RPATH in host tools binaries thanks to some
patchelf [3] features to be implemented and upstreamed (this should be
enough to meet Buildroot needs);
- Cleaning up RPATH in target binaries is delayed.

Unfortunately, I got no freetime to spend on patchelf source code
[3] since the meeting.

If you are interested in or want to take over this topic, don't
hesitate to drop a message on the Buildroot mailing list.

Regards,

[1] http://lists.busybox.net/pipermail/buildroot/2016-April/159422.html
[2] http://lists.busybox.net/pipermail/buildroot/2016-October/175088.html
[3] https://github.com/NixOS/patchelf
[4] http://lists.busybox.net/pipermail/buildroot/2016-October/174886.html

>
> Wolfgang.
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot


-- 
Samuel



More information about the buildroot mailing list