[valgrind] [Bug 485487] glibc built with -march=x86-64-v3 does not work due to ld.so strcmp

2024-04-14 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=485487 --- Comment #8 from Florian Weimer --- The ELN glibc scratch build succeeded: https://src.fedoraproject.org/rpms/glibc/pull-request/92#comment-194579 There's a TMT failure, but it's unrelated (potential kernel robust mutex issue). This test does

[valgrind] [Bug 485487] glibc built with -march=x86-64-v3 does not work due to ld.so strcmp

2024-04-13 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=485487 --- Comment #4 from Florian Weimer --- Based on a further suggestion from H.J., I put the strcmp implementation posted here into glibc and ran its strcmp test suite against it. It passes. For such a simple implementation it should have really good

[valgrind] [Bug 485487] glibc built with -march=x86-64-v3 does not work due to ld.so strcmp

2024-04-13 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=485487 --- Comment #3 from Florian Weimer --- H.J. suggests to use the implementation from <https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/i386/i686/strcmp.S;h=e71d97f2a63a2d3c31e4c1be395c1a1f5e0200ff;hb=HEAD> (adapted for x86-64). I can

[valgrind] [Bug 485487] glibc built with -march=x86-64-v3 does not work due to ld.so strcmp

2024-04-13 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=485487 Florian Weimer changed: What|Removed |Added CC||fwei...@redhat.com --- Comment #2 from

[valgrind] [Bug 485487] New: glibc built with -march=x86-64-v3 does not work due to ld.so strcmp

2024-04-13 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=485487 Bug ID: 485487 Summary: glibc built with -march=x86-64-v3 does not work due to ld.so strcmp Classification: Developer tools Product: valgrind Version: 3.23 GIT Platform:

[valgrind] [Bug 484002] Add suppression for invalid read in glibc's __wcpncpy_avx2() via wcsxfrm()

2024-03-19 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=484002 Florian Weimer changed: What|Removed |Added CC||fwei...@redhat.com -- You are receiving

[valgrind] [Bug 462007] New: Implicit int in none/tests/faultstatus.c

2022-11-18 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=462007 Bug ID: 462007 Summary: Implicit int in none/tests/faultstatus.c Classification: Developer tools Product: valgrind Version: unspecified Platform: Other OS: Linux

[valgrind] [Bug 434764] iconv_open causes ld.so v2.28 and later to execute optimised strncmp which confuses memcheck

2022-05-16 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=434764 Florian Weimer changed: What|Removed |Added CC||fwei...@redhat.com -- You are receiving

[valgrind] [Bug 444552] memcheck/tests/sem fails on s390x with glibc 2.34

2022-02-10 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=444552 --- Comment #5 from Florian Weimer --- I think for several releases, glibc used the semtimedop system call by mistake: it was only added to the kernel in Linux 5.1, so this led to compatibility problems. -- You are receiving this mail because: You

[valgrind] [Bug 449494] arm64: Mismatch detected between RDMA and atomics features

2022-02-02 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=449494 Florian Weimer changed: What|Removed |Added CC||fwei...@redhat.com -- You are receiving

[valgrind] [Bug 414268] Enable AArch64 feature detection and decoding for v8.x instructions (where x>0)

2022-02-02 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=414268 Florian Weimer changed: What|Removed |Added CC||fwei...@redhat.com -- You are receiving

[valgrind] [Bug 442061] Valgrind: very slow execution under Fedora 34

2021-09-10 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=442061 Florian Weimer changed: What|Removed |Added CC||fwei...@redhat.com -- You are receiving

[valgrind] [Bug 420906] missing syscall wrapper for clone3 (435 on amd64)

2021-07-20 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=420906 --- Comment #4 from Florian Weimer --- To reproduce, you can use Fedora rawhide (or 34) and install a glibc build on top of it. https://koji.fedoraproject.org/koji/buildinfo?buildID=1782185 or any build later than glibc-2.33.9000-44.fc35 will do

[valgrind] [Bug 420906] missing syscall wrapper for clone3 (435 on amd64)

2021-07-20 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=420906 Florian Weimer changed: What|Removed |Added CC||fwei...@redhat.com --- Comment #3 from

[valgrind] [Bug 431157] PPC_FEATURE2_SCV needs to be masked in AT_HWCAP2

2021-01-22 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=431157 --- Comment #10 from Florian Weimer --- What's the status here? The first glibc release with scv support is coming up. Thanks. -- You are receiving this mail because: You are watching all bug changes.

