Public bug reported:

Issue found with J-aws-6.5.0-1008

Test build failed with:
  CLNG-BPF [test_maps] uninit_stack.bpf.o
  CLNG-BPF [test_maps] user_ringbuf_fail.bpf.o
  CLNG-BPF [test_maps] user_ringbuf_success.bpf.o
  CLNG-BPF [test_maps] verifier_and.bpf.o
make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'
make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests'
stderr:
progs/verifier_and.c:58:16: error: invalid operand for instruction
        asm volatile ("                                 \
                      ^
:1:184: note: instantiated into assembly here
                                                        r1 = 0;                 
                                *(u64*)(r10 - 8) = r1;                          
        r2 = r10;                                               r2 += -8;       
                                        r1 = map_hash_48b ll;                   
        call 1;                         if r0 == 0 goto l0_1;                   
                r1 = *(u32*)(r0 + 0);                                   r9 = 1; 
                                                w1 %= 2;                        
                        w1 += 1;                                                
w9 &= w1;                                               w9 += 1;                
                                w9 >>= 1;                                       
        w3 = 1;                                                 w3 -= w9;       
                                        w3 *= 0x10000000;                       
                r0 += r3;             
                                   *(u32*)(r0 + 0) = r3;                        
   l0_1:   r0 = r0;                                                exit;        
                                   
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                   ^                            
                                                 1 error generated.
make[1]: *** [Makefile:577: 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/verifier_and.bpf.o]
 Error 1
make: *** [Makefile:169: all] Error 2


This is the first time we run sru for J-aws-6.5
This build issue is affecting ubuntu_kernel_selftests as well, as some tests 
require bpf selftest to be built first.

** Affects: ubuntu-kernel-tests
     Importance: Undecided
         Status: New


** Tags: 6.5 aws jammy sru-20231002 ubuntu-bpf

-- 
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2040485

Title:
  ubuntu_bpf test build failed with "error: invalid operand for
  instruction" on J-aws-6.5

Status in ubuntu-kernel-tests:
  New

Bug description:
  Issue found with J-aws-6.5.0-1008

  Test build failed with:
    CLNG-BPF [test_maps] uninit_stack.bpf.o
    CLNG-BPF [test_maps] user_ringbuf_fail.bpf.o
    CLNG-BPF [test_maps] user_ringbuf_success.bpf.o
    CLNG-BPF [test_maps] verifier_and.bpf.o
  make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'
  make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests'
  stderr:
  progs/verifier_and.c:58:16: error: invalid operand for instruction
          asm volatile ("                                 \
                        ^
  :1:184: note: instantiated into assembly here
                                                          r1 = 0;               
                                  *(u64*)(r10 - 8) = r1;                        
          r2 = r10;                                               r2 += -8;     
                                          r1 = map_hash_48b ll;                 
          call 1;                         if r0 == 0 goto l0_1;                 
                  r1 = *(u32*)(r0 + 0);                                   r9 = 
1;                                                 w1 %= 2;                     
                           w1 += 1;                                             
   w9 &= w1;                                               w9 += 1;             
                                   w9 >>= 1;                                    
           w3 = 1;                                                 w3 -= w9;    
                                           w3 *= 0x10000000;                    
                   r0 += r3;           
                                     *(u32*)(r0 + 0) = r3;                      
     l0_1:   r0 = r0;                                                exit;      
                                     
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                     ^                          
                                                   1 error generated.
  make[1]: *** [Makefile:577: 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/verifier_and.bpf.o]
 Error 1
  make: *** [Makefile:169: all] Error 2

  
  This is the first time we run sru for J-aws-6.5
  This build issue is affecting ubuntu_kernel_selftests as well, as some tests 
require bpf selftest to be built first.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2040485/+subscriptions


-- 
Mailing list: https://launchpad.net/~canonical-ubuntu-qa
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~canonical-ubuntu-qa
More help   : https://help.launchpad.net/ListHelp

Reply via email to