[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090605184202.GA21154@elte.hu>
Date: Fri, 5 Jun 2009 20:42:02 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Paul Mackerras <paulus@...ba.org>
Cc: mingo@...hat.com, hpa@...or.com, acme@...hat.com,
linux-kernel@...r.kernel.org, a.p.zijlstra@...llo.nl,
efault@....de, mtosatti@...hat.com, tglx@...utronix.de,
cjashfor@...ux.vnet.ibm.com
Subject: Re: [tip:perfcounters/core] perf_counter tools: Build with native
optimization
* Paul Mackerras <paulus@...ba.org> wrote:
> tip-bot for Ingo Molnar writes:
>
> > perf_counter tools: Build with native optimization
> >
> > Build the tools with -march=native by default.
>
> On powerpc (RHEL5.2 on POWER5+, gcc 4.1.2), I get:
>
> CC perf.o
> cc1: error: unrecognized command line option "-march=native"
> make: *** [perf.o] Error 1
ok, i removed that.
> Is there a way to make the default CFLAGS depend on the architecture?
> We need -m64 on powerpc as well.
Would be nice to add a Makefile rule to add -m64 on all 64-bit
architectures. That would avoid having to do PowerPC-specific magic.
(But, PowerPC-specific rules would be fine too, of course.)
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists