* [Qemu-devel] [PATCH 0/3] [trivial] Fix linking when using UST tracing
@ 2012-04-02 12:49 Lluís Vilanova
2012-04-02 12:49 ` [Qemu-devel] [PATCH 1/3] configure: Fix typo 'lib_qga' -> 'libs_qga' Lluís Vilanova
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Lluís Vilanova @ 2012-04-02 12:49 UTC (permalink / raw)
To: qemu-devel; +Cc: stefanha, harsh
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
---
Lluís Vilanova (3):
configure: Fix typo 'lib_qga' -> 'libs_qga'
configure: Link QEMU against 'liburcu-bp'
configure: Link qga against UST tracing related libraries
configure | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Qemu-devel] [PATCH 1/3] configure: Fix typo 'lib_qga' -> 'libs_qga'
2012-04-02 12:49 [Qemu-devel] [PATCH 0/3] [trivial] Fix linking when using UST tracing Lluís Vilanova
@ 2012-04-02 12:49 ` Lluís Vilanova
2012-04-03 8:37 ` Stefan Hajnoczi
2012-04-02 12:49 ` [Qemu-devel] [PATCH 2/3] configure: Link QEMU against 'liburcu-bp' Lluís Vilanova
2012-04-02 12:49 ` [Qemu-devel] [PATCH 3/3] configure: Link qga against UST tracing related libraries Lluís Vilanova
2 siblings, 1 reply; 7+ messages in thread
From: Lluís Vilanova @ 2012-04-02 12:49 UTC (permalink / raw)
To: qemu-devel; +Cc: stefanha, harsh
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
---
configure | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure b/configure
index bea4a2c..c7be13d 100755
--- a/configure
+++ b/configure
@@ -526,7 +526,7 @@ EOF
bindir="\${prefix}"
sysconfdir="\${prefix}"
confsuffix=""
- libs_qga="-lws2_32 -lwinmm -lpowrprof $lib_qga"
+ libs_qga="-lws2_32 -lwinmm -lpowrprof $libs_qga"
fi
werror=""
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [Qemu-devel] [PATCH 2/3] configure: Link QEMU against 'liburcu-bp'
2012-04-02 12:49 [Qemu-devel] [PATCH 0/3] [trivial] Fix linking when using UST tracing Lluís Vilanova
2012-04-02 12:49 ` [Qemu-devel] [PATCH 1/3] configure: Fix typo 'lib_qga' -> 'libs_qga' Lluís Vilanova
@ 2012-04-02 12:49 ` Lluís Vilanova
2012-04-03 8:46 ` Stefan Hajnoczi
2012-04-02 12:49 ` [Qemu-devel] [PATCH 3/3] configure: Link qga against UST tracing related libraries Lluís Vilanova
2 siblings, 1 reply; 7+ messages in thread
From: Lluís Vilanova @ 2012-04-02 12:49 UTC (permalink / raw)
To: qemu-devel; +Cc: stefanha, harsh
This library is needed when using 'ust/tracepoint.h'.
Signed-off-by: Harsh Prateek Bora <harsh@linux.vnet.ibm.com>
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
---
configure | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure b/configure
index c7be13d..30591b0 100755
--- a/configure
+++ b/configure
@@ -2672,7 +2672,7 @@ if test "$trace_backend" = "ust"; then
int main(void) { return 0; }
EOF
if compile_prog "" "" ; then
- LIBS="-lust $LIBS"
+ LIBS="-lust -lurcu-bp $LIBS"
else
echo
echo "Error: Trace backend 'ust' missing libust header files"
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [Qemu-devel] [PATCH 3/3] configure: Link qga against UST tracing related libraries
2012-04-02 12:49 [Qemu-devel] [PATCH 0/3] [trivial] Fix linking when using UST tracing Lluís Vilanova
2012-04-02 12:49 ` [Qemu-devel] [PATCH 1/3] configure: Fix typo 'lib_qga' -> 'libs_qga' Lluís Vilanova
2012-04-02 12:49 ` [Qemu-devel] [PATCH 2/3] configure: Link QEMU against 'liburcu-bp' Lluís Vilanova
@ 2012-04-02 12:49 ` Lluís Vilanova
2012-04-03 8:50 ` Stefan Hajnoczi
2 siblings, 1 reply; 7+ messages in thread
From: Lluís Vilanova @ 2012-04-02 12:49 UTC (permalink / raw)
To: qemu-devel; +Cc: stefanha, harsh
Signed-off-by: Harsh Prateek Bora <harsh@linux.vnet.ibm.com>
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
---
configure | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 30591b0..e72f66f 100755
--- a/configure
+++ b/configure
@@ -2673,6 +2673,7 @@ int main(void) { return 0; }
EOF
if compile_prog "" "" ; then
LIBS="-lust -lurcu-bp $LIBS"
+ libs_qga="-lust -lurcu-bp $libs_qga"
else
echo
echo "Error: Trace backend 'ust' missing libust header files"
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] [PATCH 1/3] configure: Fix typo 'lib_qga' -> 'libs_qga'
2012-04-02 12:49 ` [Qemu-devel] [PATCH 1/3] configure: Fix typo 'lib_qga' -> 'libs_qga' Lluís Vilanova
@ 2012-04-03 8:37 ` Stefan Hajnoczi
0 siblings, 0 replies; 7+ messages in thread
From: Stefan Hajnoczi @ 2012-04-03 8:37 UTC (permalink / raw)
To: Lluís Vilanova; +Cc: harsh, qemu-devel
On Mon, Apr 02, 2012 at 02:49:38PM +0200, Lluís Vilanova wrote:
> Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
> ---
> configure | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/configure b/configure
> index bea4a2c..c7be13d 100755
> --- a/configure
> +++ b/configure
> @@ -526,7 +526,7 @@ EOF
> bindir="\${prefix}"
> sysconfdir="\${prefix}"
> confsuffix=""
> - libs_qga="-lws2_32 -lwinmm -lpowrprof $lib_qga"
> + libs_qga="-lws2_32 -lwinmm -lpowrprof $libs_qga"
> fi
>
> werror=""
An equivalent patch is already in the trivial-patches tree:
http://patchwork.ozlabs.org/patch/148919/
Thanks,
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] [PATCH 2/3] configure: Link QEMU against 'liburcu-bp'
2012-04-02 12:49 ` [Qemu-devel] [PATCH 2/3] configure: Link QEMU against 'liburcu-bp' Lluís Vilanova
@ 2012-04-03 8:46 ` Stefan Hajnoczi
0 siblings, 0 replies; 7+ messages in thread
From: Stefan Hajnoczi @ 2012-04-03 8:46 UTC (permalink / raw)
To: Lluís Vilanova; +Cc: harsh, qemu-devel
On Mon, Apr 02, 2012 at 02:49:44PM +0200, Lluís Vilanova wrote:
> This library is needed when using 'ust/tracepoint.h'.
>
> Signed-off-by: Harsh Prateek Bora <harsh@linux.vnet.ibm.com>
> Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
> ---
> configure | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches
I also sent an email to lttng-devel asking if pkg-config --libs ust
should include this, you are CCed. If the library details will change
it would be best for us to use pkg-config.
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] [PATCH 3/3] configure: Link qga against UST tracing related libraries
2012-04-02 12:49 ` [Qemu-devel] [PATCH 3/3] configure: Link qga against UST tracing related libraries Lluís Vilanova
@ 2012-04-03 8:50 ` Stefan Hajnoczi
0 siblings, 0 replies; 7+ messages in thread
From: Stefan Hajnoczi @ 2012-04-03 8:50 UTC (permalink / raw)
To: Lluís Vilanova; +Cc: harsh, qemu-devel
On Mon, Apr 02, 2012 at 02:49:49PM +0200, Lluís Vilanova wrote:
> Signed-off-by: Harsh Prateek Bora <harsh@linux.vnet.ibm.com>
> Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
> ---
> configure | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches
It would be nice to clean up libs_qga in the future so that common
library lists can be reused instead of duplicating them in both LIBS and
libs_qga. Anyway, thanks for this fix.
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-04-03 8:50 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-02 12:49 [Qemu-devel] [PATCH 0/3] [trivial] Fix linking when using UST tracing Lluís Vilanova
2012-04-02 12:49 ` [Qemu-devel] [PATCH 1/3] configure: Fix typo 'lib_qga' -> 'libs_qga' Lluís Vilanova
2012-04-03 8:37 ` Stefan Hajnoczi
2012-04-02 12:49 ` [Qemu-devel] [PATCH 2/3] configure: Link QEMU against 'liburcu-bp' Lluís Vilanova
2012-04-03 8:46 ` Stefan Hajnoczi
2012-04-02 12:49 ` [Qemu-devel] [PATCH 3/3] configure: Link qga against UST tracing related libraries Lluís Vilanova
2012-04-03 8:50 ` Stefan Hajnoczi
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).