** Description changed:
+ SRU Justification:
+
+ Impact: By dynamically linking libbfd, it is not possible to have older
+ versions of the perf tool installed (as there can only be one version of
+ this lib). Also, Debian policy actually forbids depending on a certain
+ version of the library).
+
+ Fix: Change the makefile to statically link libbfd. This is a Ubuntu
+ specific change, though. Which unlikely will make it upstream.
+
+ Testcase: Check the perf version provided though the builders (it seems
+ that building in chroots can cause builds not linking against libbfd at
+ all as HAVE_CPLUS_DEMANGLE gets set). The ouput of ldd should not show
+ libbfd.
+
+ ---
+
Trying to install linux-tools-2.6.35-28 from maverick on a natty system
fails with:
Unpacking replacement linux-tools-2.6.35-28 ...
dpkg: dependency problems prevent configuration of linux-tools-2.6.35-28:
- linux-tools-2.6.35-28 depends on binutils (<< 2.20.51.20100909); however:
- Version of binutils on system is 2.21.0.20110327-2ubuntu2.
+ linux-tools-2.6.35-28 depends on binutils (<< 2.20.51.20100909); however:
+ Version of binutils on system is 2.21.0.20110327-2ubuntu2.
dpkg: error processing linux-tools-2.6.35-28 (--install):
- dependency problems - leaving unconfigured
+ dependency problems - leaving unconfigured
Errors were encountered while processing:
- linux-tools-2.6.35-28
+ linux-tools-2.6.35-28
This is because perf is dynamically linked to libbfd, and only one
version of libbfd (in the binutils package) can be installed at a time.
This makes it impossible to install linux-tools for more than one Ubuntu
release onto the system at the same time, which is a hindrance to
debugging for obvious reasons.
Please link perf statically against libbfd.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: linux-image-2.6.38-8-generic 2.6.38-8.42
ProcVersionSignature: Ubuntu 2.6.35-28.49-generic 2.6.35.11
Uname: Linux 2.6.35-28-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
ArecordDevices:
- **** List of CAPTURE Hardware Devices ****
- card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
- Subdevices: 1/1
- Subdevice #0: subdevice #0
+ **** List of CAPTURE Hardware Devices ****
+ card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
+ Subdevices: 1/1
+ Subdevice #0: subdevice #0
AudioDevicesInUse:
- USER PID ACCESS COMMAND
- /dev/snd/controlC0: vorlon 2943 F.... pulseaudio
+ USER PID ACCESS COMMAND
+ /dev/snd/controlC0: vorlon 2943 F.... pulseaudio
Card0.Amixer.info:
- Card hw:0 'Intel'/'HDA Intel at 0xf2520000 irq 47'
- Mixer name : 'Intel IbexPeak HDMI'
- Components : 'HDA:14f15069,17aa2155,00100302
HDA:80862804,17aa21b5,00100000'
- Controls : 14
- Simple ctrls : 6
+ Card hw:0 'Intel'/'HDA Intel at 0xf2520000 irq 47'
+ Mixer name : 'Intel IbexPeak HDMI'
+ Components : 'HDA:14f15069,17aa2155,00100302
HDA:80862804,17aa21b5,00100000'
+ Controls : 14
+ Simple ctrls : 6
Card29.Amixer.info:
- Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw
6QHT30WW-1.11'
- Mixer name : 'ThinkPad EC 6QHT30WW-1.11'
- Components : ''
- Controls : 1
- Simple ctrls : 1
+ Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw
6QHT30WW-1.11'
+ Mixer name : 'ThinkPad EC 6QHT30WW-1.11'
+ Components : ''
+ Controls : 1
+ Simple ctrls : 1
Card29.Amixer.values:
- Simple mixer control 'Console',0
- Capabilities: pswitch pswitch-joined penum
- Playback channels: Mono
- Mono: Playback [on]
+ Simple mixer control 'Console',0
+ Capabilities: pswitch pswitch-joined penum
+ Playback channels: Mono
+ Mono: Playback [on]
Date: Mon May 16 12:52:52 2011
HibernationDevice: RESUME=UUID=f6ab3c43-61b4-4af7-bf03-fa3b147a1de0
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64
(20100816.1)
MachineType: LENOVO 3249CTO
ProcEnviron:
- LANGUAGE=en_US:en
- PATH=(custom, user)
- LANG=en_US.UTF-8
- SHELL=/bin/bash
+ LANGUAGE=en_US:en
+ PATH=(custom, user)
+ LANG=en_US.UTF-8
+ SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-2.6.35-28-generic
root=/dev/mapper/hostname-root ro quiet splash vt.handoff=7
RelatedPackageVersions:
- linux-restricted-modules-2.6.35-28-generic N/A
- linux-backports-modules-2.6.35-28-generic N/A
- linux-firmware 1.52
+ linux-restricted-modules-2.6.35-28-generic N/A
+ linux-backports-modules-2.6.35-28-generic N/A
+ linux-firmware 1.52
SourcePackage: linux
UpgradeStatus: Upgraded to natty on 2011-03-24 (52 days ago)
WifiSyslog:
-
+
dmi.bios.date: 08/23/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 6QET52WW (1.22 )
dmi.board.name: 3249CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias:
dmi:bvnLENOVO:bvr6QET52WW(1.22):bd08/23/2010:svnLENOVO:pn3249CTO:pvrThinkPadX201:rvnLENOVO:rn3249CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 3249CTO
dmi.product.version: ThinkPad X201
dmi.sys.vendor: LENOVO
** Changed in: linux (Ubuntu Lucid)
Status: New => In Progress
** Changed in: linux (Ubuntu Lucid)
Assignee: (unassigned) => Stefan Bader (stefan-bader-canonical)
** Changed in: linux (Ubuntu Maverick)
Status: New => In Progress
** Changed in: linux (Ubuntu Maverick)
Assignee: (unassigned) => Stefan Bader (stefan-bader-canonical)
** Changed in: linux (Ubuntu Natty)
Status: New => In Progress
** Changed in: linux (Ubuntu Natty)
Assignee: (unassigned) => Stefan Bader (stefan-bader-canonical)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/783660
Title:
linux-tools: perf should link statically to libbfd
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/783660/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs