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

            Bug ID: 383889
           Summary: Heaptrack does not build with glibc 2.26
           Product: Heaptrack
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: m...@milianw.de
          Reporter: bastian.beisc...@rwth-aachen.de
  Target Milestone: ---

In glibc 2.26 the 'cfree' function was turned into a deprecated function:

https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=025b33ae84bb8f15b2748a1d8605dca453fce112;hp=6c6ab1fc49d524ab1892cb20ee74352ace0b8034

Leading to this error:

/home/beischer/abs/aur/heaptrack-git/src/heaptrack/src/track/heaptrack_inject.cpp:122:41:
error: ‘::cfree’ has not been declared
     static constexpr auto original = &::cfree;
                                         ^~~~~
/home/beischer/abs/aur/heaptrack-git/src/heaptrack/src/track/heaptrack_inject.cpp:122:41:
note: suggested alternative:
/home/beischer/abs/aur/heaptrack-git/src/heaptrack/src/track/heaptrack_inject.cpp:119:8:
note:   ‘{anonymous}::hooks::cfree’
 struct cfree
        ^~~~~
make[2]: *** [src/track/CMakeFiles/heaptrack_inject.dir/build.make:63:
src/track/CMakeFiles/heaptrack_inject.dir/heaptrack_inject.cpp.o] Error 1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to