All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04
@ 2022-05-25  7:56 bugzilla-daemon
  2022-05-25  8:17 ` [Bug 216026] " bugzilla-daemon
                   ` (41 more replies)
  0 siblings, 42 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-05-25  7:56 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

            Bug ID: 216026
           Summary: Fails to compile using gcc 12.1 under Ubuntu 22.04
           Product: Virtualization
           Version: unspecified
    Kernel Version: 5.18
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: kvm
          Assignee: virtualization_kvm@kernel-bugs.osdl.org
          Reporter: nanook@eskimo.com
        Regression: No

Created attachment 301039
  --> https://bugzilla.kernel.org/attachment.cgi?id=301039&action=edit
The .config tried to build against, did a make mrproper first.

CC      arch/x86/kvm/../../../virt/kvm/kvm_main.o
  CC      arch/x86/kvm/../../../virt/kvm/eventfd.o
  CC      arch/x86/kvm/../../../virt/kvm/binary_stats.o
  CC      arch/x86/kvm/../../../virt/kvm/vfio.o
  CC      arch/x86/kvm/../../../virt/kvm/coalesced_mmio.o
  CC      arch/x86/kvm/../../../virt/kvm/async_pf.o
  CC      arch/x86/kvm/../../../virt/kvm/irqchip.o
  CC      arch/x86/kvm/../../../virt/kvm/dirty_ring.o
  CC      arch/x86/kvm/../../../virt/kvm/pfncache.o
  CC      arch/x86/kvm/x86.o
  CC      arch/x86/kvm/emulate.o
In function ‘reg_read’,
    inlined from ‘reg_rmw’ at arch/x86/kvm/emulate.c:266:2:
arch/x86/kvm/emulate.c:254:27: error: array subscript 32 is above array bounds
of ‘long unsigned int[17]’ [-Werror=array-bounds]
  254 |         return ctxt->_regs[nr];
      |                ~~~~~~~~~~~^~~~
In file included from arch/x86/kvm/emulate.c:23:
arch/x86/kvm/kvm_emulate.h: In function ‘reg_rmw’:
arch/x86/kvm/kvm_emulate.h:366:23: note: while referencing ‘_regs’
  366 |         unsigned long _regs[NR_VCPU_REGS];
      |                       ^~~~~
cc1: all warnings being treated as errors
make[5]: *** [scripts/Makefile.build:288: arch/x86/kvm/emulate.o] Error 1
make[4]: *** [scripts/Makefile.build:550: arch/x86/kvm] Error 2
make[3]: *** [Makefile:1834: arch/x86] Error 2
make[2]: *** [debian/rules:7: build-arch] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
make[1]: *** [scripts/Makefile.package:83: bindeb-pkg] Error 2
make: *** [Makefile:1542: bindeb-pkg] Error 2

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
@ 2022-05-25  8:17 ` bugzilla-daemon
  2022-05-25  8:34 ` bugzilla-daemon
                   ` (40 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-05-25  8:17 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #1 from Artem S. Tashkinov (aros@gmx.com) ---
This is expected, please check this:

https://bugzilla.kernel.org/show_bug.cgi?id=216020#c1

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
  2022-05-25  8:17 ` [Bug 216026] " bugzilla-daemon
