On Tue, Aug 21, 2012 at 6:10 AM, Natanael Copa <nc...@alpinelinux.org> wrote: > On Mon, 20 Aug 2012 19:53:22 +0000 > Blue Swirl <blauwir...@gmail.com> wrote: > >> >> - Do not remove the explicit add of -lm unless Haiku. This was due >> >> to >> >> http://www.mail-archive.com/qemu-devel@nongnu.org/msg102965.html I >> >> am not sure if this is valid, though. >> > >> > Certainly building a linux-user target works for me even without >> > that explicit 'LIBS+=-lm' in Makefile.target. Blue, can you remember >> > what you had in mind when you wrote that email? >> >> Build failed since math library functions (sin() etc.) were not found. > > The v2 and v3 patches I sent tests for sin() in addition to isnan (which > normally is a macro). It might explain why it works now. > > Adding a second -lm does not hurt, but omitting it when needed breaks > build on uclibc for sure, so it would be nice if the v3 patch could be > applied.
Now I get this on mingw32: config-host.mak is out-of-date, running configure Error: librt check failed > > Thanks! > > -nc