[lttng-dev] [PATCH lttng-ust] Add compilation support for the TileGX architecture.

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Fri Nov 9 10:57:31 EST 2012


First detail: please remove dot from subject end of line.

* Simon Marchi (simon.marchi at polymtl.ca) wrote:
> Signed-off-by: Simon Marchi <simon.marchi at polymtl.ca>
> ---
>  configure.ac |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 7f12f23..97a9f65 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -213,6 +213,7 @@ changequote([,])dnl
>          armv5) LIBFORMAT="elf32-littlearm"; NO_UNALIGNED_ACCESS=1 ;;
>  	arm) LIBFORMAT="elf32-littlearm"; NO_UNALIGNED_ACCESS=1 ;;
>  	mips*) LIBFORMAT=""; NO_UNALIGNED_ACCESS=1;;
> +	tile) LIBFORMAT="elf64-tilegx-le"; NO_UNALIGNED_ACCESS=1;;

Not sure how this works, but I think there exists other "tile" flavors
out there besides the tilegx. Will they appear as "tile" from an
autotools point of view and then break when we specify their libformat
as elf64-tilegx-le ? Are there any way to distinguish between flavors ?
Please ask advice to Tilera if needed.

Thanks,

Mathieu

>  	*) AC_MSG_ERROR([unable to detect library format (unsupported architecture ($host_cpu)?)]) ;;
>  esac
>  AC_SUBST(LIBFORMAT)
> -- 
> 1.7.1
> 
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list