On 12/2/25 13:01, Shuah Khan wrote:
On 12/1/25 19:31, Guenter Roeck wrote:
On Mon, Dec 01, 2025 at 03:17:49PM -0700, Shuah Khan wrote:
Hi Alex,
I am seeing the following make error on Linux 6.18.
I started seeing build failures since rc7 and rc6
build was just fine on the same config file.
LD [M] drivers/gpu/drm/amd/amdgpu/amdgpu.o
drivers/gpu/drm/amd/amdgpu/amdgpu.o: error: objtool: elf_init_reloc:
.rela.orc_unwind_ip: reloc 39935 already initialized!
make[6]: *** [scripts/Makefile.build:503: drivers/gpu/drm/amd/amdgpu/amdgpu.o]
Error 255
make[6]: *** Deleting file 'drivers/gpu/drm/amd/amdgpu/amdgpu.o'
make[5]: *** [scripts/Makefile.build:556: drivers/gpu/drm/amd/amdgpu] Error 2
make[4]: *** [scripts/Makefile.build:556: drivers/gpu/drm] Error 2
make[3]: *** [scripts/Makefile.build:556: drivers/gpu] Error 2
make[2]: *** [scripts/Makefile.build:556: drivers] Error 2
make[1]: *** [/linux/linux_6.18/Makefile:2010: .] Error 2
make: *** [Makefile:248: __sub-make] Error 2
I tried "make clean" and "make distclean" just in case, still see
the same error.
My test system does not report any problems. What is the configuration
and compiler ?
My one test system didn't report any problems. The other one did.
I am using gcc and the config is the same as the one used to build
6.18-rc6 with no issues.
I will keep digging to find what's wrong on my system.
gcc version 14.2.0 (Debian 14.2.0-19)
Interesting. That reminds me ... I used to have that kind of machine specific
problems when building with CONFIG_RANDSTRUCT enabled. I worked around it
by using gcc builds with plugin support disabled. In my case, there was
nothing wrong with the system, just that each system has a slightly different
hardware configuration which somehow influenced structure randomization, even
across "make clean/distclean".
Guenter