* Jon Bernard | 2010-03-25 11:41:08 [-0400]:

>s390:
>    gcc -DHAVE_CONFIG_H ... -g -O2 -c marker.c  -fPIC -DPIC -o 
> .libs/libust_la-marker.o
>    marker.c: Assembler messages:
>    marker.c:1340: Error: Unrecognized opcode: `lea'
>    marker.c:1352: Error: Unrecognized opcode: `lea'
>    marker.c:535: Error: Unrecognized opcode: `lea'
>    marker.c:719: Error: Unrecognized opcode: `lea'
>    marker.c:468: Error: Unrecognized opcode: `lea'
>    marker.c:818: Error: Unrecognized opcode: `lea'
>    make[3]: *** [libust_la-marker.lo] Error 1

The patch attached fixes the configure issue for powerpc and sparc.
Alpha should do elf64-alpha but this is just a guess. So once you fix
this you have the same issue on those arches as with s390 rigt now.
If you look at include/ust/processor.h then you notice that there is
only support for x86_64 and i386 nothing else. So unless upstream got
some more code here in the meantime this package will not build until it
is ported.

Sebastian
>From b24854baa8c1c75a6a4cbbd70df9765b280677e6 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bige...@linutronix.de>
Date: Wed, 16 Jun 2010 22:29:27 +0200
Subject: [PATCH] configure: fix powerpc and maybe sparc

Signed-off-by: Sebastian Andrzej Siewior <bige...@linutronix.de>
---
 configure.ac |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index dc32afb..7875783 100644
--- a/configure.ac
+++ b/configure.ac
@@ -94,10 +94,11 @@ changequote([,])dnl
          fi
          ;;
        x86_64) LIBFORMAT="elf64-x86-64" ;;
-       ppc) LIBFORMAT="elf32-powerpc" ;;
-       ppc64) LIBFORMAT="elf64-powerpc" ;;
+       powerpc) LIBFORMAT="elf32-powerpc" ;;
+       powerpc64) LIBFORMAT="elf64-powerpc" ;;
        s390) LIBFORMAT="elf32-s390" ;;
        s390x) LIBFORMAT="elf64-s390" ;;
+       sparc) LIBFORMAT="elf32-sparc" ;;
        *) AC_MSG_ERROR([unable to detect library format (unsupported 
architecture?)]) ;;
 esac
 AC_SUBST(LIBFORMAT)
-- 
1.5.6.5

Reply via email to