https://sourceware.org/bugzilla/show_bug.cgi?id=28698

--- Comment #1 from Sam James <sam at gentoo dot org> ---
This shows up badly with ASAN because it instruments qsort.

#0  __memcpy_avx_unaligned () at
../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:221
#1  0x00007fb248a26865 in __GI_memcpy (__dest=<optimized out>,
__src=0x7bb221598508, __len=40) at ../string/bits/string_fortified.h:29
#2  indirect_msort_with_tmp (p=p@entry=0x7ffd71a98a60,
b=b@entry=0x7bb220d41800, n=n@entry=2356484, s=s@entry=40) at qsort.c:330
#3  0x00007fb248a26bdd in qsort_r_mergesort (pbase=0x7bb220d41800,
total_elems=2356484, size=40, cmp=0x7fb249624550 <wrapped_qsort_r_compar(void
const*, void const*, void*)>,
    arg=<optimized out>, buf=0x7bb21e949800) at qsort.c:356
#4  qsort_r_mergesort (pbase=0x7bb220d41800, total_elems=2356484, size=40,
cmp=0x7fb249624550 <wrapped_qsort_r_compar(void const*, void const*, void*)>,
arg=<optimized out>,
    buf=0x7bb21e949800) at qsort.c:343
#5  qsort_r_malloc (pbase=0x7bb220d41800, total_elems=2356484, size=40,
cmp=<optimized out>, arg=<optimized out>, total_size=<optimized out>) at
qsort.c:385
#6  __GI___qsort_r (pbase=0x7bb220d41800, total_elems=2356484, size=40,
cmp=<optimized out>, arg=<optimized out>) at qsort.c:413
#7  0x00007fb249643fa0 in ___interceptor_qsort_r (base=0x7bb220d41800,
nmemb=2356484, size=40, compar=<optimized out>, arg=<optimized out>)
    at
/usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:9919
#8  0x000055f8b709cb83 in elf_link_sort_relocs (abfd=abfd@entry=0x7cd2477e0040,
info=0x55f8c0a16b00 <link_info>, psec=psec@entry=0x7bb2467d9440)
    at /home/sam/git/binutils-gdb/bfd/elflink.c:10240
#9  0x000055f8b7136bb7 in bfd_elf_final_link (abfd=<optimized out>,
info=<optimized out>) at /home/sam/git/binutils-gdb/bfd/elflink.c:13477
#10 0x000055f8b6789e02 in ldwrite () at
/home/sam/git/binutils-gdb/ld/ldwrite.c:548
#11 0x000055f8b66e1354 in main (argc=<optimized out>, argv=<optimized out>) at
/home/sam/git/binutils-gdb/ld/ldmain.c:911

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to