@ 2022-05-25  8:34 ` bugzilla-daemon
  2022-05-25 15:59 ` bugzilla-daemon
                   ` (39 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-05-25  8:34 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #2 from Robert Dinse (nanook@eskimo.com) ---
The fact that this was released from a release candidate into mainstream before
fixing major compile errors is just screwed up.  What is this Microsoft?

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
  2022-05-25  8:17 ` [Bug 216026] " bugzilla-daemon
  2022-05-25  8:34 ` bugzilla-daemon
@ 2022-05-25 15:59 ` bugzilla-daemon
  2022-05-25 19:40 ` bugzilla-daemon
                   ` (38 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-05-25 15:59 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

Sean Christopherson (seanjc@google.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |seanjc@google.com

--- Comment #3 from Sean Christopherson (seanjc@google.com) ---
Some of the GCC-12 errors, including this one[*], are likely GCC bugs.  The KVM
code has existed for many, many years, i.e. this wasn't something introduced in
v5.18.  I am working on a small series to guard against KVM bugs in this area,
which will in theory squash this warning, but unless someone can prove that an
out-of-bounds access really truly is possible, I doubt any "fix" for this will
be backported to already-released kernels.

Your best bet is to build with CONFIG_WERROR=n and CONFIG_KVM_WERROR=n so that
GCC-12's zealotry doesn't break the build.

[*] https://lore.kernel.org/all/YofQlBrlx18J7h9Y@google.com

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2022-05-25 15:59 ` bugzilla-daemon
@ 2022-05-25 19:40 ` bugzilla-daemon
  2022-05-25 20:51 ` bugzilla-daemon
                   ` (37 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-05-25 19:40 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #4 from Robert Dinse (nanook@eskimo.com) ---
I compiled this:

Linux nanook 5.17.9 #1 SMP PREEMPT Wed May 18 14:16:39 PDT 2022 x86_64 x86_64
x86_64 GNU/Linux

On the exact same machine with the exact same compiler, and save for the new
additions which I left at the exact same values, the new additions I left at
the default values, in the exact same compiler environment and it compiled
without errors, so something DID change in the code.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (3 preceding siblings ...)
  2022-05-25 19:40 ` bugzilla-daemon
@ 2022-05-25 20:51 ` bugzilla-daemon
  2022-05-26  1:48 ` bugzilla-daemon
                   ` (36 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-05-25 20:51 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #5 from Sean Christopherson (seanjc@google.com) ---
Ah, commit e6148767825c ("Makefile: Enable -Warray-bounds") removed
"-Wno-array-bounds", which is why I couldn't find a reference to array-bounds
in v5.18 and later.  So yeah, v5.18 broke a bunch of code :-/

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (4 preceding siblings ...)
  2022-05-25 20:51 ` bugzilla-daemon
@ 2022-05-26  1:48 ` bugzilla-daemon
  2022-05-27  0:52 ` bugzilla-daemon
                   ` (35 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-05-26  1:48 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #6 from Robert Dinse (nanook@eskimo.com) ---
The patches that Sean Christopherson provided to me via e-mail did allow the
5.18 kernel to compile with gcc 12.1 without errors.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (5 preceding siblings ...)
  2022-05-26  1:48 ` bugzilla-daemon
@ 2022-05-27  0:52 ` bugzilla-daemon
  2022-05-30 19:47 ` bugzilla-daemon
                   ` (34 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-05-27  0:52 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #7 from Robert Dinse (nanook@eskimo.com) ---
I erroneously in an e-mail among Sean Christopherson and other developers in a
conversation about these patches stated that networking wasn't working in
guests, well, that was a mistake on my part, networking broke because of
installing some Unifi software for a new router that broke routing for my
virtual machines because it was competing for the same local non-routable
subnet.  So that was NOT a kernel issue.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (6 preceding siblings ...)
  2022-05-27  0:52 ` bugzilla-daemon
@ 2022-05-30 19:47 ` bugzilla-daemon
  2022-05-30 19:57 ` bugzilla-daemon
                   ` (33 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-05-30 19:47 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

Alexander Warth (alexander.warth@mailbox.org) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexander.warth@mailbox.org

--- Comment #8 from Alexander Warth (alexander.warth@mailbox.org) ---
Got the same error. Is the patch somewhere downloadable?

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (7 preceding siblings ...)
  2022-05-30 19:47 ` bugzilla-daemon
@ 2022-05-30 19:57 ` bugzilla-daemon
  2022-05-31  2:10 ` bugzilla-daemon
                   ` (32 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-05-30 19:57 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #9 from Alexander Warth (alexander.warth@mailbox.org) ---
forgot to mention. Same circumstances GCC 12.1 Ubuntu 22.04 (PopOS)

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (8 preceding siblings ...)
  2022-05-30 19:57 ` bugzilla-daemon
@ 2022-05-31  2:10 ` bugzilla-daemon
  2022-05-31 10:42 ` bugzilla-daemon
                   ` (31 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-05-31  2:10 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #10 from Robert Dinse (nanook@eskimo.com) ---
I unfortunately had to re-install Linux on my box between the time the patches
were installed and my last backup (which I do weekly) so lost them.  I was
planning on just waiting for 18.1 and hope they had incorporated them by then.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (9 preceding siblings ...)
  2022-05-31  2:10 ` bugzilla-daemon
@ 2022-05-31 10:42 ` bugzilla-daemon
  2022-06-01  6:56 ` bugzilla-daemon
                   ` (30 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-05-31 10:42 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #11 from Alexander Warth (alexander.warth@mailbox.org) ---
Thx for replying. We already have 5.18.1 and AFAIK there is no patch fort this.
The build error appears for 5.18.1 too.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (10 preceding siblings ...)
  2022-05-31 10:42 ` bugzilla-daemon
@ 2022-06-01  6:56 ` bugzilla-daemon
  2022-06-01  7:04 ` bugzilla-daemon
                   ` (29 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-01  6:56 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #12 from Artem S. Tashkinov (aros@gmx.com) ---
*** Bug 216056 has been marked as a duplicate of this bug. ***

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (11 preceding siblings ...)
  2022-06-01  6:56 ` bugzilla-daemon
@ 2022-06-01  7:04 ` bugzilla-daemon
  2022-06-07  7:41 ` bugzilla-daemon
                   ` (28 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-01  7:04 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #13 from Robert Dinse (nanook@eskimo.com) ---
Well if the developers used modern tools I expect this sort of thing would be
resolved before the kernel was ever kicked out.  But the e-mails I had received
led me to believe the patches would be committed, apparently not.

I just hope they don't EOL 5.17 before this is fixed.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (12 preceding siblings ...)
  2022-06-01  7:04 ` bugzilla-daemon
@ 2022-06-07  7:41 ` bugzilla-daemon
  2022-06-07  8:54 ` bugzilla-daemon
                   ` (27 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-07  7:41 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #14 from Alexander Warth (alexander.warth@mailbox.org) ---
...5.18.2 still the same issue.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (13 preceding siblings ...)
  2022-06-07  7:41 ` bugzilla-daemon
@ 2022-06-07  8:54 ` bugzilla-daemon
  2022-06-10 22:48 ` bugzilla-daemon
                   ` (26 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-07  8:54 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #15 from Alexander Warth (alexander.warth@mailbox.org) ---
It builds fine with this patch set v2 unfortunately it is not included in the
5.18.2 Kernel yet

https://patchwork.kernel.org/project/kvm/list/?series=645409

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (14 preceding siblings ...)
  2022-06-07  8:54 ` bugzilla-daemon
@ 2022-06-10 22:48 ` bugzilla-daemon
  2022-06-13 15:16 ` bugzilla-daemon
                   ` (25 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-10 22:48 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #16 from Robert Dinse (nanook@eskimo.com) ---
5.18.3 still fails to compile with the same error.  Would be wonderful if this
were fixed before you EOL 5.17

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (15 preceding siblings ...)
  2022-06-10 22:48 ` bugzilla-daemon
@ 2022-06-13 15:16 ` bugzilla-daemon
  2022-06-14 10:56 ` bugzilla-daemon
                   ` (24 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-13 15:16 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #17 from Alexander Warth (alexander.warth@mailbox.org) ---
Yep, TBh I dont understand why the patch has not been merged yet. Meanwhile
other patches of Sean Christopherson had been merged already

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (16 preceding siblings ...)
  2022-06-13 15:16 ` bugzilla-daemon
@ 2022-06-14 10:56 ` bugzilla-daemon
  2022-06-15 14:05 ` bugzilla-daemon
                   ` (23 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-14 10:56 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #18 from Robert Dinse (nanook@eskimo.com) ---
Well again, if people stayed current with their development tools this never
would have happened as they would have seen and fixed this as soon as they
added the gcc flag to the Makefile.

This sort of thing is why I keep my own development tools up to date, which
unfortunately causes issues when others do not.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (17 preceding siblings ...)
  2022-06-14 10:56 ` bugzilla-daemon
@ 2022-06-15 14:05 ` bugzilla-daemon
  2022-06-15 22:11 ` bugzilla-daemon
                   ` (22 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-15 14:05 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #19 from Artem S. Tashkinov (aros@gmx.com) ---
*** Bug 216137 has been marked as a duplicate of this bug. ***

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (18 preceding siblings ...)
  2022-06-15 14:05 ` bugzilla-daemon
@ 2022-06-15 22:11 ` bugzilla-daemon
  2022-06-15 22:17 ` bugzilla-daemon
                   ` (21 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-15 22:11 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

Robert Dinse (nanook@eskimo.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |high

--- Comment #20 from Robert Dinse (nanook@eskimo.com) ---
Still broken in 5.18.4 AND NOW YOU HAVE EOL'd 5.17 without 5.18 WORKING, NOT
OKAY!

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (19 preceding siblings ...)
  2022-06-15 22:11 ` bugzilla-daemon
@ 2022-06-15 22:17 ` bugzilla-daemon
  2022-06-16 21:22 ` bugzilla-daemon
                   ` (20 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-15 22:17 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #21 from Robert Dinse (nanook@eskimo.com) ---
(In reply to Artem S. Tashkinov from comment #19)
> *** Bug 216137 has been marked as a duplicate of this bug. ***

     I would not have created this duplicate if the search function in bugzilla
worked properly.  But I tried advanced search and searched for bugs I created
and it returned zero bugs.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (20 preceding siblings ...)
  2022-06-15 22:17 ` bugzilla-daemon
@ 2022-06-16 21:22 ` bugzilla-daemon
  2022-06-16 21:25 ` bugzilla-daemon
                   ` (19 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-16 21:22 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #22 from Robert Dinse (nanook@eskimo.com) ---
Tried to compile 5.18.5, STILL BROKEN.  Same Error.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (21 preceding siblings ...)
  2022-06-16 21:22 ` bugzilla-daemon
@ 2022-06-16 21:25 ` bugzilla-daemon
  2022-06-18 17:34 ` bugzilla-daemon
                   ` (18 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-16 21:25 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #23 from Robert Dinse (nanook@eskimo.com) ---
This is from 5.18.5:

In function ‘reg_read’,
    inlined from ‘reg_rmw’ at arch/x86/kvm/emulate.c:266:2:
arch/x86/kvm/emulate.c:254:27: error: array subscript 32 is above array bounds
of ‘long unsigned int[17]’ [-Werror=array-bounds]
  254 |         return ctxt->_regs[nr];
      |                ~~~~~~~~~~~^~~~
In file included from arch/x86/kvm/emulate.c:23:
arch/x86/kvm/kvm_emulate.h: In function ‘reg_rmw’:
arch/x86/kvm/kvm_emulate.h:366:23: note: while referencing ‘_regs’
  366 |         unsigned long _regs[NR_VCPU_REGS];
      |                       ^~~~~
cc1: all warnings being treated as errors
make[5]: *** [scripts/Makefile.build:288: arch/x86/kvm/emulate.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [scripts/Makefile.build:550: arch/x86/kvm] Error 2
make[3]: *** [Makefile:1834: arch/x86] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [debian/rules:7: build-arch] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
make[1]: *** [scripts/Makefile.package:83: bindeb-pkg] Error 2
make: *** [Makefile:1542: bindeb-pkg] Error 2

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (22 preceding siblings ...)
  2022-06-16 21:25 ` bugzilla-daemon
@ 2022-06-18 17:34 ` bugzilla-daemon
  2022-06-19  0:29 ` bugzilla-daemon
                   ` (17 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-18 17:34 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

Artem S. Tashkinov (aros@gmx.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |ANSWERED

--- Comment #24 from Artem S. Tashkinov (aros@gmx.com) ---
(In reply to Robert Dinse from comment #22)
> Tried to compile 5.18.5, STILL BROKEN.  Same Error.

Developers are well aware, there's no need to report the same issues over and
over again, if anything you're making them less willing to resolve these issues
sooner rather than later.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (23 preceding siblings ...)
  2022-06-18 17:34 ` bugzilla-daemon
@ 2022-06-19  0:29 ` bugzilla-daemon
  2022-06-19  0:30 ` bugzilla-daemon
                   ` (16 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-19  0:29 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #25 from Robert Dinse (nanook@eskimo.com) ---
I am sorry you feel this way but this was a new version of Linux Kernel, so I
added a comment for the new version to make sure people were appraised, if
someone else had posted this first I would not have.

I'm sorry the development folks get in pissing wars, if for example Linus and
Nvidia hadn't had their unfriendly stances perhaps I wouldn't have had to
switch to Intel graphics.

There is unfortunately no viable alternative to Linux for me so I am doing what
I can and this seems to be the only avenue available to me, to make issues that
are significant impairments, and I don't know what can be more significant than
being unable to compile, known.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (24 preceding siblings ...)
  2022-06-19  0:29 ` bugzilla-daemon
@ 2022-06-19  0:30 ` bugzilla-daemon
  2022-06-19  0:31 ` bugzilla-daemon
                   ` (15 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-19  0:30 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #26 from Robert Dinse (nanook@eskimo.com) ---
And we're already WAY past "sooner".

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (25 preceding siblings ...)
  2022-06-19  0:30 ` bugzilla-daemon
@ 2022-06-19  0:31 ` bugzilla-daemon
  2022-06-20  4:35 ` bugzilla-daemon
                   ` (14 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-19  0:31 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

Robert Dinse (nanook@eskimo.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|ANSWERED                    |---

--- Comment #27 from Robert Dinse (nanook@eskimo.com) ---
Not resolved.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (26 preceding siblings ...)
  2022-06-19  0:31 ` bugzilla-daemon
@ 2022-06-20  4:35 ` bugzilla-daemon
  2022-06-20  7:16 ` bugzilla-daemon
                   ` (13 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-20  4:35 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #28 from Robert Dinse (nanook@eskimo.com) ---
I tried compiling this with Clang 15, it does not work either, get an error
that says error: write on a pipe with no reader, but the clang website says
this is a clang problem, apparently a race condition, so it will not compile
with the current version of either compiler.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (27 preceding siblings ...)
  2022-06-20  4:35 ` bugzilla-daemon
@ 2022-06-20  7:16 ` bugzilla-daemon
  2022-06-20 13:39 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-20  7:16 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #29 from Alexander Warth (alexander.warth@mailbox.org) ---
(In reply to Artem S. Tashkinov from comment #24)
> (In reply to Robert Dinse from comment #22)
> > Tried to compile 5.18.5, STILL BROKEN.  Same Error.
> 
> Developers are well aware, there's no need to report the same issues over
> and over again, if anything you're making them less willing to resolve these
> issues sooner rather than later.

Its less about Devs also about reporting to people having this bug. Thats also
the reason why I have posted it and I'm glad Robert did inform me. It might
annoy the devs. But it helps the community on the web searching for the same
bug.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (28 preceding siblings ...)
  2022-06-20  7:16 ` bugzilla-daemon
@ 2022-06-20 13:39 ` bugzilla-daemon
  2022-06-20 14:01 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-20 13:39 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

Artem S. Tashkinov (aros@gmx.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |ANSWERED

--- Comment #30 from Artem S. Tashkinov (aros@gmx.com) ---
1. End users are not meant to compile the kernel. You have a distro kernel for
that.
2. If you are willing to compile the kernel you must have the means and
experience to resolve issues.
3. The status of the bug doesn't affect how fast it's gonna get resolved or
whether Google finds it.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (29 preceding siblings ...)
  2022-06-20 13:39 ` bugzilla-daemon
@ 2022-06-20 14:01 ` bugzilla-daemon
  2022-06-20 14:33 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-20 14:01 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #31 from Alexander Warth (alexander.warth@mailbox.org) ---
1. You are OT  but - Any user who is able to compile the Kernel is an enduser.
There is no exclusive contract between the Linux Kernel and the Distro
Maintainers. Thats opensource. Any code user is an end user. 

2. I'm compiling the kernel and I'm able to solve it by applying the patch
given earlier in the thers. 

What we are asking is to mainline this very patch. Such that other people
without knowing of this thread in the nerd corners of the web are able to
benefit from the patch. I guess thats why patches are used to solve bugs.

If the patch is working but not stable it would also be nice to be mentioned
here.  

3. I don't care when it is resolved or not. Its a bug ..there is already a
patch why is it not mainlined thats the only question.  

Instead of writing all the 1-3 and putting it to resolved it would be more
fruitfuly to any one if you/or anyone else briefly write a oneliner like this:

Hey guys patch works but is not fully tested yet...could take a few weeks
Or hey guys patch seems to work but breaks xy thats why its not mainlined
or hey guys patch works but problem is not really solved yet
or hey guys patch seems to work but only masks a compiler error.
... 

This is how a goal oriented user <-> dev <-> maintainer relation works.
At the end we all want a well working kernel.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (30 preceding siblings ...)
  2022-06-20 14:01 ` bugzilla-daemon
@ 2022-06-20 14:33 ` bugzilla-daemon
  2022-06-20 15:25 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-20 14:33 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

Robert Dinse (nanook@eskimo.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|ANSWERED                    |---

--- Comment #32 from Robert Dinse (nanook@eskimo.com) ---
(In reply to Artem S. Tashkinov from comment #30)
> 1. End users are not meant to compile the kernel. You have a distro kernel
> for that.
> 2. If you are willing to compile the kernel you must have the means and
> experience to resolve issues.
> 3. The status of the bug doesn't affect how fast it's gonna get resolved or
> whether Google finds it.

Might as well just get rid of Bugzilla then huh?
What a putz.

There is no good reason on God's green earth that end users should not be able
to compile their own kernels, I've been doing so since before there WAS a
distribution.  Distros often do not configure kernels the way end users need
them, nor do they often maintain them anywhere near close to current.  Both of
these are the reason I compile kernels rather than use the distros.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (31 preceding siblings ...)
  2022-06-20 14:33 ` bugzilla-daemon
@ 2022-06-20 15:25 ` bugzilla-daemon
  2022-06-21  5:46 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-20 15:25 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

Artem S. Tashkinov (aros@gmx.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aros@gmx.com

--- Comment #33 from Artem S. Tashkinov (aros@gmx.com) ---
Let's be honestly brutal here for a second, shall we?

1. Do you pay for the Linux kernel or have any sort of contract/agreement with
Linux kernel developers? Absolutely no. There's a license attached to the
kernel, please read it carefully and thoroughly.

2. Do Linux kernel developers owe you anything? Absolutely no.

What makes you believe someone should suddenly give up on the pressing tasks
they are being paid for (and the failure to complete those tasks could also
mean a lost job) and pay attention to a random self-righteous guy who's
screaming his lungs out?

You're completely lost.

What's more you're _actively spamming_ a mailing list with dozens if not
hundreds of subscribers.

You don't add any new info, you just demand, demand and demand. Not only that
you've already managed to create two duplicates as if it will suddenly make the
people responsible for this kernel subsystem give up on their primary job and
rush to meet your demands.

Please stop. This message does _not_ need a reply. Keep this bug open for
Christ's sake if it makes you happy.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (32 preceding siblings ...)
  2022-06-20 15:25 ` bugzilla-daemon
@ 2022-06-21  5:46 ` bugzilla-daemon
  2022-06-21 11:23 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-21  5:46 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #34 from Robert Dinse (nanook@eskimo.com) ---
I'm all for honesty, not so much for brutality, but I do realize that many
people who work with computers choose to do so because they're not so good with
humans.

That said, your position would be appropriate if Linux were still Linus's hobby
project.

The reality is that much of the real world computation depends upon it, the
vast majority of super computers run Linux, Android phones run Linux, most of
Googles, Amazons, and even Microsoft's services run Linux, so it has grown
beyond hobby status.  Self driving cars depend upon it, etc.  In short, it is
critical to the technological world and technology is critical to 8 billion
people surviving on this ball we call Earth.  So this requires a bit more
professionalism than a hobby project.

Isn't my intent to spam a mailing list, it is my intent to make the developers
aware of a SERIOUS bug, and when a kernel can't be compiled with the most
recent versions of EITHER compiler chains, that is serious, especially when
you've End-of-Life'd the previous version which means they are not getting
security fixes.

I've been involved in some development projects myself, back in the days of
8-bit computers I even wrote a very specialized programming language, but I've
never worked with a team of more than half a dozen individuals, so I can't even
imagine what it is like for Linus to coordinate several thousand developers.

That said, personality issues don't help, best to stick with technical issues,
tackle them and move on.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (33 preceding siblings ...)
  2022-06-21  5:46 ` bugzilla-daemon
@ 2022-06-21 11:23 ` bugzilla-daemon
  2022-06-21 16:05 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-21 11:23 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

Artem S. Tashkinov (aros@gmx.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |CODE_FIX

--- Comment #35 from Artem S. Tashkinov (aros@gmx.com) ---
This is fixed in 5.19-rc3.

The fix is trivial:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/x86/kvm/Makefile

ccflags-y += -I $(srctree)/arch/x86/kvm
ccflags-$(CONFIG_KVM_WERROR) += -Werror

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (34 preceding siblings ...)
  2022-06-21 11:23 ` bugzilla-daemon
@ 2022-06-21 16:05 ` bugzilla-daemon
  2022-06-21 16:06 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-21 16:05 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #36 from Alexander Warth (alexander.warth@mailbox.org) ---
Thx Artem.

As said before it is basically already fixed by this patch more or less. 

https://patchwork.kernel.org/project/kvm/patch/20220526210817.3428868-3-seanjc@google.com/

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (35 preceding siblings ...)
  2022-06-21 16:05 ` bugzilla-daemon
@ 2022-06-21 16:06 ` bugzilla-daemon
  2022-06-21 21:45 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-21 16:06 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #37 from Alexander Warth (alexander.warth@mailbox.org) ---
And great that we have reached tech focused rational ground again.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (36 preceding siblings ...)
  2022-06-21 16:06 ` bugzilla-daemon
@ 2022-06-21 21:45 ` bugzilla-daemon
  2022-06-24  0:00 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-21 21:45 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #38 from Robert Dinse (nanook@eskimo.com) ---
5.19-rc3 compiles good for me with gcc, still a problem with llvm using
multiple cores but that's a compiler race issue not a kernel issue.  Do wish
the patch were applied to mainstream as well, but am satisfied knowing this
will be fixed in a few weeks when 5.19 becomes mainstream.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (37 preceding siblings ...)
  2022-06-21 21:45 ` bugzilla-daemon
@ 2022-06-24  0:00 ` bugzilla-daemon
  2022-06-26 19:04 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-24  0:00 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #39 from Robert Dinse (nanook@eskimo.com) ---
5.18.6 compiled successfully using GCC 12.1 so this issue is fixed in the 5.18
line as well.  Much thanks to all involved.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (38 preceding siblings ...)
  2022-06-24  0:00 ` bugzilla-daemon
@ 2022-06-26 19:04 ` bugzilla-daemon
  2022-06-27  7:41 ` bugzilla-daemon
  2022-06-27 14:21 ` bugzilla-daemon
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-26 19:04 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #40 from Alexander Warth (alexander.warth@mailbox.org) ---
me too. Thx for the fix and efforts.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (39 preceding siblings ...)
  2022-06-26 19:04 ` bugzilla-daemon
@ 2022-06-27  7:41 ` bugzilla-daemon
  2022-06-27 14:21 ` bugzilla-daemon
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-27  7:41 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #41 from Robert Dinse (nanook@eskimo.com) ---
Well now I'm wondering if this was really a proper fix of the code or just a
fix to make the error invisible.

With 5.17.14, a Windows kvm-qemu guest works mostly properly (there is an issue
with copy host cpu in virtual-manager, where it takes a one socket 8 core, one
thread / core CPU and maps it to 8 sockets 1 core, but I can get around that by
manually defining layout.

The virtual machine is using i-915/UHD630 GPU virtualization and pass through.

Under the 5.17.14 kernel this works properly.

Under the 5.18.6 kernel it works right after a fresh boot but within a few
hours it loses it's brains, I no longer have a cursor, I can't get the host to
communicate properly with the guest anymore.

Should I re-open this bug or file a new one with that description?

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 216026] Fails to compile using gcc 12.1 under Ubuntu 22.04
  2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
                   ` (40 preceding siblings ...)
  2022-06-27  7:41 ` bugzilla-daemon
@ 2022-06-27 14:21 ` bugzilla-daemon
  41 siblings, 0 replies; 43+ messages in thread
From: bugzilla-daemon @ 2022-06-27 14:21 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216026

--- Comment #42 from Sean Christopherson (seanjc@google.com) ---
Please open a new bug, there is essentially zero chance this is related to the
issues you are seeing.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

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

end of thread, other threads:[~2022-06-27 14:21 UTC | newest]

Thread overview: 43+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-25  7:56 [Bug 216026] New: Fails to compile using gcc 12.1 under Ubuntu 22.04 bugzilla-daemon
2022-05-25  8:17 ` [Bug 216026] " bugzilla-daemon
2022-05-25  8:34 ` bugzilla-daemon
2022-05-25 15:59 ` bugzilla-daemon
2022-05-25 19:40 ` bugzilla-daemon
2022-05-25 20:51 ` bugzilla-daemon
2022-05-26  1:48 ` bugzilla-daemon
2022-05-27  0:52 ` bugzilla-daemon
2022-05-30 19:47 ` bugzilla-daemon
2022-05-30 19:57 ` bugzilla-daemon
2022-05-31  2:10 ` bugzilla-daemon
2022-05-31 10:42 ` bugzilla-daemon
2022-06-01  6:56 ` bugzilla-daemon
2022-06-01  7:04 ` bugzilla-daemon
2022-06-07  7:41 ` bugzilla-daemon
2022-06-07  8:54 ` bugzilla-daemon
2022-06-10 22:48 ` bugzilla-daemon
2022-06-13 15:16 ` bugzilla-daemon
2022-06-14 10:56 ` bugzilla-daemon
2022-06-15 14:05 ` bugzilla-daemon
2022-06-15 22:11 ` bugzilla-daemon
2022-06-15 22:17 ` bugzilla-daemon
2022-06-16 21:22 ` bugzilla-daemon
2022-06-16 21:25 ` bugzilla-daemon
2022-06-18 17:34 ` bugzilla-daemon
2022-06-19  0:29 ` bugzilla-daemon
2022-06-19  0:30 ` bugzilla-daemon
2022-06-19  0:31 ` bugzilla-daemon
2022-06-20  4:35 ` bugzilla-daemon
2022-06-20  7:16 ` bugzilla-daemon
2022-06-20 13:39 ` bugzilla-daemon
2022-06-20 14:01 ` bugzilla-daemon
2022-06-20 14:33 ` bugzilla-daemon
2022-06-20 15:25 ` bugzilla-daemon
2022-06-21  5:46 ` bugzilla-daemon
2022-06-21 11:23 ` bugzilla-daemon
2022-06-21 16:05 ` bugzilla-daemon
2022-06-21 16:06 ` bugzilla-daemon
2022-06-21 21:45 ` bugzilla-daemon
2022-06-24  0:00 ` bugzilla-daemon
2022-06-26 19:04 ` bugzilla-daemon
2022-06-27  7:41 ` bugzilla-daemon
2022-06-27 14:21 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.