Re: [PATCH -perf/perf/makefile 0/2] Perf bugfixes for cross-builds

Arnaldo Carvalho de Melo
2011-02-27T10:28:00Z

Em Sun, Feb 27, 2011 at 06:43:55PM +0900, Masami Hiramatsu escreveu:
> (2011/02/22 21:11), Arnaldo Carvalho de Melo wrote:
> > Em Tue, Feb 22, 2011 at 09:04:18PM +0900, Masami Hiramatsu escreveu:
> >> Hi Arnaldo,
> >>
> >> BTW, could you pull these patches for cross building?
> >
> > I'll try again to use this new feature, sorry for not sending feedback,
> > but I failed to use it on a RHEL6 system, have to try again and provide
> > proper feedback.
>
> Hmm, would you install some devel packages for i686 too?
> This change requires 32bits devel packages for cross building.

Yeah, I did it, perhaps some was missing, as I said, have to try it
again.

> Thank you,
>
> >
> >> (2011/02/10 11:28), Masami Hiramatsu wrote:
> >>> Hi,
> >>>
> >>> Here are some bugfixes related to cross builds.
> >>> - Introduce ARCH=XX for cross-builds instead of obsolate
> >>> EXTRA_CFLAGS=-mXX option.
> >>> - Rename obsolate NO_PERL to NO_LIBPERL
> >>>
> >>> Still not sure how I can do cross-builds i386 binary with
> >>> perl/python support on x86-64. Anyway, now we can do without
> >>> that as below;
> >>>
> >>> $ make ARCH=i386 NO_LIBPERL=1 NO_LIBPYTHON=1
> >>>
> >>> Thank you,
> >>>
> >>> ---
> >>>
> >>> Masami Hiramatsu (2):
> >>> perf tools: Rename old NO_PERL option to NO_LIBPERL
> >>> perf tools: Introduce ARCH= option for cross building
> >>>
> >>>
> >>> tools/perf/Makefile | 48 +++++++++++++++++++++++++-------------
> >>> tools/perf/arch/arm/Makefile | 2 +-
> >>> tools/perf/arch/powerpc/Makefile | 2 +-
> >>> tools/perf/arch/s390/Makefile | 2 +-
> >>> tools/perf/arch/sh/Makefile | 2 +-
> >>> tools/perf/arch/sparc/Makefile | 2 +-
> >>> tools/perf/arch/x86/Makefile | 2 +-
> >>> 7 files changed, 38 insertions(+), 22 deletions(-)
> >>>
> >>
> >>
> >> --
> >> Masami HIRAMATSU
> >> 2nd Dept. Linux Technology Center
> >> Hitachi, Ltd., Systems Development Laboratory
> >> E-mail: masami.hiramatsu.pt@hitachi.com
>
>
> --
> Masami HIRAMATSU
> 2nd Dept. Linux Technology Center
> Hitachi, Ltd., Systems Development Laboratory
> E-mail: masami.hiramatsu.pt@hitachi.com