[Buildroot] [PATCH] berkeleydb: fix static linking issues

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Dec 4 20:56:05 UTC 2016


Hello,

On Sun, 4 Dec 2016 18:39:24 +0100, Waldemar Brodkorb wrote:
> Libtool by default drops -static, so force libtool with -all-static
> to do static linking.

This needs a little bit more details, because libtool is used by a
large fraction of our packages, we pass -static only, and it just works.

Why do we have a different situation here? I thought this undefined
reference to `dl_iterate_phdr' issue was more a toolchain problem.
It's affecting a number of different packages, and is apparently a new
problem, so a fix at the package level looks a bit odd.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the buildroot mailing list