From: Natanael Copa <ncopa@alpinelinux.org>
To: Blue Swirl <blauwirbel@gmail.com>
Cc: Peter Maydell <peter.maydell@linaro.org>,
qemu-devel@nongnu.org, Natanael Copa <ncopa@alpinelinux.org>
Subject: Re: [Qemu-devel] [PATCH v2] configure: properly check if -lrt and -lm is needed
Date: Tue, 21 Aug 2012 08:10:05 +0200 [thread overview]
Message-ID: <20120821081005.3dd7f17b@ncopa-desktop.nor.wtbts.net> (raw)
In-Reply-To: <CAAu8pHshC94UsUSozFNNsAHwdWj34YO-_MftWpjfjsfV5SoPCg@mail.gmail.com>
On Mon, 20 Aug 2012 19:53:22 +0000
Blue Swirl <blauwirbel@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.
Thanks!
-nc
next prev parent reply other threads:[~2012-08-21 6:48 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-14 14:51 [Qemu-devel] [PATCH] configure: properly check if -lrt and -lm is needed Natanael Copa
2012-08-16 13:22 ` [Qemu-devel] [PATCH v2] " Natanael Copa
2012-08-20 12:19 ` Juan Quintela
2012-08-20 12:43 ` Peter Maydell
2012-08-20 19:53 ` Blue Swirl
2012-08-21 6:10 ` Natanael Copa [this message]
2012-08-21 18:12 ` Blue Swirl
2012-08-22 11:23 ` [Qemu-devel] [PATCH v4] " Natanael Copa
2012-08-28 7:33 ` Natanael Copa
2012-08-28 17:16 ` Blue Swirl
2012-08-29 6:41 ` Natanael Copa
2012-09-01 9:13 ` Blue Swirl
2012-09-12 9:06 ` [Qemu-devel] [PATCH v5] " Natanael Copa
2012-09-15 17:26 ` Blue Swirl
2012-08-20 13:27 ` [Qemu-devel] [PATCH v2] " Peter Maydell
2012-08-20 14:33 ` Natanael Copa
2012-08-20 14:41 ` Peter Maydell
2012-08-20 15:05 ` [Qemu-devel] [PATCH v3] " Natanael Copa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120821081005.3dd7f17b@ncopa-desktop.nor.wtbts.net \
--to=ncopa@alpinelinux.org \
--cc=blauwirbel@gmail.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).