net-build failed in ubuntu_kernel_selftests with 6.1 kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Unassigned | ||
linux-oem-6.1 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Issue found with J-oem-6.0.0-1007.7
This is not a regression, issue exists before this kernel.
make: Entering directory '/home/
make[1]: Entering directory '/home/
gcc -Wall -Wl,--no-as-needed -O2 -g -I../..
gcc -Wall -Wl,--no-as-needed -O2 -g -I../..
gcc -Wall -Wl,--no-as-needed -O2 -g -I../..
gcc -Wall -Wl,--no-as-needed -O2 -g -I../..
gcc -Wall -Wl,--no-as-needed -O2 -g -I../..
gcc -Wall -Wl,--no-as-needed -O2 -g -I../..
make[1]: Leaving directory '/home/
make: Leaving directory '/home/
stderr:
tls.c:32:50: error: field ‘sm4gcm’ has incomplete type
32 | struct tls12_crypto_
| ^~~~~~
tls.c:33:50: error: field ‘sm4ccm’ has incomplete type
33 | struct tls12_crypto_
| ^~~~~~
tls.c: In function ‘tls_crypto_
tls.c:56:14: error: ‘TLS_CIPHER_
56 | case TLS_CIPHER_SM4_GCM:
| ^~~~~~~~~~~~~~~~~~
| TLS_CIPHER_
tls.c:56:14: note: each undeclared identifier is reported only once for each function it appears in
tls.c:57:37: error: invalid application of ‘sizeof’ to incomplete type ‘struct tls12_crypto_
57 | tls12->len = sizeof(struct tls12_crypto_
| ^~~~~~
tls.c:61:14: error: ‘TLS_CIPHER_
61 | case TLS_CIPHER_SM4_CCM:
| ^~~~~~~~~~~~~~~~~~
| TLS_CIPHER_
tls.c:62:37: error: invalid application of ‘sizeof’ to incomplete type ‘struct tls12_crypto_
62 | tls12->len = sizeof(struct tls12_crypto_
| ^~~~~~
tls.c: At top level:
tls.c:268:24: error: ‘TLS_CIPHER_
268 | .cipher_type = TLS_CIPHER_SM4_GCM,
| ^~~~~~~~~~~~~~~~~~
| TLS_CIPHER_
tls.c:274:24: error: ‘TLS_CIPHER_
274 | .cipher_type = TLS_CIPHER_SM4_CCM,
| ^~~~~~~~~~~~~~~~~~
| TLS_CIPHER_
tls.c: In function ‘tls_setup’:
tls.c:329:54: error: ‘TLS_RX_
329 | ret = setsockopt(
| ^~~~~~~
tls.c: In function ‘no_pad’:
tls.c:1681:40: error: ‘TLS_RX_
1681 | ret = setsockopt(cfd, SOL_TLS, TLS_RX_
| ^~~~~~~
make[1]: *** [../lib.mk:140: /home/ubuntu/
make: *** [Makefile:158: all] Error 2
tags: |
added: 6.0 oem ubuntu-kernel-selftests removed: ubuntu-kernel |
Changed in linux-oem-6.0 (Ubuntu): | |
status: | New → Invalid |
tags: | added: sru-20230130 |
affects: | linux-oem-6.0 (Ubuntu) → linux-oem-6.1 (Ubuntu) |
summary: |
- net-build failed in ubuntu_kernel_selftests with 6.0 kernel + net-build failed in ubuntu_kernel_selftests with 6.1 kernel |
Changed in linux-oem-6.1 (Ubuntu Jammy): | |
status: | New → Confirmed |
This is affecting J-oem-6.1 as well.