[Top][All Lists]
[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
- [Qemu-devel] [PATCH v2] configure: properly check if -lrt and -lm is needed, Natanael Copa, 2012/08/16
- Re: [Qemu-devel] [PATCH v2] configure: properly check if -lrt and -lm is needed, Juan Quintela, 2012/08/20
- Re: [Qemu-devel] [PATCH v2] configure: properly check if -lrt and -lm is needed, Peter Maydell, 2012/08/20
- Re: [Qemu-devel] [PATCH v2] configure: properly check if -lrt and -lm is needed, Blue Swirl, 2012/08/20
- Re: [Qemu-devel] [PATCH v2] configure: properly check if -lrt and -lm is needed, Natanael Copa, 2012/08/21
- Re: [Qemu-devel] [PATCH v2] configure: properly check if -lrt and -lm is needed,
Blue Swirl <=
- [Qemu-devel] [PATCH v4] configure: properly check if -lrt and -lm is needed, Natanael Copa, 2012/08/22
- Re: [Qemu-devel] [PATCH v4] configure: properly check if -lrt and -lm is needed, Natanael Copa, 2012/08/28
- Re: [Qemu-devel] [PATCH v4] configure: properly check if -lrt and -lm is needed, Blue Swirl, 2012/08/28
- Re: [Qemu-devel] [PATCH v4] configure: properly check if -lrt and -lm is needed, Natanael Copa, 2012/08/29
Re: [Qemu-devel] [PATCH v2] configure: properly check if -lrt and -lm is needed, Peter Maydell, 2012/08/20