linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Linux 5.11-rc6 compile error
@ 2021-02-03 19:58 Shuah Khan
  2021-02-03 20:06 ` Linus Torvalds
  2021-02-03 21:05 ` Randy Dunlap
  0 siblings, 2 replies; 4+ messages in thread
From: Shuah Khan @ 2021-02-03 19:58 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Konrad Rzeszutek Wilk
  Cc: Linus Torvalds, xen-devel

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Linux 5.11-rc6 compile error
  2021-02-03 19:58 Linux 5.11-rc6 compile error Shuah Khan
@ 2021-02-03 20:06 ` Linus Torvalds
  2021-02-03 22:04   ` Shuah Khan
  2021-02-03 21:05 ` Randy Dunlap
  1 sibling, 1 reply; 4+ messages in thread
From: Linus Torvalds @ 2021-02-03 20:06 UTC (permalink / raw)
  To: Shuah Khan; +Cc: Linux Kernel Mailing List, Konrad Rzeszutek Wilk, xen-devel

On Wed, Feb 3, 2021 at 11:58 AM Shuah Khan <skhan@linuxfoundation.org> wrote:
>
> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Linux 5.11-rc6 compile error
  2021-02-03 19:58 Linux 5.11-rc6 compile error Shuah Khan
  2021-02-03 20:06 ` Linus Torvalds
@ 2021-02-03 21:05 ` Randy Dunlap
  1 sibling, 0 replies; 4+ messages in thread
From: Randy Dunlap @ 2021-02-03 21:05 UTC (permalink / raw)
  To: Shuah Khan, Linux Kernel Mailing List, Konrad Rzeszutek Wilk
  Cc: Linus Torvalds, xen-devel

On 2/3/21 11:58 AM, Shuah Khan wrote:
> 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.


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


-- 
~Randy


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Linux 5.11-rc6 compile error
  2021-02-03 20:06 ` Linus Torvalds
@ 2021-02-03 22:04   ` Shuah Khan
  0 siblings, 0 replies; 4+ messages in thread
From: Shuah Khan @ 2021-02-03 22:04 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Linux Kernel Mailing List, Konrad Rzeszutek Wilk, xen-devel, Shuah Khan

On 2/3/21 1:06 PM, Linus Torvalds wrote:
> On Wed, Feb 3, 2021 at 11:58 AM Shuah Khan <skhan@linuxfoundation.org> wrote:
>>
>> 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
> 

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-02-03 22:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-03 19:58 Linux 5.11-rc6 compile error Shuah Khan
2021-02-03 20:06 ` Linus Torvalds
2021-02-03 22:04   ` Shuah Khan
2021-02-03 21:05 ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).