Hay

Known issue: arm clang-nightly hardning.config undefined symbol: __sanitizer_cov_stack_depth New

State New: The issue has not been investigated
Priority Undecided ❓
Description

The following error has been seen on next-20250725 with clang-nightly toolchain building with hardning.config fragment.

ld.lld: error: undefined symbol: __sanitizer_cov_stack_depth
>>> referenced by atags_to_fdt.c:135 (/builds/linux/arch/arm/boot/compressed/atags_to_fdt.c:135)
>>>               arch/arm/boot/compressed/atags_to_fdt.o:(atags_to_fdt)
make[4]: *** [/builds/linux/arch/arm/boot/compressed/Makefile:152: arch/arm/boot/compressed/vmlinux] Error 1
make[3]: *** [/builds/linux/arch/arm/boot/Makefile:57: arch/arm/boot/compressed/vmlinux] Error 2
make[3]: Target 'arch/arm/boot/zImage' not remade because of errors.
make[2]: *** [/builds/linux/arch/arm/Makefile:301: zImage] Error 2
make[2]: Target '__all' not remade because of errors.
make[1]: *** [/builds/linux/Makefile:248: __sub-make] Error 2
make[1]: Target '__all' not remade because of errors.
make: *** [Makefile:248: __sub-make] Error 2

Faulty commit: 897627bc44d2 ("kstack_erase: Support Clang stack depth tracking") reverted it and build passed

x86_64 also fails with hardning.config. However, its another build failure.

/builds/linux/drivers/virtio/virtio_ring.c:2113:40: error: variable 'id' is uninitialized when used here [-Werror,-Wuninitialized]
 2113 |                 BAD_RING(vq, "id %u out of range\n", id);
      |                                                      ^~
/builds/linux/drivers/virtio/virtio_ring.c:2077:19: note: initialize the variable 'id' to silence this warning
 2077 |         u16 last_used, id, last_used_idx;
      |                          ^
      |                           = 0
1 error generated.

Faulty commit: 60c060930f48 ("virtio_ring: add in order support") reverted it and build passed

Labels
Bad commit 897627bc44d2 - arm, 60c060930f48 - x86_6
Upstream report URL
First seen July 25, 2025, 3:13 a.m.
Last seen July 25, 2025, 3:13 a.m.
Created by anders.roxell
Created at July 25, 2025, 8 a.m.
Assignee -

Incidents