[valgrind] [Bug 431157] PPC_FEATURE2_SCV needs to be masked in AT_HWCAP2

2021-01-08 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=431157 --- Comment #9 from Florian Weimer --- I think including the HTM bit is wrong, it should always be cleared along with HTM_NOSC. I doubt valgrind supports HTM, so this ought to be the right thing to do. It's definitely better than what we had before

[valgrind] [Bug 431157] PPC_FEATURE2_SCV needs to be masked in AT_HWCAP2

2021-01-08 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=431157 --- Comment #6 from Florian Weimer --- Hmm. If we filter HTM_NOSC, we should also filter HTM. -- You are receiving this mail because: You are watching all bug changes.

[valgrind] [Bug 431157] PPC_FEATURE2_SCV needs to be masked in AT_HWCAP2

2021-01-08 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=431157 --- Comment #4 from Florian Weimer --- Created attachment 134659 --> https://bugs.kde.org/attachment.cgi?id=134659=edit 0001-ppc64-Mask-unrecognized-AT_HWCAP2-values.patch This is what I came up with. It filters out DARN as well, which I th

[valgrind] [Bug 431157] PPC_FEATURE2_SCV needs to be masked in AT_HWCAP2

2021-01-05 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=431157 --- Comment #2 from Florian Weimer --- I think this does not work because the calling convention for “sc” and “scv 0” are different. The glibc test case misc/test-errno-linux is a good way to exercise syscall errors. Here's how you can run it under

[valgrind] [Bug 431157] PPC_FEATURE2_SCV needs to be masked in AT_HWCAP2

2021-01-04 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=431157 Florian Weimer changed: What|Removed |Added CC||fwei...@redhat.com -- You are receiving

[valgrind] [Bug 431157] New: PPC_FEATURE2_SCV needs to be masked in AT_HWCAP2

2021-01-04 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=431157 Bug ID: 431157 Summary: PPC_FEATURE2_SCV needs to be masked in AT_HWCAP2 Product: valgrind Version: unspecified Platform: Fedora RPMs OS: Linux Status: REPORTED

[valgrind] [Bug 422683] Adjusting AT_PLATFORM

2020-06-09 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=422683 --- Comment #1 from Florian Weimer --- To clarify that the libc-alpha posting is not a proposal, it is a description of the status quo. The proposal (buried in there) is to move towards AT_HWCAP-based selection exclusively, but that has not been

[valgrind] [Bug 422683] Adjusting AT_PLATFORM

2020-06-09 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=422683 Florian Weimer changed: What|Removed |Added CC||fwei...@redhat.com -- You are receiving

[valgrind] [Bug 408414] Add support for missing for preadv2 and pwritev2 syscalls

2019-06-07 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=408414 Florian Weimer changed: What|Removed |Added CC||fwei...@redhat.com --- Comment #1 from

[valgrind] [Bug 406434] valgrind is unable to intercept the malloc calls in statically linked executables

2019-04-11 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=406434 Florian Weimer changed: What|Removed |Added CC||fwei...@redhat.com -- You are receiving

[valgrind] [Bug 386945] Bogus memcheck errors on ppc64(le) when using strcmp() with gcc-7

2018-10-17 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=386945 Florian Weimer changed: What|Removed |Added CC||fwei...@redhat.com -- You are receiving

[valgrind] [Bug 396839] s390x: Trap instructions not implemented

2018-09-24 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=396839 Florian Weimer changed: What|Removed |Added CC||fwei...@redhat.com -- You are receiving

[valgrind] [Bug 385409] s390x: z13 vector integer instructions not implemented

2018-08-08 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=385409 --- Comment #48 from Florian Weimer --- With the current set of patches, I still see failures for the following glibc string function tests: string/test-memcmp string/test-strcasecmp string/test-strcmp string/test-strncasecmp string/test-strncmp You

[valgrind] [Bug 385409] s390x: z13 vector integer instructions not implemented

2018-08-06 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=385409 --- Comment #39 from Florian Weimer --- (In reply to Vadim Barkov from comment #38) > (In reply to Florian Weimer from comment #30) > > Floarian, > > I can't reproduce the problem that you describe. Could you take my patch >

[valgrind] [Bug 385411] s390x: z13 vector floating-point instructions not implemented

2018-08-05 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=385411 Florian Weimer changed: What|Removed |Added CC||fwei...@redhat.com -- You are receiving

[valgrind] [Bug 385410] s390x: z13 vector string instructions not implemented

2018-08-05 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=385410 Florian Weimer changed: What|Removed |Added CC||fwei...@redhat.com -- You are receiving

