Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jun 2026 01:08:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 295926] FreeBSD 15.1-RC2 i386 compile error
Message-ID:  <bug-295926-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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

            Bug ID: 295926
           Summary: FreeBSD 15.1-RC2 i386 compile error
           Product: Base System
           Version: 15.1-RELEASE
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: ota@j.email.ne.jp

FreeBSD 15.1-RC3's code started producing compile error.
I haven't seen this until recent and was able to install up to 15.1-RC2.

% make -j 1 buildkernel
/sys
-ffile-prefix-map=/usr/obj/usr/src/i386.i386/sys/GENERIC=/usr/obj/usr/src/i386.i386/sys/GENERIC
-ffile-prefix-map=/usr/obj/usr/src/i386.i386/tmp=/sysroot
-fdebug-prefix-map=./machine=/usr/src/sys/i386/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include -mno-mmx -mno-sse
-msoft-float -ffreestanding -fwrapv -fstack-protector  -gdwarf-4 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef
-Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas -Wswitch
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx 
-std=gnu17 -Werror /usr/src/sys/x86/x86/ucode.c
/usr/src/sys/x86/x86/ucode.c:372:15: error: incompatible integer to pointer
conversion passing 'uintptr_t' (aka 'unsigned int') to parameter of type 'void
* _Nonnull' [-Wint-conversion]
  372 |         memcpy_early(free, match, len);
      |                      ^~~~
/usr/src/sys/sys/systm.h:290:36: note: passing argument to parameter 'to' here
  290 | void    *memcpy_early(void * _Nonnull to, const void * _Nonnull from,
size_t len);
      |                                       ^
1 error generated.
*** [ucode.o] Error code 1

make[2]: stopped making "all" in /usr/obj/usr/src/i386.i386/sys/GENERIC
make[2]: 1 error

make[2]: stopped making "all" in /usr/obj/usr/src/i386.i386/sys/GENERIC
       24.03 real        11.95 user        11.98 sys

% uname -a
FreeBSD a315-53 15.1-RC2 FreeBSD 15.1-RC2 releng/15.1-n283554-1f29a037cbc8
GENERIC i386

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

home | help

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