qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2] configure: properly check if -lrt and -lm is


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH v2] configure: properly check if -lrt and -lm is needed
Date: Tue, 21 Aug 2012 18:12:05 +0000

On Tue, Aug 21, 2012 at 6:10 AM, Natanael Copa <address@hidden> wrote:
> On Mon, 20 Aug 2012 19:53:22 +0000
> Blue Swirl <address@hidden> wrote:
>
>> >>  - Do not remove the explicit add of -lm unless Haiku. This was due
>> >>    to
>> >> http://www.mail-archive.com/address@hidden/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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]