Skip to content

Static linking fixes

Thomas Petazzoni buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5uclibc: don't install tools to staging when static+0 -00 replies
1/5uclibc: don't install tools to staging when static+0 -00 replies
2/5gcc-final: disable shared build for static+0 -01 reply
2/5gcc-final: disable shared build for static+0 -01 reply
2/5gcc-final: disable shared build for static+0 -01 reply
2/5gcc-final: disable shared build for static+0 -01 reply
2/5gcc-final: disable shared build for static+0 -00 replies

Reviews trailers per patch

2 of 7 patches have a Reviewed-by or Acked-by.

PatchThomas Petazzoni
1/5A-b
1/5A-b
2/5
2/5
2/5
2/5
2/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Buildroot] [WIP PATCH 0/5] Static linking fixes

Dear Gustavo Zacarias,

Quoted 9 lines · Gustavo Zacarias

As discussed on the mailing list here is my current patchset to get static linking fixed.
This is a WIP (Work In Progress) patchset, that being said i consider patches 1 and 3 pretty safe and ready for the tree.
Patch 2 and 4 are medium confidence level, how things should be IMHO. Patch 5 is also how things should be however it's not extensively tested.

Gustavo Zacarias (5):
uclibc: don't install tools to staging when static

This one was already applied.

Quoted 4 lines

gcc-final: disable shared build for static
libiconv: disable preloadable for static builds
package infra: revert 0a4bd19f
package infra: add -static to C/CXXFLAGS

I've applied those four patches. On the gcc-final patch, I did a small change to factorize the static library installation logic in one place. On the libiconv patch, I did a little bit more changes: completely disable the build of the preloadable library, since we were anyway removing it from staging and target. It allowed to simplify the patch a bit.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com