[PATCH] CONFIG_SORT_BIG requires libm

Rob Landley rob at landley.net
Wed Sep 7 00:25:28 UTC 2005


On Tuesday 06 September 2005 03:32, Amir Shalem wrote:
> hey,
> CONFIG_SORT_BIG requires -lm
> because -g option requires isnan() and isinf()

So why has it built just fine so far without this?

echo -e "one\ntwo\ntwo\nthree\nthree\nthree\n" | ./busybox uniq -d
nan
1
inf

ldd busybox
 libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7eb0000)
 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7feb000)

I've also built it under uclibc (0.9.27)...

Rob



More information about the busybox mailing list