[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#763002: perf links against libbfd (GPLv3, incompatible) in wheezy-backports



Source: linux-tools
Version: 3.14-1~bpo70+1
Severity: serious
Tags: wheezy

perf can link against libbfd if available, but the result is
undistributable as they are licenced under GPL v2 and v3+
respectively.  We disabled this by setting make variable
HAVE_CPLUS_DEMANGLE=1, which caused perf to be linked against only
libiberty (LGPL v2.1+).

Unfortunately the variable name was changed in 3.13 by:

commit 89fe808ae777728da6e1d78b7d13562792310d17
Author: Ingo Molnar <mingo@kernel.org>
Date:   Mon Sep 30 12:07:11 2013 +0200

    tools/perf: Standardize feature support define names to: HAVE_{FEATURE}_SUPPORT

so our setting the old variable has no effect. 

As libiberty and libbfd development files are in different packages in
unstable, perf still does not get linked against libbfd.  However in
wheezy it does.

Ben.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.16-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


Reply to: