• I
    perf_counter tools: Fix link errors with older toolchains · 2d1b6949
    Ingo Molnar 提交于
    On older distros (F8 for example) the perf build could fail
    with such missing symbols:
    
        LINK perf
    /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../lib64/libbfd.a(bfd.o): In function `bfd_demangle':
    (.text+0x2b3): undefined reference to `cplus_demangle'
    /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../lib64/libbfd.a(bfd.o): In function `bfd_demangle':
    
    Link in -liberty too.
    
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    LKML-Reference: <new-submission>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    2d1b6949
Makefile 25.5 KB