Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Aug 2025 11:38:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 289054] extrace.c:304:63: error: format specifies type 'unsigned long' but the argument has type 'UINT64'
Message-ID:  <bug-289054-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289054

            Bug ID: 289054
           Summary: extrace.c:304:63: error: format specifies type
                    'unsigned long' but the argument has type 'UINT64'
           Product: Base System
           Version: CURRENT
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: dan.kotowski@a9development.com

The latest ACPICA commits broke builds for TARGET_ARCH=i386. The most likely
commits are:
b5daf675efc7 acpica: Merge ACPICA 20250807
5bb60d44e941 (tag: vendor/acpica/20250807, freebsd/vendor/acpica) Import ACPICA
20250807

===> usr.sbin/acpi/acpidb (all)
cc -target i386-unknown-freebsd15.0 --sysroot=/usr/obj/usr/src/i386.i386/tmp
-B/usr/obj/usr/src/i386.i386/tmp/usr/bin  -O2 -pipe -fno-common -DACPI_DB_APP
-DACPI_EXEC_APP -fno-strict-aliasing   -I/usr/src/sys
-ffile-prefix-map=/usr/src=/usr/src -ffile-prefix-map=/usr/obj/usr/src=/usr/obj
-g -gz=zlib -MD  -MF.depend.extrace.o -MTextrace.o -std=gnu17
-Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign
-Wdate-time -Wno-null-pointer-arithmetic -Wno-empty-body -Wno-string-plus-int
-Wno-unused-const-variable -Wno-error=unused-but-set-parameter
-Wno-error=cast-function-type-mismatch -Wno-tautological-compare
-Wno-unused-value -Wno-parentheses-equality -Wno-unused-function
-Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member 
-Qunused-arguments     -c
/usr/src/sys/contrib/dev/acpica/components/executer/extrace.c -o extrace.o
/usr/src/sys/contrib/dev/acpica/components/executer/extrace.c:304:63: error:
format specifies type 'unsigned long' but the argument has type 'UINT64' (aka
'unsigned long long') [-Werror,-Wformat]
  304 |             ACPI_DEBUG_PRINT_RAW((ACPI_DB_TRACE_POINT, "%lx",
obj_desc->Integer.Value));
      |                                                         ~~~  
^~~~~~~~~~~~~~~~~~~~~~~
      |                                                         %llx
/usr/src/sys/contrib/dev/acpica/include/acoutput.h:463:63: note: expanded from
macro 'ACPI_DEBUG_PRINT_RAW'
  463 | #define ACPI_DEBUG_PRINT_RAW(plist)     ACPI_ACTUAL_DEBUG_RAW plist
      |                                                               ^~~~~
/usr/src/sys/contrib/dev/acpica/include/acoutput.h:460:42: note: expanded from
macro 'ACPI_ACTUAL_DEBUG_RAW'
  460 |         Filename, Modulename, Component, __VA_ARGS__)
      |                                          ^~~~~~~~~~~
/usr/src/sys/contrib/dev/acpica/include/acoutput.h:450:69: note: expanded from
macro 'ACPI_DO_DEBUG_PRINT'
  450 |             Function (Level, Line, Filename, Modulename, Component,
__VA_ARGS__); \
      |                                                                    
^~~~~~~~~~~
/usr/src/sys/contrib/dev/acpica/include/acoutput.h:430:44: note: expanded from
macro 'ACPI_DO_WHILE0'
  430 | #define ACPI_DO_WHILE0(a)               do a while(0)
      |                                            ^
1 error generated.
*** Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-289054-227>