bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/23842] "dwp -e" doesn't consult DW_AT_comp_dir attributes


From: D.Bahadir at GMX dot de
Subject: [Bug gold/23842] "dwp -e" doesn't consult DW_AT_comp_dir attributes
Date: Tue, 17 Nov 2020 13:52:56 +0000

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

Deniz Bahadir <D.Bahadir at GMX dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |D.Bahadir at GMX dot de

--- Comment #2 from Deniz Bahadir <D.Bahadir at GMX dot de> ---
I can confirm the same error still exists in version 2.34.

However, I made an interesting observation, which could be a kind of
workaround:

With my project, that uses CMake to build, the problem only occurs if I am
building with "Unix Makefiles" as CMake's generator. If I instead use the
"Ninja" generator this error does not occur.

If I remember correctly, `make` changes into each subdirectory to build the
files, while `ninja` does not and instead builds everything from the original
working directory.  
And looking at the values of `DW_AT_GNU_dwo_name` and `DW_AT_comp_dir` I can
see that Ninja probably just succeeds because `DW_AT_GNU_dwo_name` is relative
to the current working-directory and `DW_AT_comp_dir` is similar to the current
working-directory from which I call `dwp`.

Still, that is an annoying problem, because that means that my project cannot
support `make`.

So, I would really very much appreciate if someone could fix that problem.

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]