[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [valgrind] [Bug 303877] valgrind doesn't support compressed debuginfo sections.
From:       Aleksandar Rikalo via KDE Bugzilla <bugzilla_noreply () kde ! org>
Date:       2016-03-07 14:36:21
Message-ID: bug-303877-17878-R1frJiEMCq () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=303877

--- Comment #21 from Aleksandar Rikalo <aleksandar.rikalo@imgtec.com> ---
Created attachment 97742
  --> https://bugs.kde.org/attachment.cgi?id=97742&action=edit
Avoid warnings from tinfl.c

In order to avoid these warnings we need to modify tinfl.c in some way.
I suggest the attached solution.  MZ_MALLOC/REALLOC/FREE, memcpy, memset, etc.
are replaced with appropriate Valgrind functions. Tinfl is also added to
Makefile, so it can be used from other parts of project.

The patch can be applied after applying compressed-dwarf-support.diff.
To apply the patch use command:
patch -p1 < tinfl-modifications.diff

The alternative solution is to delete "High level decompression functions" from
tinfl.c.

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic