* [Qemu-devel] [PATCH] host-pcc: enable building with -m32 or -m64
@ 2011-05-26 19:00 Stefan Berger
2011-05-26 19:14 ` malc
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Stefan Berger @ 2011-05-26 19:00 UTC (permalink / raw)
To: agraf, qemu-devel
With the below patch I can build either ppc (-m32) or ppc64 (-m64)
versions of Qemu (on a ppc64 host) when passing these compiler flags via
'configure ... --extra-cflags="-m32"'.
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
---
configure | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
Index: qemu-git/configure
===================================================================
--- qemu-git.orig/configure
+++ qemu-git/configure
@@ -807,7 +807,14 @@ case "$cpu" in
arm*)
host_guest_base="yes"
;;
- ppc*)
+ ppc)
+ QEMU_CFLAGS="-m32 $QEMU_CFLAGS"
+ LDFLAGS="-m32 $LDFLAGS"
+ host_guest_base="yes"
+ ;;
+ ppc64)
+ QEMU_CFLAGS="-m64 $QEMU_CFLAGS"
+ LDFLAGS="-m64 $LDFLAGS"
host_guest_base="yes"
;;
mips*)
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] host-pcc: enable building with -m32 or -m64
2011-05-26 19:00 [Qemu-devel] [PATCH] host-pcc: enable building with -m32 or -m64 Stefan Berger
@ 2011-05-26 19:14 ` malc
2011-05-26 19:27 ` Stefan Berger
2011-05-26 20:20 ` Andreas Färber
2011-05-27 7:12 ` Paolo Bonzini
2 siblings, 1 reply; 11+ messages in thread
From: malc @ 2011-05-26 19:14 UTC (permalink / raw)
To: Stefan Berger; +Cc: agraf, qemu-devel
On Thu, 26 May 2011, Stefan Berger wrote:
> With the below patch I can build either ppc (-m32) or ppc64 (-m64) versions of
> Qemu (on a ppc64 host) when passing these compiler flags via 'configure ...
> --extra-cflags="-m32"'.
>
> Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
>
> ---
> configure | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
>
> Index: qemu-git/configure
> ===================================================================
> --- qemu-git.orig/configure
> +++ qemu-git/configure
> @@ -807,7 +807,14 @@ case "$cpu" in
> arm*)
> host_guest_base="yes"
> ;;
> - ppc*)
> + ppc)
> + QEMU_CFLAGS="-m32 $QEMU_CFLAGS"
> + LDFLAGS="-m32 $LDFLAGS"
> + host_guest_base="yes"
> + ;;
> + ppc64)
> + QEMU_CFLAGS="-m64 $QEMU_CFLAGS"
> + LDFLAGS="-m64 $LDFLAGS"
> host_guest_base="yes"
> ;;
> mips*)
>
This isn't right, if one has particular toolchain and wants to build
something that defaults to a different bitlength he should be able to
do that, this patch attempts to outsmart the defaults and furthermore
prevents one from overriding the settings.
P.S. host-pcc... pcc?
P.P.S. On the ppc64 machine i have, gcc defaults to 32bit and for a
good reason - 64bit code is quite a bit slower when running
typical workloads (64bit guest not being one of them though)
--
mailto:av1474@comtv.ru
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] host-pcc: enable building with -m32 or -m64
2011-05-26 19:14 ` malc
@ 2011-05-26 19:27 ` Stefan Berger
0 siblings, 0 replies; 11+ messages in thread
From: Stefan Berger @ 2011-05-26 19:27 UTC (permalink / raw)
To: malc; +Cc: agraf, qemu-devel
On 05/26/2011 03:14 PM, malc wrote:
> On Thu, 26 May 2011, Stefan Berger wrote:
>
>> With the below patch I can build either ppc (-m32) or ppc64 (-m64) versions of
>> Qemu (on a ppc64 host) when passing these compiler flags via 'configure ...
>> --extra-cflags="-m32"'.
>>
>> Signed-off-by: Stefan Berger<stefanb@linux.vnet.ibm.com>
>>
>> ---
>> configure | 9 ++++++++-
>> 1 file changed, 8 insertions(+), 1 deletion(-)
>>
>> Index: qemu-git/configure
>> ===================================================================
>> --- qemu-git.orig/configure
>> +++ qemu-git/configure
>> @@ -807,7 +807,14 @@ case "$cpu" in
>> arm*)
>> host_guest_base="yes"
>> ;;
>> - ppc*)
>> + ppc)
>> + QEMU_CFLAGS="-m32 $QEMU_CFLAGS"
>> + LDFLAGS="-m32 $LDFLAGS"
>> + host_guest_base="yes"
>> + ;;
>> + ppc64)
>> + QEMU_CFLAGS="-m64 $QEMU_CFLAGS"
>> + LDFLAGS="-m64 $LDFLAGS"
>> host_guest_base="yes"
>> ;;
>> mips*)
>>
> This isn't right, if one has particular toolchain and wants to build
> something that defaults to a different bitlength he should be able to
> do that, this patch attempts to outsmart the defaults and furthermore
> prevents one from overriding the settings.
>
> P.S. host-pcc... pcc?
>
> P.P.S. On the ppc64 machine i have, gcc defaults to 32bit and for a
> good reason - 64bit code is quite a bit slower when running
> typical workloads (64bit guest not being one of them though)
>
Is it possible to change my ppc64 gcc compiler to produce 32bit binaries
by default -- how? I'd like to test this case because for me not passing
any parameters via --extra-cflags defaults to the ppc64 case above -
obviously it will produce 64 bit binaries by default. -m32 then ends up
in the ppc) case, -m64 again in the ppc64) case.
Stefan
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] host-pcc: enable building with -m32 or -m64
2011-05-26 19:00 [Qemu-devel] [PATCH] host-pcc: enable building with -m32 or -m64 Stefan Berger
2011-05-26 19:14 ` malc
@ 2011-05-26 20:20 ` Andreas Färber
2011-05-26 20:31 ` Stefan Berger
2011-05-27 7:12 ` Paolo Bonzini
2 siblings, 1 reply; 11+ messages in thread
From: Andreas Färber @ 2011-05-26 20:20 UTC (permalink / raw)
To: Stefan Berger; +Cc: agraf, qemu-devel
Am 26.05.2011 um 21:00 schrieb Stefan Berger:
> With the below patch I can build either ppc (-m32) or ppc64 (-m64)
> versions of Qemu (on a ppc64 host) when passing these compiler flags
> via 'configure ... --extra-cflags="-m32"'.
You probably meant "without passing"?
Nack. Please don't hardcode -mXX in configure, it's -arch ppc vs. -
arch ppc64 on my host/gcc. What's wrong with passing --extra-cflags?
Andreas
> Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
>
> ---
> configure | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
>
> Index: qemu-git/configure
> ===================================================================
> --- qemu-git.orig/configure
> +++ qemu-git/configure
> @@ -807,7 +807,14 @@ case "$cpu" in
> arm*)
> host_guest_base="yes"
> ;;
> - ppc*)
> + ppc)
> + QEMU_CFLAGS="-m32 $QEMU_CFLAGS"
> + LDFLAGS="-m32 $LDFLAGS"
> + host_guest_base="yes"
> + ;;
> + ppc64)
> + QEMU_CFLAGS="-m64 $QEMU_CFLAGS"
> + LDFLAGS="-m64 $LDFLAGS"
> host_guest_base="yes"
> ;;
> mips*)
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] host-pcc: enable building with -m32 or -m64
2011-05-26 20:20 ` Andreas Färber
@ 2011-05-26 20:31 ` Stefan Berger
2011-05-26 20:42 ` malc
2011-05-26 21:24 ` Andreas Färber
0 siblings, 2 replies; 11+ messages in thread
From: Stefan Berger @ 2011-05-26 20:31 UTC (permalink / raw)
To: qemu-devel
On 05/26/2011 04:20 PM, Andreas Färber wrote:
> Am 26.05.2011 um 21:00 schrieb Stefan Berger:
>
>> With the below patch I can build either ppc (-m32) or ppc64 (-m64)
>> versions of Qemu (on a ppc64 host) when passing these compiler flags
>> via 'configure ... --extra-cflags="-m32"'.
>
> You probably meant "without passing"?
>
> Nack. Please don't hardcode -mXX in configure, it's -arch ppc vs.
> -arch ppc64 on my host/gcc. What's wrong with passing --extra-cflags?
>
I posted the following patch today for compiling libcacard with -m32 on
a 64 bit machine.
http://lists.nongnu.org/archive/html/qemu-devel/2011-05/msg02909.html
It adds LDFLAGS. This works fine on x86-64. Then trying this out on
ppc64 with -m32 in extra-cflags I find the following in config-host.mak
[...]
HELPER_CFLAGS=
LDFLAGS=-Wl,--warn-common -g
ARLIBS_BEGIN=
[...]
The -m32 doesn't make it into LDFLAGS. The below patch fixed it for me
following the pattern of x86-64 and i686 a bit further up in the case
statement in configure.
Stefan
> Andreas
>
>> Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
>>
>> ---
>> configure | 9 ++++++++-
>> 1 file changed, 8 insertions(+), 1 deletion(-)
>>
>> Index: qemu-git/configure
>> ===================================================================
>> --- qemu-git.orig/configure
>> +++ qemu-git/configure
>> @@ -807,7 +807,14 @@ case "$cpu" in
>> arm*)
>> host_guest_base="yes"
>> ;;
>> - ppc*)
>> + ppc)
>> + QEMU_CFLAGS="-m32 $QEMU_CFLAGS"
>> + LDFLAGS="-m32 $LDFLAGS"
>> + host_guest_base="yes"
>> + ;;
>> + ppc64)
>> + QEMU_CFLAGS="-m64 $QEMU_CFLAGS"
>> + LDFLAGS="-m64 $LDFLAGS"
>> host_guest_base="yes"
>> ;;
>> mips*)
>
>
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] host-pcc: enable building with -m32 or -m64
2011-05-26 20:31 ` Stefan Berger
@ 2011-05-26 20:42 ` malc
2011-05-26 21:24 ` Andreas Färber
1 sibling, 0 replies; 11+ messages in thread
From: malc @ 2011-05-26 20:42 UTC (permalink / raw)
To: Stefan Berger; +Cc: qemu-devel
On Thu, 26 May 2011, Stefan Berger wrote:
> On 05/26/2011 04:20 PM, Andreas F?rber wrote:
> > Am 26.05.2011 um 21:00 schrieb Stefan Berger:
> >
> > > With the below patch I can build either ppc (-m32) or ppc64 (-m64)
> > > versions of Qemu (on a ppc64 host) when passing these compiler flags via
> > > 'configure ... --extra-cflags="-m32"'.
> >
> > You probably meant "without passing"?
> >
> > Nack. Please don't hardcode -mXX in configure, it's -arch ppc vs. -arch
> > ppc64 on my host/gcc. What's wrong with passing --extra-cflags?
> >
> I posted the following patch today for compiling libcacard with -m32 on a 64
> bit machine.
>
> http://lists.nongnu.org/archive/html/qemu-devel/2011-05/msg02909.html
>
> It adds LDFLAGS. This works fine on x86-64. Then trying this out on ppc64 with
> -m32 in extra-cflags I find the following in config-host.mak
>
> [...]
> HELPER_CFLAGS=
> LDFLAGS=-Wl,--warn-common -g
> ARLIBS_BEGIN=
> [...]
>
> The -m32 doesn't make it into LDFLAGS. The below patch fixed it for me
> following the pattern of x86-64 and i686 a bit further up in the case
> statement in configure.
[..snip..]
You can just do `./configure --cc="gcc -m[32|64]"'
--
mailto:av1474@comtv.ru
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] host-pcc: enable building with -m32 or -m64
2011-05-26 20:31 ` Stefan Berger
2011-05-26 20:42 ` malc
@ 2011-05-26 21:24 ` Andreas Färber
2011-05-26 22:25 ` Stefan Berger
1 sibling, 1 reply; 11+ messages in thread
From: Andreas Färber @ 2011-05-26 21:24 UTC (permalink / raw)
To: Stefan Berger; +Cc: qemu-devel
Am 26.05.2011 um 22:31 schrieb Stefan Berger:
> On 05/26/2011 04:20 PM, Andreas Färber wrote:
>> Am 26.05.2011 um 21:00 schrieb Stefan Berger:
>>
>>> With the below patch I can build either ppc (-m32) or ppc64 (-m64)
>>> versions of Qemu (on a ppc64 host) when passing these compiler
>>> flags via 'configure ... --extra-cflags="-m32"'.
>>
>> You probably meant "without passing"?
>>
>> Nack. Please don't hardcode -mXX in configure, it's -arch ppc vs. -
>> arch ppc64 on my host/gcc. What's wrong with passing --extra-cflags?
>>
> I posted the following patch today for compiling libcacard with -m32
> on a 64 bit machine.
>
> http://lists.nongnu.org/archive/html/qemu-devel/2011-05/msg02909.html
>
> It adds LDFLAGS. This works fine on x86-64. Then trying this out on
> ppc64 with -m32 in extra-cflags I find the following in config-
> host.mak
>
> [...]
> HELPER_CFLAGS=
> LDFLAGS=-Wl,--warn-common -g
> ARLIBS_BEGIN=
> [...]
>
> The -m32 doesn't make it into LDFLAGS. The below patch fixed it for
> me following the pattern of x86-64 and i686 a bit further up in the
> case statement in configure.
Erm, you did try --extra-ldflags for LDFLAGS, did you? That --extra-
cflags doesn't end up there is intentional!
Andreas
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] host-pcc: enable building with -m32 or -m64
2011-05-26 21:24 ` Andreas Färber
@ 2011-05-26 22:25 ` Stefan Berger
2011-05-29 21:09 ` Andreas Färber
0 siblings, 1 reply; 11+ messages in thread
From: Stefan Berger @ 2011-05-26 22:25 UTC (permalink / raw)
To: Andreas Färber; +Cc: qemu-devel
On 05/26/2011 05:24 PM, Andreas Färber wrote:
> Am 26.05.2011 um 22:31 schrieb Stefan Berger:
>
>> On 05/26/2011 04:20 PM, Andreas Färber wrote:
>>> Am 26.05.2011 um 21:00 schrieb Stefan Berger:
>>>
>>>> With the below patch I can build either ppc (-m32) or ppc64 (-m64)
>>>> versions of Qemu (on a ppc64 host) when passing these compiler
>>>> flags via 'configure ... --extra-cflags="-m32"'.
>>>
>>> You probably meant "without passing"?
>>>
>>> Nack. Please don't hardcode -mXX in configure, it's -arch ppc vs.
>>> -arch ppc64 on my host/gcc. What's wrong with passing --extra-cflags?
>>>
>> I posted the following patch today for compiling libcacard with -m32
>> on a 64 bit machine.
>>
>> http://lists.nongnu.org/archive/html/qemu-devel/2011-05/msg02909.html
>>
>> It adds LDFLAGS. This works fine on x86-64. Then trying this out on
>> ppc64 with -m32 in extra-cflags I find the following in config-host.mak
>>
>> [...]
>> HELPER_CFLAGS=
>> LDFLAGS=-Wl,--warn-common -g
>> ARLIBS_BEGIN=
>> [...]
>>
>> The -m32 doesn't make it into LDFLAGS. The below patch fixed it for
>> me following the pattern of x86-64 and i686 a bit further up in the
>> case statement in configure.
>
> Erm, you did try --extra-ldflags for LDFLAGS, did you? That
> --extra-cflags doesn't end up there is intentional!
>
No, I didn't. Here's what happened. On x86_64 host I used to be able to
compile 32bit executables with --extra-cflags="-m32". That stopped
working when libcacard showed up -- I posted a patch today -- only the
linking of vscclient in libcacard/ didn't work. The "work-around" before
the patch was --disable-smartcard. Now taking that same habit of passing
--extra-cflags="-m32" to the ppc64 machine again didn't work, but was
broken somewhere else. So this is where this is all coming from.
Stefan
> Andreas
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] host-pcc: enable building with -m32 or -m64
2011-05-26 19:00 [Qemu-devel] [PATCH] host-pcc: enable building with -m32 or -m64 Stefan Berger
2011-05-26 19:14 ` malc
2011-05-26 20:20 ` Andreas Färber
@ 2011-05-27 7:12 ` Paolo Bonzini
2 siblings, 0 replies; 11+ messages in thread
From: Paolo Bonzini @ 2011-05-27 7:12 UTC (permalink / raw)
To: Stefan Berger; +Cc: agraf, qemu-devel
On 05/26/2011 09:00 PM, Stefan Berger wrote:
> With the below patch I can build either ppc (-m32) or ppc64 (-m64)
> versions of Qemu (on a ppc64 host) when passing these compiler flags via
> 'configure ... --extra-cflags="-m32"'.
>
> Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
>
> ---
> configure | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
>
> Index: qemu-git/configure
> ===================================================================
> --- qemu-git.orig/configure
> +++ qemu-git/configure
> @@ -807,7 +807,14 @@ case "$cpu" in
> arm*)
> host_guest_base="yes"
> ;;
> - ppc*)
> + ppc)
> + QEMU_CFLAGS="-m32 $QEMU_CFLAGS"
> + LDFLAGS="-m32 $LDFLAGS"
> + host_guest_base="yes"
> + ;;
> + ppc64)
> + QEMU_CFLAGS="-m64 $QEMU_CFLAGS"
> + LDFLAGS="-m64 $LDFLAGS"
> host_guest_base="yes"
> ;;
> mips*)
The patch doesn't seem to match the description. I would have guessed
that with this patch you _do not_ need to pass these compiler flags via
--extra-cflags anymore.
Also, -m32/-m64 are really CPPFLAGS, not CFLAGS since they affect also
the compiler's include path.
Paolo
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] host-pcc: enable building with -m32 or -m64
2011-05-26 22:25 ` Stefan Berger
@ 2011-05-29 21:09 ` Andreas Färber
2011-05-29 22:07 ` Stefan Berger
0 siblings, 1 reply; 11+ messages in thread
From: Andreas Färber @ 2011-05-29 21:09 UTC (permalink / raw)
To: Stefan Berger; +Cc: Paolo Bonzini, QEMU Developers, Alexander Graf
Am 27.05.2011 um 00:25 schrieb Stefan Berger:
> On 05/26/2011 05:24 PM, Andreas Färber wrote:
>> Am 26.05.2011 um 22:31 schrieb Stefan Berger:
>>
>>> On 05/26/2011 04:20 PM, Andreas Färber wrote:
>>>> Am 26.05.2011 um 21:00 schrieb Stefan Berger:
>>>>
>>>>> With the below patch I can build either ppc (-m32) or ppc64 (-
>>>>> m64) versions of Qemu (on a ppc64 host) when passing these
>>>>> compiler flags via 'configure ... --extra-cflags="-m32"'.
>>>>
>>>> You probably meant "without passing"?
>>>>
>>>> Nack. Please don't hardcode -mXX in configure, it's -arch ppc vs.
>>>> -arch ppc64 on my host/gcc. What's wrong with passing --extra-
>>>> cflags?
>>>>
>>> I posted the following patch today for compiling libcacard with -
>>> m32 on a 64 bit machine.
>>>
>>> http://lists.nongnu.org/archive/html/qemu-devel/2011-05/
>>> msg02909.html
>>>
>>> It adds LDFLAGS. This works fine on x86-64. Then trying this out
>>> on ppc64 with -m32 in extra-cflags I find the following in config-
>>> host.mak
>>>
>>> [...]
>>> HELPER_CFLAGS=
>>> LDFLAGS=-Wl,--warn-common -g
>>> ARLIBS_BEGIN=
>>> [...]
>>>
>>> The -m32 doesn't make it into LDFLAGS. The below patch fixed it
>>> for me following the pattern of x86-64 and i686 a bit further up
>>> in the case statement in configure.
>>
>> Erm, you did try --extra-ldflags for LDFLAGS, did you? That --extra-
>> cflags doesn't end up there is intentional!
>>
> No, I didn't. Here's what happened. On x86_64 host I used to be able
> to compile 32bit executables with --extra-cflags="-m32". That
> stopped working when libcacard showed up -- I posted a patch today
> -- only the linking of vscclient in libcacard/ didn't work. The
> "work-around" before the patch was --disable-smartcard. Now taking
> that same habit of passing --extra-cflags="-m32" to the ppc64
> machine again didn't work, but was broken somewhere else. So this is
> where this is all coming from.
Stefan, I rather care about where this is going, and my unanswered
question is: Does it work if you use --extra-cflags=-m32 --extra-
ldflags=-m32?
If yes, then we can drop this patch and be good. Otherwise we need to
think about a better solution.
Andreas
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] host-pcc: enable building with -m32 or -m64
2011-05-29 21:09 ` Andreas Färber
@ 2011-05-29 22:07 ` Stefan Berger
0 siblings, 0 replies; 11+ messages in thread
From: Stefan Berger @ 2011-05-29 22:07 UTC (permalink / raw)
To: Andreas Färber; +Cc: Paolo Bonzini, QEMU Developers, Alexander Graf
On 05/29/2011 05:09 PM, Andreas Färber wrote:
> Am 27.05.2011 um 00:25 schrieb Stefan Berger:
>
>> On 05/26/2011 05:24 PM, Andreas Färber wrote:
>>> Am 26.05.2011 um 22:31 schrieb Stefan Berger:
>>>
>>>> On 05/26/2011 04:20 PM, Andreas Färber wrote:
>>>>> Am 26.05.2011 um 21:00 schrieb Stefan Berger:
>>>>>
>>>>>> With the below patch I can build either ppc (-m32) or ppc64
>>>>>> (-m64) versions of Qemu (on a ppc64 host) when passing these
>>>>>> compiler flags via 'configure ... --extra-cflags="-m32"'.
>>>>>
>>>>> You probably meant "without passing"?
>>>>>
>>>>> Nack. Please don't hardcode -mXX in configure, it's -arch ppc vs.
>>>>> -arch ppc64 on my host/gcc. What's wrong with passing --extra-cflags?
>>>>>
>>>> I posted the following patch today for compiling libcacard with
>>>> -m32 on a 64 bit machine.
>>>>
>>>> http://lists.nongnu.org/archive/html/qemu-devel/2011-05/msg02909.html
>>>>
>>>> It adds LDFLAGS. This works fine on x86-64. Then trying this out on
>>>> ppc64 with -m32 in extra-cflags I find the following in
>>>> config-host.mak
>>>>
>>>> [...]
>>>> HELPER_CFLAGS=
>>>> LDFLAGS=-Wl,--warn-common -g
>>>> ARLIBS_BEGIN=
>>>> [...]
>>>>
>>>> The -m32 doesn't make it into LDFLAGS. The below patch fixed it for
>>>> me following the pattern of x86-64 and i686 a bit further up in the
>>>> case statement in configure.
>>>
>>> Erm, you did try --extra-ldflags for LDFLAGS, did you? That
>>> --extra-cflags doesn't end up there is intentional!
>>>
>> No, I didn't. Here's what happened. On x86_64 host I used to be able
>> to compile 32bit executables with --extra-cflags="-m32". That stopped
>> working when libcacard showed up -- I posted a patch today -- only
>> the linking of vscclient in libcacard/ didn't work. The "work-around"
>> before the patch was --disable-smartcard. Now taking that same habit
>> of passing --extra-cflags="-m32" to the ppc64 machine again didn't
>> work, but was broken somewhere else. So this is where this is all
>> coming from.
>
> Stefan, I rather care about where this is going, and my unanswered
> question is: Does it work if you use --extra-cflags=-m32
> --extra-ldflags=-m32?
> If yes, then we can drop this patch and be good. Otherwise we need to
> think about a better solution.
>
It works as you show above once this patch here has been applied:
http://lists.nongnu.org/archive/html/qemu-devel/2011-05/msg02909.html
Stefan
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2011-05-29 22:07 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-26 19:00 [Qemu-devel] [PATCH] host-pcc: enable building with -m32 or -m64 Stefan Berger
2011-05-26 19:14 ` malc
2011-05-26 19:27 ` Stefan Berger
2011-05-26 20:20 ` Andreas Färber
2011-05-26 20:31 ` Stefan Berger
2011-05-26 20:42 ` malc
2011-05-26 21:24 ` Andreas Färber
2011-05-26 22:25 ` Stefan Berger
2011-05-29 21:09 ` Andreas Färber
2011-05-29 22:07 ` Stefan Berger
2011-05-27 7:12 ` Paolo Bonzini
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).