[PR #6] [CLOSED] compile error #14

Open
opened 2026-01-31 21:29:22 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/qemu/qemu/pull/6
Author: @Cool-Joe
Created: 3/4/2014
Status: Closed

Base: masterHead: dev-imx233


📝 Commits (10+)

  • d68c0e1 ds18s20: Add onewire thermal sensor
  • aecc509 mxs/imx23: Add main header file
  • 7037565 mxs: Add CONFIG_MXS to the arm-softmmu config
  • 1c3a8dc mxs/imx23: Add uart driver
  • 0e128c0 mxs/imx23: Add DMA driver
  • 7a00e01 mxs/imx23: Add the interrupt collector
  • f481467 mxs/imx23: Add digctl driver
  • c4ced1c mxs/imx23: Implements the pin mux, GPIOs
  • 29f766e mxs/imx23: Add SSP/SPI driver
  • 8865827 mxs/imx23: Add the RTC block

📊 Changes

22 files changed (+3115 additions, -0 deletions)

View changed files

📝 default-configs/arm-softmmu.mak (+1 -0)
📝 hw/arm/Makefile.objs (+2 -0)
hw/arm/imx233-olinuxino.c (+169 -0)
hw/arm/imx23_digctl.c (+110 -0)
hw/arm/imx23_pinctrl.c (+293 -0)
hw/arm/mxs.c (+388 -0)
hw/arm/mxs.h (+208 -0)
📝 hw/char/Makefile.objs (+1 -0)
hw/char/mxs_uart.c (+146 -0)
📝 hw/dma/Makefile.objs (+1 -0)
hw/dma/mxs_dma.c (+347 -0)
📝 hw/intc/Makefile.objs (+1 -0)
hw/intc/mxs_icoll.c (+200 -0)
📝 hw/misc/Makefile.objs (+2 -0)
hw/misc/w1-ds18s20.c (+332 -0)
📝 hw/ssi/Makefile.objs (+1 -0)
hw/ssi/mxs_spi.c (+239 -0)
📝 hw/timer/Makefile.objs (+1 -0)
hw/timer/mxs_rtc.c (+147 -0)
hw/timer/mxs_timrot.c (+271 -0)

...and 2 more files

📄 Description

Got a fresh copy from git today... and won't compile:

/data/qemu-buserror/target-arm/cpu64.c: In Funktion »aarch64_cpu_register_types«:
/data/qemu-buserror/target-arm/cpu64.c:124:5: Fehler: Vergleich eines vorzeichenlosen Ausdrucks < 0 ist stets »unwahr« [-Werror=type-limits]
for (i = 0; i < ARRAY_SIZE(aarch64_cpus); i++) {
^
cc1: Alle Warnungen werden als Fehler behandelt
make[1]: *** [target-arm/cpu64.o] Fehler 1
make: *** [subdir-aarch64-softmmu] Fehler 2

(Translation of the err msg: "Comparison of an unsigned statement < 0 is always »false«")

Compiled on ArchLinux 3.13.5-x86

PS: My temporary bugfix: Changed
for (i = 0; i < ARRAY_SIZE(aarch64_cpus); i++) {
into
for (i = 0; i < (int) ARRAY_SIZE(aarch64_cpus); i++) {
-> compiles... don't know if it's ok...


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/qemu/qemu/pull/6 **Author:** [@Cool-Joe](https://github.com/Cool-Joe) **Created:** 3/4/2014 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dev-imx233` --- ### 📝 Commits (10+) - [`d68c0e1`](https://github.com/qemu/qemu/commit/d68c0e108cf12c1616b09df3f3086cb02fa216f3) ds18s20: Add onewire thermal sensor - [`aecc509`](https://github.com/qemu/qemu/commit/aecc5093709464c6632560d1a74436b02054249d) mxs/imx23: Add main header file - [`7037565`](https://github.com/qemu/qemu/commit/7037565eb025ae21e2f9edaef00dd60ddaef950b) mxs: Add CONFIG_MXS to the arm-softmmu config - [`1c3a8dc`](https://github.com/qemu/qemu/commit/1c3a8dcdb51df3415082971e84a0252cae3c026e) mxs/imx23: Add uart driver - [`0e128c0`](https://github.com/qemu/qemu/commit/0e128c04b9a3aed7ea624cee2949766e1bc23d77) mxs/imx23: Add DMA driver - [`7a00e01`](https://github.com/qemu/qemu/commit/7a00e0189f631136802f045e81e780835ae63264) mxs/imx23: Add the interrupt collector - [`f481467`](https://github.com/qemu/qemu/commit/f48146722a0e8f917f54c1dd01d4cbfc1ef5a88e) mxs/imx23: Add digctl driver - [`c4ced1c`](https://github.com/qemu/qemu/commit/c4ced1c07c425b365b2aaecc1132febe2718e3ef) mxs/imx23: Implements the pin mux, GPIOs - [`29f766e`](https://github.com/qemu/qemu/commit/29f766ec8a15807326a8020f02e2b95d6071aebb) mxs/imx23: Add SSP/SPI driver - [`8865827`](https://github.com/qemu/qemu/commit/8865827262bb4d7e6d11af9a84c5dfa914f513c9) mxs/imx23: Add the RTC block ### 📊 Changes **22 files changed** (+3115 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `default-configs/arm-softmmu.mak` (+1 -0) 📝 `hw/arm/Makefile.objs` (+2 -0) ➕ `hw/arm/imx233-olinuxino.c` (+169 -0) ➕ `hw/arm/imx23_digctl.c` (+110 -0) ➕ `hw/arm/imx23_pinctrl.c` (+293 -0) ➕ `hw/arm/mxs.c` (+388 -0) ➕ `hw/arm/mxs.h` (+208 -0) 📝 `hw/char/Makefile.objs` (+1 -0) ➕ `hw/char/mxs_uart.c` (+146 -0) 📝 `hw/dma/Makefile.objs` (+1 -0) ➕ `hw/dma/mxs_dma.c` (+347 -0) 📝 `hw/intc/Makefile.objs` (+1 -0) ➕ `hw/intc/mxs_icoll.c` (+200 -0) 📝 `hw/misc/Makefile.objs` (+2 -0) ➕ `hw/misc/w1-ds18s20.c` (+332 -0) 📝 `hw/ssi/Makefile.objs` (+1 -0) ➕ `hw/ssi/mxs_spi.c` (+239 -0) 📝 `hw/timer/Makefile.objs` (+1 -0) ➕ `hw/timer/mxs_rtc.c` (+147 -0) ➕ `hw/timer/mxs_timrot.c` (+271 -0) _...and 2 more files_ </details> ### 📄 Description Got a fresh copy from git today... and won't compile: /data/qemu-buserror/target-arm/cpu64.c: In Funktion »aarch64_cpu_register_types«: /data/qemu-buserror/target-arm/cpu64.c:124:5: Fehler: Vergleich eines vorzeichenlosen Ausdrucks < 0 ist stets »unwahr« [-Werror=type-limits] for (i = 0; i < ARRAY_SIZE(aarch64_cpus); i++) { ^ cc1: Alle Warnungen werden als Fehler behandelt make[1]: **\* [target-arm/cpu64.o] Fehler 1 make: **\* [subdir-aarch64-softmmu] Fehler 2 (Translation of the err msg: "Comparison of an unsigned statement < 0 is always »false«") Compiled on ArchLinux 3.13.5-x86 PS: My temporary bugfix: Changed for (i = 0; i < ARRAY_SIZE(aarch64_cpus); i++) { into for (i = 0; i < (int) ARRAY_SIZE(aarch64_cpus); i++) { -> compiles... don't know if it's ok... --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 21:29:22 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/qemu#14