[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH v2 00/13] Rewrite NVIC to not depend on the GIC
From: |
Peter Maydell |
Subject: |
Re: [Qemu-arm] [PATCH v2 00/13] Rewrite NVIC to not depend on the GIC |
Date: |
Fri, 24 Feb 2017 14:57:10 +0000 |
On 24 February 2017 at 14:40, Alex Bennée <address@hidden> wrote:
> The tests currently fail to build:
>
> /usr/bin/arm-none-eabi-objcopy -S -O binary test6-kern.elf test6-kern.bin
> test7.c: In function 'usage':
> test7.c:58:9: error: format '%x' expects argument of type 'unsigned int', but
> argument 2 has type 'uint32_t' [-Werror=format=]
> testDiag("Ignoring bogus LR %x, doing return to handler", old_lr);
> ^
> test7.c:76:9: error: format '%x' expects argument of type 'unsigned int', but
> argument 2 has type 'uint32_t' [-Werror=format=]
> testDiag("Ignoring bogus LR %x, doing return to thread", old_lr);
> ^
> test7.c: In function 'svc':
> test7.c:105:9: error: format '%x' expects argument of type 'unsigned int',
> but argument 2 has type 'uint32_t' [-Werror=format=]
> testDiag("New xPSR %x", sframe[7]);
> ^
> test7.c:109:9: error: format '%x' expects argument of type 'unsigned int',
> but argument 2 has type 'uint32_t' [-Werror=format=]
> testDiag("old xPSR %x", sframe[7]);
> ^
> test7.c:116:9: error: format '%x' expects argument of type 'unsigned int',
> but argument 2 has type 'uint32_t' [-Werror=format=]
> testDiag("In SVC handler (direct call from main with LR %x)",
> old_lr);
> ^
> /usr/bin/arm-none-eabi-objcopy -S -O binary test8-kern.elf test8-kern.bin
> /usr/bin/arm-none-eabi-objcopy -S -O binary test9-kern.elf test9-kern.bin
> /usr/bin/arm-none-eabi-objcopy -S -O binary test10-kern.elf test10-kern.bin
> /usr/bin/arm-none-eabi-objcopy -S -O binary test11-kern.elf test11-kern.bin
> /usr/bin/arm-none-eabi-objcopy -S -O binary test13-kern.elf test13-kern.bin
> /usr/bin/arm-none-eabi-objcopy -S -O binary test14-kern.elf test14-kern.bin
> cc1: all warnings being treated as errors
> Makefile:49: recipe for target 'test7.o' failed
> make: *** [test7.o] Error 1
> make: Target 'all' not remade because of errors.
>
> I suspect its the same thing as I came across with kvm-unit-tests that
> compilers targeting the same abi can still disagree about sizes:
>
>
> https://git.kernel.org/cgit/virt/kvm/kvm-unit-tests.git/commit/?id=529046c397059b8c5ef4dc5fb3c258d86fafb126
Could be. I use arm-linux-gnueabihf-gcc to build. If you use
PRIx32 does it build OK?
thanks
-- PMM
- [Qemu-arm] [PATCH v2 04/13] armv7m: Fix condition check for taking exceptions, (continued)
- [Qemu-arm] [PATCH v2 04/13] armv7m: Fix condition check for taking exceptions, Peter Maydell, 2017/02/16
- [Qemu-arm] [PATCH v2 01/13] armv7m: Rename nvic_state to NVICState, Peter Maydell, 2017/02/16
- [Qemu-arm] [PATCH v2 06/13] armv7m: Escalate exceptions to HardFault if necessary, Peter Maydell, 2017/02/16
- [Qemu-arm] [PATCH v2 03/13] armv7m: Rewrite NVIC to not use any GIC code, Peter Maydell, 2017/02/16
- Re: [Qemu-arm] [PATCH v2 00/13] Rewrite NVIC to not depend on the GIC, Peter Maydell, 2017/02/16
- Re: [Qemu-arm] [PATCH v2 00/13] Rewrite NVIC to not depend on the GIC, Alex Bennée, 2017/02/24
- Re: [Qemu-arm] [PATCH v2 00/13] Rewrite NVIC to not depend on the GIC, Peter Maydell, 2017/02/24
- Re: [Qemu-arm] [PATCH v2 00/13] Rewrite NVIC to not depend on the GIC, Peter Maydell, 2017/02/24
- Re: [Qemu-arm] [PATCH v2 00/13] Rewrite NVIC to not depend on the GIC, Alex Bennée, 2017/02/24
- Re: [Qemu-arm] [PATCH v2 00/13] Rewrite NVIC to not depend on the GIC,
Peter Maydell <=
- Re: [Qemu-arm] [PATCH v2 00/13] Rewrite NVIC to not depend on the GIC, Alex Bennée, 2017/02/24
- Re: [Qemu-arm] [PATCH v2 00/13] Rewrite NVIC to not depend on the GIC, Peter Maydell, 2017/02/24
- Re: [Qemu-arm] [PATCH v2 00/13] Rewrite NVIC to not depend on the GIC, Alex Bennée, 2017/02/24