Re: [libvirt] Compiler warnings

2011-10-18 Thread Eric Blake
On 10/18/2011 07:21 AM, Wen Congyang wrote: I meet another warnings, but it does not break the buildings: CCLD libvirt_driver_remote.la CCLD libvirt.la CCLD libvirt_test.la *** Warning: Linking the shared library libvirt_test.la against the non-libtool *** objects probes.o is not portable! Ye

Re: [libvirt] Compiler warnings

2011-10-18 Thread Wen Congyang
On 10/17/2011 11:35 PM, Alex Jia wrote: Hi all, I meet the following compiler warnings today: .. CC libvirt_util_la-buf.lo util/buf.c: In function 'virBufferEscape': util/buf.c:430: warning: logical '&&' with non-zero constant will always evaluate as true [-Wlogical-op] CC libvi

Re: [libvirt] Compiler warnings

2011-10-18 Thread Wen Congyang
On 10/18/2011 10:02 AM, Wen Congyang wrote: At 10/18/2011 01:03 AM, Eric Blake Write: On 10/17/2011 10:17 AM, Alex Jia wrote: Eric, It's latest libvirt upstream, current commit id is commit 0a71c79. # rpm -q glibc glibc-2.12-1.42.el6.x86_64 430 if (strchr(toescape, *cur))

Re: [libvirt] Compiler warnings

2011-10-17 Thread Alex Jia
On 10/18/2011 10:09 AM, Wen Congyang wrote: At 10/18/2011 09:32 AM, Wen Congyang Write: At 10/18/2011 01:04 AM, Eric Blake Write: On 10/17/2011 11:03 AM, Eric Blake wrote: On 10/17/2011 10:17 AM, Alex Jia wrote: Eric, It's latest libvirt upstream, current commit id is commit 0a71c79. # rpm -

Re: [libvirt] Compiler warnings

2011-10-17 Thread Wen Congyang
At 10/18/2011 09:32 AM, Wen Congyang Write: > At 10/18/2011 01:04 AM, Eric Blake Write: >> On 10/17/2011 11:03 AM, Eric Blake wrote: >>> On 10/17/2011 10:17 AM, Alex Jia wrote: Eric, It's latest libvirt upstream, current commit id is commit 0a71c79. # rpm -q glibc glibc-2.1

Re: [libvirt] Compiler warnings

2011-10-17 Thread Wen Congyang
At 10/18/2011 01:03 AM, Eric Blake Write: > On 10/17/2011 10:17 AM, Alex Jia wrote: >> Eric, >> It's latest libvirt upstream, current commit id is commit 0a71c79. >> >> # rpm -q glibc >> glibc-2.12-1.42.el6.x86_64 >> > >> 430 if (strchr(toescape, *cur)) > CC libvirt_util_la-

Re: [libvirt] Compiler warnings

2011-10-17 Thread Wen Congyang
At 10/18/2011 01:04 AM, Eric Blake Write: > On 10/17/2011 11:03 AM, Eric Blake wrote: >> On 10/17/2011 10:17 AM, Alex Jia wrote: >>> Eric, >>> It's latest libvirt upstream, current commit id is commit 0a71c79. >>> >>> # rpm -q glibc >>> glibc-2.12-1.42.el6.x86_64 >>> >> >>> 430 if (strchr(toescape,

Re: [libvirt] Compiler warnings

2011-10-17 Thread Eric Blake
On 10/17/2011 10:17 AM, Alex Jia wrote: Eric, It's latest libvirt upstream, current commit id is commit 0a71c79. # rpm -q glibc glibc-2.12-1.42.el6.x86_64 430 if (strchr(toescape, *cur)) CC libvirt_util_la-buf.lo util/buf.c: In function 'virBufferEscape': util/buf.c:430:

Re: [libvirt] Compiler warnings

2011-10-17 Thread Eric Blake
On 10/17/2011 11:03 AM, Eric Blake wrote: On 10/17/2011 10:17 AM, Alex Jia wrote: Eric, It's latest libvirt upstream, current commit id is commit 0a71c79. # rpm -q glibc glibc-2.12-1.42.el6.x86_64 430 if (strchr(toescape, *cur)) CC libvirt_util_la-buf.lo util/buf.c: In function 'virBuffe

Re: [libvirt] Compiler warnings

2011-10-17 Thread Alex Jia
quot; To: "Alex Jia" Cc: libvir-list@redhat.com Sent: Tuesday, October 18, 2011 12:11:19 AM Subject: Re: [libvirt] Compiler warnings On 10/17/2011 09:51 AM, Alex Jia wrote: > Eric, > # rpm -q gcc > gcc-4.4.6-3.el6.x86_64 I'm still not seeing it on my RHEL 6 host. What versi

Re: [libvirt] Compiler warnings

2011-10-17 Thread Eric Blake
On 10/17/2011 09:51 AM, Alex Jia wrote: Eric, # rpm -q gcc gcc-4.4.6-3.el6.x86_64 I'm still not seeing it on my RHEL 6 host. What version of glibc (in case it's a header problem), and is this the latest libvirt.git or a particular source rpm rebuild? What's on line 430 of the file in questi

Re: [libvirt] Compiler warnings

2011-10-17 Thread Alex Jia
Eric, # rpm -q gcc gcc-4.4.6-3.el6.x86_64 Regards, Alex - Original Message - From: "Eric Blake" To: "Alex Jia" Cc: libvir-list@redhat.com Sent: Monday, October 17, 2011 11:38:50 PM Subject: Re: [libvirt] Compiler warnings On 10/17/2011 09:35 AM, Alex Jia wrote: &g

Re: [libvirt] Compiler warnings

2011-10-17 Thread Eric Blake
On 10/17/2011 09:35 AM, Alex Jia wrote: Hi all, I meet the following compiler warnings today: .. CC libvirt_util_la-buf.lo util/buf.c: In function 'virBufferEscape': util/buf.c:430: warning: logical '&&' with non-zero constant will always evaluate as true [-Wlogical-op] Which version

[libvirt] Compiler warnings

2011-10-17 Thread Alex Jia
Hi all, I meet the following compiler warnings today: .. CC libvirt_util_la-buf.lo util/buf.c: In function 'virBufferEscape': util/buf.c:430: warning: logical '&&' with non-zero constant will always evaluate as true [-Wlogical-op] CC libvirt_util_la-command.lo .. CC libvir