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

Bug#588409: perf (linux-tools-2.6.32) fails to build on many architectures



On Thu, 2010-07-08 at 23:31 +1200, Michael Cree wrote:
> Regarding the perf tools:
> 
> Commit 5d7bdab75cd56d2bdc0986ae5546be3b09fea70a upstream should give the 
> -fstack-protector-all test.

Thanks; I've applied this and several other upstream build fixes and
improvements:

perf tools: Display better error messages on missing packages
perf tools: Add 'make DEBUG=1' to remove the -O6 cflag
perf tools: Test -fstack-protector-all compiler option for inclusion in CFLAGS
perf tools: Support static build
perf tools: Add V=2 option to help debug config issues
perf tools: Suggest static libraries as well
perf: Use default compiler mode by default
perf tools: Move QUIET_STDERR def to before first use
perf tools: Check if /dev/null can be used as the -o gcc argument

> Regarding the Alpha architecture the following commits that are in 
> v2.6.33 of the kernel upstream provide the performance event interface:
> 
> Commit fcd14b3203b538dca04a2b065c774c0b57863eec upstream adds the Alpha 
> specific part for perf tools.
> 
> Commit a582e6f01b90211933e70edcec9bc0bbb1157402 upstream provides 
> minimal support for performance events in the kernel for Alpha.  However 
> it probably won't apply cleanly to 2.6.32 without commit 
> 21797c599c710d3851d241c4b50690f2482bf618 which wires up quite a number 
> of missing syscalls, which in turn depends on 
> 6e17e8b9fb74b9fb9f6ea331f7f4a049c5b4c4b8 which wires up the syscall for 
> recvmmsg that is new in 2.6.33.  Thus a modified 21797c599 is required 
> for 2.6.32 to do all this;  I think I might still have the patch 
> somewhere, but in any case I could regenerate it should you wish to have it.

I'll be happy to apply backported patches.  However, Alpha is no longer
a Debian release architecture and I don't intend to spend any
significant time on it.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: