[valgrind] [Bug 478837] valgrind fails to read debug info for rust binaries

2024-05-03 Thread Paul Floyd
https://bugs.kde.org/show_bug.cgi?id=478837 Paul Floyd changed: What|Removed |Added CC||limuyang202...@163.com --- Comment #13 from Paul F

[valgrind] [Bug 478837] valgrind fails to read debug info for rust binaries

2023-12-22 Thread Paul Floyd
https://bugs.kde.org/show_bug.cgi?id=478837 Paul Floyd changed: What|Removed |Added Status|REPORTED|RESOLVED Resolution|---

[valgrind] [Bug 478837] valgrind fails to read debug info for rust binaries

2023-12-22 Thread Dennis Kobert
https://bugs.kde.org/show_bug.cgi?id=478837 --- Comment #12 from Dennis Kobert --- (In reply to Paul Floyd from comment #11) > Should be fixed with these two commits. Can you confirm? Yes, works! Thanks a lot! -- You are receiving this mail because: You are watching all bug changes.

[valgrind] [Bug 478837] valgrind fails to read debug info for rust binaries

2023-12-22 Thread Paul Floyd
https://bugs.kde.org/show_bug.cgi?id=478837 --- Comment #11 from Paul Floyd --- Should be fixed with these two commits. Can you confirm? commit e5b7c187b72a55fdf329973f213688bf55e9607b (HEAD -> master, origin/master, origin/HEAD) Author: Paul Floyd Date: Fri Dec 22 20:16:04 2023 +0100 Sk

[valgrind] [Bug 478837] valgrind fails to read debug info for rust binaries

2023-12-22 Thread Paul Floyd
https://bugs.kde.org/show_bug.cgi?id=478837 --- Comment #10 from Paul Floyd --- OK. --14745-- WARNING: Serious error when reading debug info --14745-- When reading debug info from /home/paulf/foo/target/debug/foo: --14745-- Can't make sense of .rodata section mapping Hello, world! [15] .rodat

[valgrind] [Bug 478837] valgrind fails to read debug info for rust binaries

2023-12-22 Thread Dennis Kobert
https://bugs.kde.org/show_bug.cgi?id=478837 --- Comment #9 from Dennis Kobert --- Yes, sorry, it only fails when using mold as a linker. I still had set `alias cargo=mold -run cargo` in my shell config sorry about that -- You are receiving this mail because: You are watching all bug changes.

[valgrind] [Bug 478837] valgrind fails to read debug info for rust binaries

2023-12-22 Thread Dennis Kobert
https://bugs.kde.org/show_bug.cgi?id=478837 --- Comment #8 from Dennis Kobert --- Oh, I might be using mold as a linker, let me double check that. I'm also not sure why my cargo version is so outdated but that shouldn't make a difference as it works on the nix system -- You are receiving this m

[valgrind] [Bug 478837] valgrind fails to read debug info for rust binaries

2023-12-22 Thread Paul Floyd
https://bugs.kde.org/show_bug.cgi?id=478837 --- Comment #7 from Paul Floyd --- (In reply to Dennis Kobert from comment #6) > I've tried it both on arch linux and nix os 23.11 with identical results. > rustc 1.74.1 (a28077b28 2023-12-04) > llvm 16.0.6 > cargo 1.49.0 (d00d64df9 2020-12-05) Arch L

[valgrind] [Bug 478837] valgrind fails to read debug info for rust binaries

2023-12-22 Thread Dennis Kobert
https://bugs.kde.org/show_bug.cgi?id=478837 --- Comment #6 from Dennis Kobert --- I've tried it both on arch linux and nix os 23.11 with identical results. rustc 1.74.1 (a28077b28 2023-12-04) llvm 16.0.6 cargo 1.49.0 (d00d64df9 2020-12-05) -- You are receiving this mail because: You are watchi

[valgrind] [Bug 478837] valgrind fails to read debug info for rust binaries

2023-12-22 Thread Dennis Kobert
https://bugs.kde.org/show_bug.cgi?id=478837 --- Comment #5 from Dennis Kobert --- Created attachment 164366 --> https://bugs.kde.org/attachment.cgi?id=164366&action=edit Example binary file containing a hello world program file foo foo: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV),

[valgrind] [Bug 478837] valgrind fails to read debug info for rust binaries

2023-12-22 Thread Paul Floyd
https://bugs.kde.org/show_bug.cgi?id=478837 --- Comment #4 from Paul Floyd --- Works OK for me on Fedora 39 amd64 rustc --version rustc 1.74.1 (a28077b28 2023-12-04) (Fedora 1.74.1-1.fc39) -- You are receiving this mail because: You are wa

[valgrind] [Bug 478837] valgrind fails to read debug info for rust binaries

2023-12-22 Thread Paul Floyd
https://bugs.kde.org/show_bug.cgi?id=478837 --- Comment #3 from Paul Floyd --- OK I'll try to reproduce it. -- You are receiving this mail because: You are watching all bug changes.

[valgrind] [Bug 478837] valgrind fails to read debug info for rust binaries

2023-12-22 Thread Dennis Kobert
https://bugs.kde.org/show_bug.cgi?id=478837 --- Comment #2 from Dennis Kobert --- (In reply to Paul Floyd from comment #1) > Do you get the same problem with Valgrind built from git HEAD? Yes, exact same behavior -- You are receiving this mail because: You are watching all bug changes.

[valgrind] [Bug 478837] valgrind fails to read debug info for rust binaries

2023-12-21 Thread Paul Floyd
https://bugs.kde.org/show_bug.cgi?id=478837 Paul Floyd changed: What|Removed |Added CC||pjfl...@wanadoo.fr --- Comment #1 from Paul Floyd