-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch for clang 10 and 11 fixing the load address of Valgrind, contri…
…buted by Nick Briggs.
- Loading branch information
Showing
2 changed files
with
53 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9748df5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ran into the problems with
-Ttext
withlld
when building valgrind for ChromeOS, and after a lot of debugging I came to the same conclusions as documented in the comments of this patch.Has there been an attempt to upstream this patch? If not, I'd be happy to do so.
9748df5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The long term goal is to upstream this entire repo. I'm hoping that this will happen for Valgrind 3.18 sometime in the next year. I'm expecting the debuginfo reader to be changed at some time (it's slow, hard to maintain and doesn't add much). Since that is a fairly significant source of differences between clang and GCC I'm waiting for that to be done before I start campaigning to add FreeBSD officially.
I do have upstream commit rights, so I can add this separately. If you'd like that I strongly recommend that you open an item in the Valgrind bugzilla. Just a warning though, there are only a small number of Valgrind developers with not a lot of spare time. So even this might be rather slow.
9748df5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks much!
It indeed would be nice to have at least this patch upstreamed sooner, since that greatly simplifies the justification for cherry-picking the patch in downstream distributions.
Upstream valgrind bug filed as: https://bugs.kde.org/show_bug.cgi?id=439046
My analysis on the Google bug tracker: https://issuetracker.google.com/issues/191520718
9748df5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like my entire patch set (including this) should be landing in the next week or so. I'll try to remember to update https://bugs.kde.org/show_bug.cgi?id=439046 around that time.