You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "masayuki2009 (via GitHub)" <gi...@apache.org> on 2023/02/28 00:24:22 UTC
[GitHub] [nuttx] masayuki2009 commented on pull request #8643: risc-v: SV32 MMU support for qemu-rv (WIP)
masayuki2009 commented on PR #8643:
URL: https://github.com/apache/nuttx/pull/8643#issuecomment-1447333663
@g2gps
```
====================================================================================
Configuration/Tool: rv-virt/knsh32
------------------------------------------------------------------------------------
Cleaning...
Configuring...
.config:99:warning: symbol value '1000CONFIG_APPS_DIR="../apps"' invalid for USEC_PER_TICK
Building NuttX...
In file included from chip/qemu_rv_mm_init.c:30:
chip/qemu_rv_mm_init.c: In function 'qemu_rv_mm_init':
Error: chip/qemu_rv_mm_init.c:302:9: error: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uintptr_t' {aka 'unsigned int'} [-Werror=format=]
302 | binfo("mmu_enable: satp=%lx\n", g_kernel_pgt_pbase);
| ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
| |
| uintptr_t {aka unsigned int}
chip/qemu_rv_mm_init.c:302:29: note: format string is defined here
302 | binfo("mmu_enable: satp=%lx\n", g_kernel_pgt_pbase);
| ~~^
| |
| long unsigned int
| %x
cc1: all warnings being treated as errors
make[1]: *** [Makefile:135: qemu_rv_mm_init.o] Error 1
make[1]: Target 'libkarch.a' not remade because of errors.
make: *** [tools/LibTargets.mk:53: arch/risc-v/src/libkarch.a] Error 2
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org