Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934579 - sys-libs/compiler-rt-sanitizers: fails tests (sanitizer_nolibc_test_main.x86_64.o: file not recognized: file format not recognized)
Summary: sys-libs/compiler-rt-sanitizers: fails tests (sanitizer_nolibc_test_main.x86_...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: LLVM support project
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-06-19 22:41 UTC by Arniii
Modified: 2024-11-20 13:49 UTC (History)
1 user (show)

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


Attachments
build.log.zip (compiler-rt-sanitizers-17.0.6_build,53.65 KB, application/zip)
2024-06-19 22:47 UTC, Arniii
Details
environment // profile default/linux/amd64/23.0/split-usr/desktop/plasma gcc-13.2.1_p20240210 O3 pipe march=native(verbose) lto graphite ggdb3 (file_934579.txt,167.71 KB, text/plain)
2024-06-19 22:48 UTC, Arniii
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arniii 2024-06-19 22:41:12 UTC
relevant part of building tests:
```
FAILED: lib/sanitizer_common/tests/Sanitizer-x86_64-Test-Nolibc /var/tmp/portage/sys-libs/compiler-rt-sanitizers-17.0.6/work/compiler-rt_build/lib/sanitizer_common/tests/Sanitizer-x86_64-Test-Nolibc
cd /var/tmp/portage/sys-libs/compiler-rt-sanitizers-17.0.6/work/compiler-rt_build/lib/sanitizer_common/tests && /var/tmp/portage/sys-libs/compiler-rt-sanitizers-17.0.6/work/compiler-rt_build/lib/llvm/17/bin/clang++ sanitizer_nolibc_test_main.x86_64.o -Wl,-whole-archive libRTSanitizerCommon.test.nolibc.x86_64.a -Wl,-no-whole-archive -o /var/tmp/portage/sys-libs/compiler-rt-sanitizers-17.0.6/work/compiler-rt_build/lib/sanitizer_common/tests/./Sanitizer-x86_64-Test-Nolibc -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -static -nostdlib -m64 -m64
sanitizer_nolibc_test_main.x86_64.o: file not recognized: file format not recognized
clang++: error: linker command failed with exit code 1 (use -v to see invocation)

```
Comment 1 Arniii 2024-06-19 22:47:23 UTC
Created attachment 896121 [details]
build.log.zip
Comment 2 Arniii 2024-06-19 22:48:09 UTC
Created attachment 896122 [details]
environment // profile default/linux/amd64/23.0/split-usr/desktop/plasma gcc-13.2.1_p20240210 O3 pipe march=native(verbose) lto graphite ggdb3
Comment 3 Arniii 2024-07-03 18:32:36 UTC
reproduced with sys-libs/compiler-rt-sanitizers-19.0.0_pre20240623
Comment 4 Arniii 2024-08-14 04:26:31 UTC
reproducible with sys-libs/compiler-rt-sanitizers-20.0.0_pre20240808
Comment 5 Arniii 2024-08-14 20:19:13 UTC
reproducible with sys-libs/compiler-rt-sanitizers-19.1.0_rc2
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-08-14 20:27:44 UTC
You don't need to update the title for every version change like that unless it's been a while, or someone suggested it was fixed.
Comment 7 Arniii 2024-08-14 22:47:58 UTC
(In reply to Sam James from comment #6)
> You don't need to update the title for every version change like that unless
> it's been a while, or someone suggested it was fixed.

So, if it's relatively new bug ( less then 9 months old ), then I should just write that something is reproducible, but not update title, am I right?

But if it's old enough, should I update title in this way?
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-08-14 22:50:57 UTC
If it's been a while, yes, maybe once per LLVM release I'd do it.
Comment 9 Arniii 2024-09-05 20:12:17 UTC
reproducible with sys-libs/compiler-rt-sanitizers-20.0.0_pre20240830
Comment 10 Arniii 2024-09-21 01:39:32 UTC
reproducible with sys-libs/compiler-rt-sanitizers-20.0.0_pre20240917
Comment 11 Arniii 2024-09-26 12:22:11 UTC
reproducible with sys-libs/compiler-rt-sanitizers-18.1.8-r1
Comment 12 Arniii 2024-09-26 12:54:26 UTC
reproducible with sys-libs/compiler-rt-sanitizers-17.0.6-r1
Comment 13 Arniii 2024-11-20 11:15:46 UTC
reproducible with sys-libs/compiler-rt-sanitizers-20.0.0_pre20241106

but with additional fail:

```
FAILED: lib/sanitizer_common/tests/Sanitizer-x86_64-Test /var/tmp/portage/sys-libs/compiler-rt-sanitizers-20.0.0_pre20241106/work/compiler-rt_build/lib/sanitizer_common/tests/Sanitizer-x86_64-Test
cd /var/tmp/portage/sys-libs/compiler-rt-sanitizers-20.0.0_pre20241106/work/compiler-rt_build/lib/sanitizer_common/tests && /var/tmp/portage/sys-libs/compiler-rt-sanitizers-20.0.0_pre20241106/work/compiler-rt_build/lib/llvm/20/bin/clang++ SANITIZER_TEST_OBJECTS.sanitizer_addrhashmap_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_allocator_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_array_ref_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_atomic_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_bitvector_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_bvgraph_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_chained_origin_depot_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_common_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_deadlock_detector_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_dense_map_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_flags_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_flat_map_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_format_interceptor_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_hash_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_ioctl_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_leb128_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_libc_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_linux_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_list_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_lzw_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_mac_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_module_uuid_size.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_mutex_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_nolibc_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_posix_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_printf_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_procmaps_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_procmaps_mac_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_range_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_ring_buffer_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_quarantine_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_stack_store_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_stackdepot_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_stacktrace_printer_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_stacktrace_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_stoptheworld_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_suppressions_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_symbolizer_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_test_main.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_thread_registry_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_type_traits_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.sanitizer_vector_test.cpp.x86_64.o SANITIZER_TEST_OBJECTS.gtest-all.cc.x86_64.o SANITIZER_TEST_OBJECTS.gmock-all.cc.x86_64.o /var/tmp/portage/sys-libs/compiler-rt-sanitizers-20.0.0_pre20241106/work/compiler-rt_build/lib/sanitizer_common/tests/libRTSanitizerCommon.test.x86_64.a -o /var/tmp/portage/sys-libs/compiler-rt-sanitizers-20.0.0_pre20241106/work/compiler-rt_build/lib/sanitizer_common/tests/./Sanitizer-x86_64-Test -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -resource-dir=/var/tmp/portage/sys-libs/compiler-rt-sanitizers-20.0.0_pre20241106/work/compiler-rt_build/lib/clang/20 -lstdc++ -g --driver-mode=g++ -ldl -lrt -pthread -m64
SANITIZER_TEST_OBJECTS.sanitizer_addrhashmap_test.cpp.x86_64.o: file not recognized: file format not recognized
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
```
Comment 14 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-20 13:49:57 UTC
Is this the same scenario as bug 935425?