Bug 467839

Summary: Gdbserver: Improve compatibility of library directory name
Product: [Developer tools] valgrind Reporter: JojoR <rjiejie>
Component: generalAssignee: Julian Seward <jseward>
Status: RESOLVED FIXED    
Severity: normal CC: mark
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: 0001-Gdbserver-Improve-compatibility-of-library-directory.patch

Description JojoR 2023-03-27 03:04:01 UTC
Created attachment 157620 [details]
0001-Gdbserver-Improve-compatibility-of-library-directory.patch

Some linux os make softlink from customized directory like lib64xxx into standard system lib64 directory,
we could improve compatibility for these cases, see Attachment :)
Comment 1 Mark Wielaard 2023-04-14 22:10:16 UTC
I never saw such a system, but this should also work fine for existing systems. Applied as:

commit fb6fbe4e8446ec7dd4a01662dbefc48f9349160b
Author: Mark Wielaard <mark@klomp.org>
Date:   Sat Apr 15 00:00:36 2023 +0200

    gdbserver_tests: Improve compatibility of library directory name
    
    Some linux os make softlink from customized directory like lib64xxx
    into standard system lib64 directory.
    
    https://bugs.kde.org/show_bug.cgi?id=467839
    
    Contributed-by: JojoR <rjiejie@gmail.com>