Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 723318 - sys-kernel/gentoo-sources-5.6.13 kvm module build error (may be gcc10 related)
Summary: sys-kernel/gentoo-sources-5.6.13 kvm module build error (may be gcc10 related)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-05-16 06:56 UTC by Marcin Kowalski
Modified: 2020-05-21 19:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Kowalski 2020-05-16 06:56:10 UTC
CHK     kernel/kheaders_data.tar.xz
  CC [M]  arch/x86/kvm/svm.o
arch/x86/kvm/../../../virt/kvm/kvm_main.c: In function ‘__kvm_gfn_to_hva_cache_init’:
arch/x86/kvm/../../../virt/kvm/kvm_main.c:2236:42: error: ‘nr_pages_avail’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
 2236 |  for ( ; start_gfn <= end_gfn; start_gfn += nr_pages_avail) {
      |                                ~~~~~~~~~~^~~~~~~~~~~~~~~~~
  CC [M]  arch/x86/kvm/pmu_amd.o
cc1: all warnings being treated as errors



For reference : https://bugzilla.kernel.org/show_bug.cgi?id=207173

Reproducible: Always
Comment 2 Mike Pagano gentoo-dev 2020-05-21 19:31:49 UTC
This patch is in 5.6.14
Gentoo and Vanilla