|
From: | ralf.habacker at freenet dot de |
Subject: | [Bug binutils/29523] New: i686-w64-mingw32-objdump -WL returns incorrect file paths |
Date: | Thu, 25 Aug 2022 14:11:42 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29523 Bug ID: 29523 Summary: i686-w64-mingw32-objdump -WL returns incorrect file paths Product: binutils Version: 2.39 Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: ralf.habacker at freenet dot de Target Milestone: --- Created attachment 14298 --> https://sourceware.org/bugzilla/attachment.cgi?id=14298&action=edit binary test case in pe format Running objdump -WL on a binary in pe format generated with i686-w64-mingw32-ld version 2.39 returns incorrect file paths. run the following commands to reproduce: mkdir -p ~/test-binutils && cd ~/test-binutils cat << EOF > test.c #include <stdio.h> int main() { printf("hello world"); return 0; } EOF mkdir output mkdir build && cd build i686-w64-mingw32-gcc ../test.c -o ../output/test.exe -g objdump -WL ../output/test.exe | grep test.c: The output is /home/<user>/src/test-binutils/build/test.c: where it should be /home/<user>/src/test-binutils/test.c: -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |