Rui Ueyama
Rui Ueyama
I have no idea about this bug, since it's a compile failure and not a link failure. Are you really sure that mold is the cause of the issue?
How do I reproduce the failure? I tried with alpine:edge docker image with `--platform riscv64`, but the test didn't fail.
What is your valgrind version? IIRC, valgrind recently made a change so that they are compatible with mold's output.
What is your program? I need to reproduce your issue locally to see what's going on.
It works for me. I ran it on Ubuntu 24.04 on Docker. ``` $ readelf -p .comment target/debug/rust_real_test String dump of section '.comment': [ 0] GCC: (Ubuntu 13.2.0-23ubuntu4) 13.2.0 [...
Can you upload your executable file that valgrind reported issue with?
I think the executable is not really broken, but it looks like Valgrind just assumes something different. Please report it to Valgrind.
Was it solved upstream?
No, but I'd like you to paste the link to the upstream bug here for the sake of tracking purposes.
@paulfloyd I didn't get that error when I run `dwarfdump -ka wrong_exe` on my machine. Did you run it against the file that @limuy2022 uploaded or something else?