[Buildroot] [autobuild.buildroot.net] Build results for 2017-02-16
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Fri Feb 24 14:48:57 UTC 2017
Hello,
On Fri, 24 Feb 2017 15:37:00 +0100, Julien Boibessot wrote:
> > Static linking issue. Julien B.?
>
> It seems that adding "-static" to final linking command solves the
> problem. It's strange that other static builds on other ARCH are working ?
Waldemar can answer this question I believe.
> Should I add a ~ "LDGLAGS += -static" in opentyrian.mk ?
-static is already in TARGET_LDFLAGS, so the problem is that you are
not passing TARGET_LDFLAGS properly. You should do:
LDFLAGS="$(TARGET_LDFLAGS) -lm"
instead of just:
LDFLAGS="-lm"
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the buildroot
mailing list