Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jun 2026 11:14:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 295975] sys/x86/x86/ucode.c: c6ccef4a32b4e breaks compile on i386
Message-ID:  <bug-295975-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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

            Bug ID: 295975
           Summary: sys/x86/x86/ucode.c: c6ccef4a32b4e breaks compile on
                    i386
           Product: Base System
           Version: 15.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: d8zNeCFG@aon.at

Scenario:
- /usr/src at stable/15 at f77062f506f7
- bhyve running an i386 VM compiled from stable/15 at 6146c5962e5c (ca. May 22)
- running buildkernel

Result:
- compiling sys/x86/x86/ucode.c fails with

--- ucode.o ---
/net/orion/z/SRC/FreeBSD/src/MBi/stable/15/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);
      |                      ^~~~
/net/orion/z/SRC/FreeBSD/src/MBi/stable/15/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.

Expected result:
- Compiling this file should succeed like it did with 6146c5962e5c.

Notes:
- Looking at "git blame" leads to commit c6ccef4a32b4e as the likely culprit.

-- Martin

-- 
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-295975-227>