Kevin Wolf writes:
> Am 16.04.2013 um 11:00 hat Markus Armbruster geschrieben:
>> Alexey Kardashevskiy writes:
>>
>> > On 04/16/2013 01:55 AM, Markus Armbruster wrote:
>> >> Alexey Kardashevskiy writes:
>> >>
>> >>> On 04/15/2013 10:57 PM, Markus Armbruster wrote:
>> Alexey Kardashevskiy
Paolo Bonzini writes:
> Il 16/04/2013 12:54, Alexey Kardashevskiy ha scritto:
>>>
>>> but you shouldn't need it. Just configure your GCC with
>>> --with-sysroot=/foo and it should just work.
>>
>>
>> --sysroot helps for native compiler but does not for the cross compiler.
>
> That usually poin
Am 16.04.2013 um 11:00 hat Markus Armbruster geschrieben:
> Alexey Kardashevskiy writes:
>
> > On 04/16/2013 01:55 AM, Markus Armbruster wrote:
> >> Alexey Kardashevskiy writes:
> >>
> >>> On 04/15/2013 10:57 PM, Markus Armbruster wrote:
> Alexey Kardashevskiy writes:
>
> > On 04/
Il 16/04/2013 12:54, Alexey Kardashevskiy ha scritto:
>>
>> but you shouldn't need it. Just configure your GCC with
>> --with-sysroot=/foo and it should just work.
>
>
> --sysroot helps for native compiler but does not for the cross compiler.
That usually points at an incorrect configuration wh
On 04/16/2013 07:00 PM, Markus Armbruster wrote:
Alexey Kardashevskiy writes:
On 04/16/2013 01:55 AM, Markus Armbruster wrote:
Alexey Kardashevskiy writes:
On 04/15/2013 10:57 PM, Markus Armbruster wrote:
Alexey Kardashevskiy writes:
On 04/15/2013 08:01 PM, Peter Maydell wrote:
On 15
On 04/16/2013 07:22 PM, Paolo Bonzini wrote:
Il 16/04/2013 09:57, Markus Armbruster ha scritto:
I think this is just beautiful. Fedora18, x86_64, NO cross
compiler. gcc does not apply -Wredundant-decls to /usr/include/* but
does it for all other headers and in the case of cross compilation I
hi
Paolo Bonzini writes:
[...]
>> This workaround does NOT work if pragmas used. "#pragma GCC diagnostic
>> error "-Wredundant-decls"" re-enables warnings as errors.
>
> The solution is to use push/pop like this:
>
> diff --git a/coroutine-ucontext.c b/coroutine-ucontext.c
> index 867a662..4bf2cde 1
Il 16/04/2013 09:57, Markus Armbruster ha scritto:
>>
>> I think this is just beautiful. Fedora18, x86_64, NO cross
>> compiler. gcc does not apply -Wredundant-decls to /usr/include/* but
>> does it for all other headers and in the case of cross compilation I
>> hit this case.
'-Wsystem-headers'
Alexey Kardashevskiy writes:
> On 04/16/2013 01:55 AM, Markus Armbruster wrote:
>> Alexey Kardashevskiy writes:
>>
>>> On 04/15/2013 10:57 PM, Markus Armbruster wrote:
Alexey Kardashevskiy writes:
> On 04/15/2013 08:01 PM, Peter Maydell wrote:
>> On 15 April 2013 10:50, Alexey
Gcc issue, perhaps Paolo [cc'ed] got an idea.
Alexey Kardashevskiy writes:
> On 04/16/2013 08:48 AM, Alexey Kardashevskiy wrote:
>> On 04/16/2013 01:55 AM, Markus Armbruster wrote:
>>> Alexey Kardashevskiy writes:
>>>
On 04/15/2013 10:57 PM, Markus Armbruster wrote:
> Alexey Kardashevs
On 04/16/2013 08:48 AM, Alexey Kardashevskiy wrote:
On 04/16/2013 01:55 AM, Markus Armbruster wrote:
Alexey Kardashevskiy writes:
On 04/15/2013 10:57 PM, Markus Armbruster wrote:
Alexey Kardashevskiy writes:
On 04/15/2013 08:01 PM, Peter Maydell wrote:
On 15 April 2013 10:50, Alexey Kard
On 04/16/2013 01:55 AM, Markus Armbruster wrote:
Alexey Kardashevskiy writes:
On 04/15/2013 10:57 PM, Markus Armbruster wrote:
Alexey Kardashevskiy writes:
On 04/15/2013 08:01 PM, Peter Maydell wrote:
On 15 April 2013 10:50, Alexey Kardashevskiy wrote:
/home/alexey/pcipassthru/qemu-impr
Alexey Kardashevskiy writes:
> On 04/15/2013 10:57 PM, Markus Armbruster wrote:
>> Alexey Kardashevskiy writes:
>>
>>> On 04/15/2013 08:01 PM, Peter Maydell wrote:
On 15 April 2013 10:50, Alexey Kardashevskiy wrote:
> /home/alexey/pcipassthru/qemu-impreza/../lib4qemu/usr/include/assert
On 04/15/2013 10:57 PM, Markus Armbruster wrote:
Alexey Kardashevskiy writes:
On 04/15/2013 08:01 PM, Peter Maydell wrote:
On 15 April 2013 10:50, Alexey Kardashevskiy wrote:
/home/alexey/pcipassthru/qemu-impreza/../lib4qemu/usr/include/assert.h:67:13:
error: redundant redeclaration of '__a
Alexey Kardashevskiy writes:
> On 04/15/2013 08:01 PM, Peter Maydell wrote:
>> On 15 April 2013 10:50, Alexey Kardashevskiy wrote:
>>> /home/alexey/pcipassthru/qemu-impreza/../lib4qemu/usr/include/assert.h:67:13:
>>> error: redundant redeclaration of '__assert_fail' [-Werror=redundant-decls]
>>>
On 04/15/2013 09:14 PM, Peter Maydell wrote:
On 15 April 2013 12:08, Alexey Kardashevskiy wrote:
On 04/15/2013 09:00 PM, Peter Maydell wrote:
You may be hitting more issues because your target libc happens to be
one that not very many other people are targetting.
Is standard glibc not popul
On 15 April 2013 12:08, Alexey Kardashevskiy wrote:
> On 04/15/2013 09:00 PM, Peter Maydell wrote:
>> You may be hitting more issues because your target libc happens to be
>> one that not very many other people are targetting.
>
>
> Is standard glibc not popular any more? Wow. Neither RHEL (5.0+)
On 04/15/2013 09:00 PM, Peter Maydell wrote:
On 15 April 2013 11:52, Alexey Kardashevskiy wrote:
I suspect I am getting these errors because I am the only person who
is trying to cross compile or/and when host and target endianness
differ.
Cross compilation or otherwise should have zero effec
On 04/15/2013 08:01 PM, Peter Maydell wrote:
On 15 April 2013 10:50, Alexey Kardashevskiy wrote:
/home/alexey/pcipassthru/qemu-impreza/../lib4qemu/usr/include/assert.h:67:13:
error: redundant redeclaration of '__assert_fail' [-Werror=redundant-decls]
/home/alexey/pcipassthru/qemu-impreza/../lib
On 15 April 2013 11:52, Alexey Kardashevskiy wrote:
> I suspect I am getting these errors because I am the only person who is
> trying to cross compile or/and when host and target endianness differ.
Cross compilation or otherwise should have zero effect here.
You may be hitting more issues becaus
On 15 April 2013 11:01, Peter Maydell wrote:
> This copy of assert.h seems to be broken. The declarations
> should be guarded (by _ASSERT_H_DECLS in my system's copy).
FWIW, the _ASSERT_H_DECLS fix appears to be a Debian specific
patch (added in 2003; I can't find any record of it ever being
subm
On 15 April 2013 10:50, Alexey Kardashevskiy wrote:
> /home/alexey/pcipassthru/qemu-impreza/../lib4qemu/usr/include/assert.h:67:13:
> error: redundant redeclaration of '__assert_fail' [-Werror=redundant-decls]
> /home/alexey/pcipassthru/qemu-impreza/../lib4qemu/usr/include/assert.h:67:13:
> note:
On 04/15/2013 06:23 PM, Markus Armbruster wrote:
Alexey Kardashevskiy writes:
On 04/15/2013 05:08 PM, Markus Armbruster wrote:
Alexey Kardashevskiy writes:
The assert.h header file from Fedora18 does not have #ifdef-#endif
brackets around __assert function so it cannot compile with
the
Alexey Kardashevskiy writes:
> On 04/15/2013 05:08 PM, Markus Armbruster wrote:
>> Alexey Kardashevskiy writes:
>>
>>> The assert.h header file from Fedora18 does not have #ifdef-#endif
>>> brackets around __assert function so it cannot compile with
>>> the -Wredundant-decls switch on.
>>>
>
On 04/15/2013 05:30 PM, Peter Maydell wrote:
On 15 April 2013 08:26, Alexey Kardashevskiy wrote:
On 04/15/2013 05:18 PM, Peter Maydell wrote:
On 15 April 2013 03:31, Alexey Kardashevskiy wrote:
The assert.h header file from Fedora18 does not have #ifdef-#endif
brackets around __assert
On 15 April 2013 08:26, Alexey Kardashevskiy wrote:
> On 04/15/2013 05:18 PM, Peter Maydell wrote:
>>
>> On 15 April 2013 03:31, Alexey Kardashevskiy wrote:
>>>
>>> The assert.h header file from Fedora18 does not have #ifdef-#endif
>>> brackets around __assert function so it cannot compile wi
On 04/15/2013 05:18 PM, Peter Maydell wrote:
On 15 April 2013 03:31, Alexey Kardashevskiy wrote:
The assert.h header file from Fedora18 does not have #ifdef-#endif
brackets around __assert function so it cannot compile with
the -Wredundant-decls switch on.
Some Linux distributions (such as
On 15 April 2013 03:31, Alexey Kardashevskiy wrote:
> The assert.h header file from Fedora18 does not have #ifdef-#endif
> brackets around __assert function so it cannot compile with
> the -Wredundant-decls switch on.
>
> Some Linux distributions (such as Debian Wheezy) still do have those
> b
On 04/15/2013 05:08 PM, Markus Armbruster wrote:
Alexey Kardashevskiy writes:
The assert.h header file from Fedora18 does not have #ifdef-#endif
brackets around __assert function so it cannot compile with
the -Wredundant-decls switch on.
Some Linux distributions (such as Debian Wheezy) st
Alexey Kardashevskiy writes:
> The assert.h header file from Fedora18 does not have #ifdef-#endif
> brackets around __assert function so it cannot compile with
> the -Wredundant-decls switch on.
>
> Some Linux distributions (such as Debian Wheezy) still do have those
> brackets arounb __asser
The assert.h header file from Fedora18 does not have #ifdef-#endif
brackets around __assert function so it cannot compile with
the -Wredundant-decls switch on.
Some Linux distributions (such as Debian Wheezy) still do have those
brackets arounb __assert functions (#ifndef _ASSERT_H_DECLS)
31 matches
Mail list logo