[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <24FFA367-A571-4C61-9D09-C226CDD05E42@zytor.com>
Date: Fri, 08 Aug 2025 22:37:53 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: andreasx0 <andreasx0@...tonmail.com>,
"CC: Thomas Gleixner" <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>,
"x86@...nel.org" <x86@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [BUG] x86_64: build failure in switch_fpu() due to missing x86_task_fpu() declaration (v6.16)
On August 8, 2025 6:18:12 PM PDT, andreasx0 <andreasx0@...tonmail.com> wrote:
>Hello,
>When building Linux kernel v6.16 for x86_64, I encountered a build failure:
>
> In file included from arch/x86/kernel/process_64.c:46:
> ./arch/x86/include/asm/fpu/sched.h:37:39: error: implicit declaration of function ‘x86_task_fpu’; did you mean ‘set_task_cpu’? [-Wimplicit-function-declaration]
> 37 | struct fpu *old_fpu = x86_task_fpu(old);
> | ^~~~~~~~~~~~
> | set_task_cpu
> ./arch/x86/include/asm/fpu/sched.h:37:39: error: initialization of ‘struct fpu *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
>
>
>Thanks
What is your .config file?
Powered by blists - more mailing lists