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: [email protected]
Reporter: [email protected]
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.