]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
package/iputils: patch ping to link against libm
authorMartin Bark <martin@barkynet.com>
Mon, 15 Feb 2016 13:00:06 +0000 (13:00 +0000)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 20 Feb 2016 14:50:18 +0000 (15:50 +0100)
commit7f41db8f9ac4c5c50b32c6e2315aa1e6aa72afb3
tree89d0eca7a148db2c214babe51e78ad08f3d8879d
parent0500c7c603e8f384daf380a56ab2b6703b988d06
package/iputils: patch ping to link against libm

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@barkynet.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/iputils/0001-ping-link-against-libm.patch [new file with mode: 0644]