Bug#588409: perf (linux-tools-2.6.32) fails to build on many architectures
Package: linux-2.6
Version: 2.6.32-16
Severity: serious
Justification: fails to build from source
perf fails to build for several reasons.
1. Its default CFLAGS include -fstack-protector which isn't available
on all architectures.
2. It has a configuration test which relies on linking with an output
file of /dev/null, which doesn't work on HP-PA.
3. The perf events feature requires architecture-specific code in the
kernel which hasn't been done for all architectures; thus some don't
even have a system call number assigned yet.
The first two problems are fairly easy to fix. The third will be
addressed by restricting the architectures for which perf is built.
Ben.
-- System Information:
Debian Release: squeeze/sid
APT prefers proposed-updates
APT policy: (500, 'proposed-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Reply to: