* [Qemu-devel] Compile error
@ 2012-09-16 16:25 Gerhard Wiesinger
2012-10-10 5:17 ` Gerhard Wiesinger
0 siblings, 1 reply; 9+ messages in thread
From: Gerhard Wiesinger @ 2012-09-16 16:25 UTC (permalink / raw)
To: qemu-devel; +Cc: M. Mohan Kumar
Hello,
qemu is currently not compile clean on Fedora 17:
CC fsdev/virtfs-proxy-helper.o
fsdev/virtfs-proxy-helper.c: In function ‘setfsugid’:
fsdev/virtfs-proxy-helper.c:293:13: error: ignoring return value of
‘setfsgid’, declared with attribute warn_unused_result
[-Werror=unused-result]
fsdev/virtfs-proxy-helper.c:294:13: error: ignoring return value of
‘setfsuid’, declared with attribute warn_unused_result
[-Werror=unused-result]
cc1: all warnings being treated as errors
make: *** [fsdev/virtfs-proxy-helper.o] Error 1
gcc --version
gcc (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5)
Please fix it.
Ciao,
Gerhard
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] Compile error
2012-09-16 16:25 [Qemu-devel] Compile error Gerhard Wiesinger
@ 2012-10-10 5:17 ` Gerhard Wiesinger
2012-10-10 5:52 ` [Qemu-devel] Wrong license (GPL 2 only) for files in fsdev Stefan Weil
2012-11-01 19:47 ` [Qemu-devel] Compile error Gerhard Wiesinger
0 siblings, 2 replies; 9+ messages in thread
From: Gerhard Wiesinger @ 2012-10-10 5:17 UTC (permalink / raw)
To: qemu-devel; +Cc: M. Mohan Kumar
Hello,
Still not compile clean, also on the build servers. Who is responsible
for the fix?
Ciao,
Gerhard
On 16.09.2012 18:25, Gerhard Wiesinger wrote:
> Hello,
>
> qemu is currently not compile clean on Fedora 17:
>
> CC fsdev/virtfs-proxy-helper.o
> fsdev/virtfs-proxy-helper.c: In function ‘setfsugid’:
> fsdev/virtfs-proxy-helper.c:293:13: error: ignoring return value of
> ‘setfsgid’, declared with attribute warn_unused_result
> [-Werror=unused-result]
> fsdev/virtfs-proxy-helper.c:294:13: error: ignoring return value of
> ‘setfsuid’, declared with attribute warn_unused_result
> [-Werror=unused-result]
> cc1: all warnings being treated as errors
> make: *** [fsdev/virtfs-proxy-helper.o] Error 1
>
> gcc --version
> gcc (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5)
>
> Please fix it.
>
> Ciao,
> Gerhard
>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Qemu-devel] Wrong license (GPL 2 only) for files in fsdev
2012-10-10 5:17 ` Gerhard Wiesinger
@ 2012-10-10 5:52 ` Stefan Weil
2012-10-10 7:14 ` Paolo Bonzini
2012-11-01 19:47 ` [Qemu-devel] Compile error Gerhard Wiesinger
1 sibling, 1 reply; 9+ messages in thread
From: Stefan Weil @ 2012-10-10 5:52 UTC (permalink / raw)
To: M. Mohan Kumar, Aneesh Kumar K.V
Cc: Paolo Bonzini, Anthony Liguori, qemu-devel
Hi,
all files in fsdev still use GNU GPL version 2 only instead of
GNU GPL version 2 or later.
Can this be fixed? If not, we should addtext like this:
* Contributions after 2012-10-10 are licensed under the terms of the
* GNU GPL, version 2 or (at your option) any later version.
Is it possible to add some general statement to the QEMU license
so that any file which is newly added and which uses GPL 2 is
automatically GPL 2+? IMHO at least some remarks in CODING_STYLE
would be good.
Regards
Stefan Weil
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] Wrong license (GPL 2 only) for files in fsdev
2012-10-10 5:52 ` [Qemu-devel] Wrong license (GPL 2 only) for files in fsdev Stefan Weil
@ 2012-10-10 7:14 ` Paolo Bonzini
0 siblings, 0 replies; 9+ messages in thread
From: Paolo Bonzini @ 2012-10-10 7:14 UTC (permalink / raw)
To: Stefan Weil; +Cc: Anthony Liguori, M. Mohan Kumar, Aneesh Kumar K.V, qemu-devel
Il 10/10/2012 07:52, Stefan Weil ha scritto:
> Hi,
>
> all files in fsdev still use GNU GPL version 2 only instead of
> GNU GPL version 2 or later.
It's IBM copyright, so I think no.
> Can this be fixed? If not, we should addtext like this:
>
> * Contributions after 2012-10-10 are licensed under the terms of the
> * GNU GPL, version 2 or (at your option) any later version.
Yes, that would be good.
> Is it possible to add some general statement to the QEMU license
> so that any file which is newly added and which uses GPL 2 is
> automatically GPL 2+? IMHO at least some remarks in CODING_STYLE
> would be good.
No, because in some cases there is GPLv2 code in the file, as was the
case for PCI device assignment.
Paolo
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] Compile error
2012-10-10 5:17 ` Gerhard Wiesinger
2012-10-10 5:52 ` [Qemu-devel] Wrong license (GPL 2 only) for files in fsdev Stefan Weil
@ 2012-11-01 19:47 ` Gerhard Wiesinger
2012-11-01 20:13 ` Max Filippov
2012-11-01 20:58 ` Anthony Liguori
1 sibling, 2 replies; 9+ messages in thread
From: Gerhard Wiesinger @ 2012-11-01 19:47 UTC (permalink / raw)
To: qemu-devel; +Cc: Anthony Liguori, M. Mohan Kumar
Ping again ...
Ciao,
Gerhard
On 10.10.2012 07:17, Gerhard Wiesinger wrote:
> Hello,
>
> Still not compile clean, also on the build servers. Who is responsible
> for the fix?
>
> Ciao,
> Gerhard
>
> On 16.09.2012 18:25, Gerhard Wiesinger wrote:
>> Hello,
>>
>> qemu is currently not compile clean on Fedora 17:
>>
>> CC fsdev/virtfs-proxy-helper.o
>> fsdev/virtfs-proxy-helper.c: In function ‘setfsugid’:
>> fsdev/virtfs-proxy-helper.c:293:13: error: ignoring return value of
>> ‘setfsgid’, declared with attribute warn_unused_result
>> [-Werror=unused-result]
>> fsdev/virtfs-proxy-helper.c:294:13: error: ignoring return value of
>> ‘setfsuid’, declared with attribute warn_unused_result
>> [-Werror=unused-result]
>> cc1: all warnings being treated as errors
>> make: *** [fsdev/virtfs-proxy-helper.o] Error 1
>>
>> gcc --version
>> gcc (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5)
>>
>> Please fix it.
>>
>> Ciao,
>> Gerhard
>>
>>
>
>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] Compile error
2012-11-01 19:47 ` [Qemu-devel] Compile error Gerhard Wiesinger
@ 2012-11-01 20:13 ` Max Filippov
2012-11-01 20:27 ` Gerhard Wiesinger
2012-11-01 20:58 ` Anthony Liguori
1 sibling, 1 reply; 9+ messages in thread
From: Max Filippov @ 2012-11-01 20:13 UTC (permalink / raw)
To: Gerhard Wiesinger; +Cc: Anthony Liguori, M. Mohan Kumar, qemu-devel
On Thu, Nov 1, 2012 at 11:47 PM, Gerhard Wiesinger <lists@wiesinger.com> wrote:
> Ping again ...
Can you just configure it with --disable-werror ? IIRC it is the
default for the released
QEMU versions.
> On 10.10.2012 07:17, Gerhard Wiesinger wrote:
>>
>> Hello,
>>
>> Still not compile clean, also on the build servers. Who is responsible for
>> the fix?
>>
>> Ciao,
>> Gerhard
>>
>> On 16.09.2012 18:25, Gerhard Wiesinger wrote:
>>>
>>> Hello,
>>>
>>> qemu is currently not compile clean on Fedora 17:
>>>
>>> CC fsdev/virtfs-proxy-helper.o
>>> fsdev/virtfs-proxy-helper.c: In function ‘setfsugid’:
>>> fsdev/virtfs-proxy-helper.c:293:13: error: ignoring return value of
>>> ‘setfsgid’, declared with attribute warn_unused_result
>>> [-Werror=unused-result]
>>> fsdev/virtfs-proxy-helper.c:294:13: error: ignoring return value of
>>> ‘setfsuid’, declared with attribute warn_unused_result
>>> [-Werror=unused-result]
>>> cc1: all warnings being treated as errors
>>> make: *** [fsdev/virtfs-proxy-helper.o] Error 1
>>>
>>> gcc --version
>>> gcc (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5)
>>>
>>> Please fix it.
--
Thanks.
-- Max
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] Compile error
2012-11-01 20:13 ` Max Filippov
@ 2012-11-01 20:27 ` Gerhard Wiesinger
0 siblings, 0 replies; 9+ messages in thread
From: Gerhard Wiesinger @ 2012-11-01 20:27 UTC (permalink / raw)
To: Max Filippov; +Cc: Anthony Liguori, M. Mohan Kumar, qemu-devel
Hello,
Yes, compiles when warnings are not treated as errors.
But do we want to be only compile clean when we suppress such warnings?
Also ./configure with plattform should be enough.
Ciao,
Gerhard
On 01.11.2012 21:13, Max Filippov wrote:
> On Thu, Nov 1, 2012 at 11:47 PM, Gerhard Wiesinger <lists@wiesinger.com> wrote:
>> Ping again ...
> Can you just configure it with --disable-werror ? IIRC it is the
> default for the released
> QEMU versions.
>
>> On 10.10.2012 07:17, Gerhard Wiesinger wrote:
>>> Hello,
>>>
>>> Still not compile clean, also on the build servers. Who is responsible for
>>> the fix?
>>>
>>> Ciao,
>>> Gerhard
>>>
>>> On 16.09.2012 18:25, Gerhard Wiesinger wrote:
>>>> Hello,
>>>>
>>>> qemu is currently not compile clean on Fedora 17:
>>>>
>>>> CC fsdev/virtfs-proxy-helper.o
>>>> fsdev/virtfs-proxy-helper.c: In function ‘setfsugid’:
>>>> fsdev/virtfs-proxy-helper.c:293:13: error: ignoring return value of
>>>> ‘setfsgid’, declared with attribute warn_unused_result
>>>> [-Werror=unused-result]
>>>> fsdev/virtfs-proxy-helper.c:294:13: error: ignoring return value of
>>>> ‘setfsuid’, declared with attribute warn_unused_result
>>>> [-Werror=unused-result]
>>>> cc1: all warnings being treated as errors
>>>> make: *** [fsdev/virtfs-proxy-helper.o] Error 1
>>>>
>>>> gcc --version
>>>> gcc (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5)
>>>>
>>>> Please fix it.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] Compile error
2012-11-01 19:47 ` [Qemu-devel] Compile error Gerhard Wiesinger
2012-11-01 20:13 ` Max Filippov
@ 2012-11-01 20:58 ` Anthony Liguori
2012-11-01 21:29 ` Gerhard Wiesinger
1 sibling, 1 reply; 9+ messages in thread
From: Anthony Liguori @ 2012-11-01 20:58 UTC (permalink / raw)
To: Gerhard Wiesinger, qemu-devel; +Cc: M. Mohan Kumar
Gerhard Wiesinger <lists@wiesinger.com> writes:
> Ping again ...
>
> Ciao,
> Gerhard
What platform is this breaking on?
Can you point me to the buildbot failure?
Regards,
Anthony Liguori
>
> On 10.10.2012 07:17, Gerhard Wiesinger wrote:
>> Hello,
>>
>> Still not compile clean, also on the build servers. Who is responsible
>> for the fix?
>>
>> Ciao,
>> Gerhard
>>
>> On 16.09.2012 18:25, Gerhard Wiesinger wrote:
>>> Hello,
>>>
>>> qemu is currently not compile clean on Fedora 17:
>>>
>>> CC fsdev/virtfs-proxy-helper.o
>>> fsdev/virtfs-proxy-helper.c: In function ‘setfsugid’:
>>> fsdev/virtfs-proxy-helper.c:293:13: error: ignoring return value of
>>> ‘setfsgid’, declared with attribute warn_unused_result
>>> [-Werror=unused-result]
>>> fsdev/virtfs-proxy-helper.c:294:13: error: ignoring return value of
>>> ‘setfsuid’, declared with attribute warn_unused_result
>>> [-Werror=unused-result]
>>> cc1: all warnings being treated as errors
>>> make: *** [fsdev/virtfs-proxy-helper.o] Error 1
>>>
>>> gcc --version
>>> gcc (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5)
>>>
>>> Please fix it.
>>>
>>> Ciao,
>>> Gerhard
>>>
>>>
>>
>>
>>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] Compile error
2012-11-01 20:58 ` Anthony Liguori
@ 2012-11-01 21:29 ` Gerhard Wiesinger
0 siblings, 0 replies; 9+ messages in thread
From: Gerhard Wiesinger @ 2012-11-01 21:29 UTC (permalink / raw)
To: Anthony Liguori; +Cc: M. Mohan Kumar, qemu-devel
On 01.11.2012 21:58, Anthony Liguori wrote:
> What platform is this breaking on?
>
> Can you point me to the buildbot failure?
Fedora 17, x64:
3.6.3-1.fc17.x86_64
gcc (GCC) 4.7.2 20120921 (Red Hat 4.7.2-2)
E.g. here:
http://www.kraxel.org/bb/builders/fedora-default/builds/888/steps/compile/logs/stdio
Ciao,
Gerhard
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2012-11-01 21:29 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-16 16:25 [Qemu-devel] Compile error Gerhard Wiesinger
2012-10-10 5:17 ` Gerhard Wiesinger
2012-10-10 5:52 ` [Qemu-devel] Wrong license (GPL 2 only) for files in fsdev Stefan Weil
2012-10-10 7:14 ` Paolo Bonzini
2012-11-01 19:47 ` [Qemu-devel] Compile error Gerhard Wiesinger
2012-11-01 20:13 ` Max Filippov
2012-11-01 20:27 ` Gerhard Wiesinger
2012-11-01 20:58 ` Anthony Liguori
2012-11-01 21:29 ` Gerhard Wiesinger
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).