-
-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
6.10.0 - Odd Compile Errors Under LLVM18 #1001
Comments
Have you tried without any user patches just to confirm ? |
The only thing that comes to mind is Graysky2's cpu opt patch. Since it's external to this repo it gets updated outside of our control and stuff might change/break. There were pretty large changes recently regarding that patch. First about 3 weeks ago, when the issue happened, then up to last week where it seemingly stabilized. Did it get fixed along the way @ThisNekoGuy ? |
I haven't checked yet, but I can try again tomorrow @Tk-Glitch |
@Tk-Glitch Sorry, I think I had responded when I was half-asleep before and I forgot; . . .
LD [M] drivers/gpu/drm/amd/amdgpu/amdgpu.o
AR drivers/gpu/built-in.a
AR drivers/built-in.a
AR built-in.a
AR vmlinux.a
GEN .tmp_remove-ctf.lds
ld.lld: error: no input files
LD vmlinux.o
OBJCOPY modules.builtin.modinfo
GEN modules.builtin
GEN modules.builtin.objs
MODPOST Module.symvers
CC .vmlinux.export.o
UPD include/generated/utsversion.h
CC init/version-timestamp.o
KSYMS .tmp_vmlinux0.kallsyms.S
AS .tmp_vmlinux0.kallsyms.o
LD .tmp_vmlinux1
BTF .tmp_vmlinux1.btf.o
NM .tmp_vmlinux1.syms
KSYMS .tmp_vmlinux1.kallsyms.S
AS .tmp_vmlinux1.kallsyms.o
LD .tmp_vmlinux2
NM .tmp_vmlinux2.syms
KSYMS .tmp_vmlinux2.kallsyms.S
AS .tmp_vmlinux2.kallsyms.o
LD vmlinux
BTFIDS vmlinux
NM System.map
SORTTAB vmlinux
RELOCS arch/x86/boot/compressed/vmlinux.relocs
RSTRIP vmlinux The errors from before aren't an issue anymore, but I did get an lld error for some reason? |
Strange that it didn't stop, indeed 🤔 And the error itself is also weird. |
Describe the Bug:
Description:
Yesterday, I compiled version
6.10.9
and installed it just fine. Today, with the same patches, same compile options, and same configuration (I touched nothing except changing the kernel version number to6.10.10
), I get 20 errors now when attempting to compile. Even if I switch the kernel version back to6.10.9
, set the config fragment to pick up the running tkg kernel,rm -rf
the kernel git repo, andgit pull
the linux-tkg repo.I've got absolutely no idea what suddenly changed overnight for LLVM to suddenly claim that there are 20 uses of "undeclared identifiers".
User Patch Sources:
For clarification on what user patches were used, it was primarily Gentoo's official patches:
(I also wrote a script for grabbing them, since they're hassle to grab individually)
Quick Downloader:
And just a few of CachyOS's:
Regardless, though, I can't imagine what could be causing this if nothing changed between yesterday and today.
I didn't even run a system update, either.
The text was updated successfully, but these errors were encountered: