Skip to contentSkip to conversation

Linux 5.11-rc6 compile error

DISCUSSION Shuah Khan 3 participants 4 messages Feb 3, 2021

lore
Share & tools
lore

Shuah Khan

author
#0 lore raw

I am seeing the following compile error on Linux 5.11-rc6. No issues on 5.11.0-rc5 with the same config.

ld: arch/x86/built-in.a: member arch/x86/kernel/pci-swiotlb.o in archive is not an object
make: *** [Makefile:1170: vmlinux] Error 1

CONFIG_SWIOTLB_XEN=y
CONFIG_SWIOTLB=y

I can debug further later on today. Checking to see if there are any known problems.

thanks,
-- Shuah

#1 lore raw
Quoted 4 lines · Shuah Khan

ld: arch/x86/built-in.a: member arch/x86/kernel/pci-swiotlb.o in archive is not an object
make: *** [Makefile:1170: vmlinux] Error 1

That honestly sounds like something went wrong earlier - things like doing a system upgrade in the middle of the build, or perhaps running out of disk space or similar.

I've not seen any other reports of the same, and google doesn't find anything like that either.

Does it keep happening if you do a "git clean -dqfx" to make sure you have no old corrupt object files sound and re-do the whole build?

Linus

author
#2 lore raw
Quoted 10 lines · Linus Torvalds
Quoted 4 lines · Shuah Khan

ld: arch/x86/built-in.a: member arch/x86/kernel/pci-swiotlb.o in archive is not an object
make: *** [Makefile:1170: vmlinux] Error 1

That honestly sounds like something went wrong earlier - things like doing a system upgrade in the middle of the build, or perhaps running out of disk space or similar.

Quoted 8 lines

I've not seen any other reports of the same, and google doesn't find anything like that either.

Does it keep happening if you do a "git clean -dqfx" to make sure you have no old corrupt object files sound and re-do the whole build?

Linus

My bad. I was playing with two test systems this morning and totally lost track. All is well after a "make clean" and make.

Sorry for the noise.

thanks,
-- Shuah

#3 lore raw
In reply to Shuah Khan
Quoted 8 lines · Shuah Khan

I am seeing the following compile error on Linux 5.11-rc6. No issues on 5.11.0-rc5 with the same config.

ld: arch/x86/built-in.a: member arch/x86/kernel/pci-swiotlb.o in archive is not an object
make: *** [Makefile:1170: vmlinux] Error 1

CONFIG_SWIOTLB_XEN=y
CONFIG_SWIOTLB=y

Those config settings in allmodconfig builds for me.

Quoted 2 lines

I can debug further later on today. Checking to see if there are any known problems.

Signature · 1 line
~Randy