[valgrind] [Bug 385409] s390x: z13 vector integer instructions not implemented

2018-08-05 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=385409 Florian Weimer changed: What|Removed |Added Attachment #114302|0 |1 is obsolete

[valgrind] [Bug 385409] s390x: z13 vector integer instructions not implemented

2018-08-05 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=385409 --- Comment #29 from Florian Weimer --- Created attachment 114302 --> https://bugs.kde.org/attachment.cgi?id=114302=edit Use guarded loads in the guest This patch changes the guest code to use guarded loads. However, this insufficient beca

[valgrind] [Bug 385409] s390x: z13 vector integer instructions not implemented

2018-08-05 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=385409 --- Comment #28 from Florian Weimer --- Found it: /* A ternary if-then-else operator. It returns iftrue if cond is nonzero, iffalse otherwise. Note that it is STRICT, ie. both iftrue and iffalse

[valgrind] [Bug 385409] s390x: z13 vector integer instructions not implemented

2018-08-05 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=385409 --- Comment #27 from Florian Weimer --- Hopefully someone can see what is wrong with the generated IR: vll %v0,%r4,0(%r2) -- IMark(0x401892E, 6, 0) -- t6 = Add64(0x0:I64,GET:I64(592)) t7 = GET:I32

[valgrind] [Bug 385409] s390x: z13 vector integer instructions not implemented

2018-08-05 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=385409 --- Comment #26 from Florian Weimer --- The SIGSEGV happens here in the generated code: (gdb) disas 0x0010038c9230,+20 Dump of assembler code from 0x10038c9230 to 0x10038c9244: 0x0010038c9230

[valgrind] [Bug 385409] s390x: z13 vector integer instructions not implemented

2018-08-05 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=385409 Florian Weimer changed: What|Removed |Added CC||fwei...@redhat.com --- Comment #25 from

[valgrind] [Bug 390871] ELF debug info reader confused with multiple .rodata* sections

2018-07-11 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=390871 Florian Weimer changed: What|Removed |Added CC||fwei...@redhat.com -- You are receiving

[valgrind] [Bug 395682] Reading debug info

2018-07-10 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=395682 Florian Weimer changed: What|Removed |Added CC||fwei...@redhat.com -- You are receiving

[valgrind] [Bug 388862] false positive of __wcsnlen_sse4_1 with glibc 2.26

2018-01-12 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=388862 Florian Weimer <fwei...@redhat.com> changed: What|Removed |Added CC||fwei...@redh

[valgrind] [Bug 381805] arm32 needs ld.so index hardwire for new glibc security fixes

2017-06-29 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=381805 Florian Weimer <fwei...@redhat.com> changed: What|Removed |Added CC||fwei...@redh

[valgrind] [Bug 381769] Use ucontext_t instead of struct ucontext

2017-06-29 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=381769 Florian Weimer <fwei...@redhat.com> changed: What|Removed |Added CC||fwei...@redh

[valgrind] [Bug 381556] arm64: Handle feature registers access on 4.11 Linux kernel or later

2017-06-23 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=381556 Florian Weimer <fwei...@redhat.com> changed: What|Removed |Added CC||fwei...@redh

[valgrind] [Bug 381509] Valgrind reports error: Unrecognised instruction at address 0x60f0b15

2017-06-22 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=381509 Florian Weimer <fwei...@redhat.com> changed: What|Removed |Added CC||fwei...@redh

[valgrind] [Bug 381514] unhandled instruction 0xD53BE002

2017-06-22 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=381514 Florian Weimer <fwei...@redhat.com> changed: What|Removed |Added CC||fwei...@redh

[valgrind] [Bug 381289] epoll_pwait can have a NULL sigmask

2017-06-16 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=381289 Florian Weimer <fwei...@redhat.com> changed: What|Removed |Added CC||fwei...@redh

[valgrind] [Bug 377700] Valgrind 3.10 and 3.12 aborting on rdkafka applications

2017-03-20 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=377700 --- Comment #1 from Florian Weimer <fwei...@redhat.com> --- To work around this issue, you should link the rdkafka application dynamically. Even if we fix the bug you reported, valgrind will not be able to recognize memory allocations in a stat

[valgrind] [Bug 377700] Valgrind 3.10 and 3.12 aborting on rdkafka applications

2017-03-20 Thread Florian Weimer
https://bugs.kde.org/show_bug.cgi?id=377700 Florian Weimer <fwei...@redhat.com> changed: What|Removed |Added CC||fwei...@redh