[Buildroot] [PATCH 1/1] package/iputils: patch ping to link against libm
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sat Feb 20 14:51:11 UTC 2016
Dear Martin Bark,
On Mon, 15 Feb 2016 13:00:06 +0000, Martin Bark wrote:
> ping fails to compile with uClibc based toolchains with the error
>
> undefined reference to `__finite'
>
> Add a patch to link ping against libm to resolve the math library function
> finite().
>
> Note, this error is not seen with glibc based toolchains because finite
> seems to be resolved in both libm and libc.
>
> Fixes:
> http://autobuild.buildroot.net/results/08f7386f75c881bc582b338824f8ccd509b2921e/
> http://autobuild.buildroot.net/results/5aeef61fbd399dd78dc72b9e7cce978e6f1f58b4/
>
> A pull request has been sent to fix this issue upstream, see
> https://github.com/iputils/iputils/pull/42
>
> Signed-off-by: Martin Bark <martin at barkynet.com>
> ---
> package/iputils/0001-ping-link-against-libm.patch | 29 +++++++++++++++++++++++
> 1 file changed, 29 insertions(+)
> create mode 100644 package/iputils/0001-ping-link-against-libm.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list