Package: openmpi Version: 1.1-2 Severity: important Justification: fails to build from source
openmpi fails to build on Alpha: [...] alpha-linux-gnu-gcc -DNDEBUG -Wall -g -O2 -fno-strict-aliasing -pthread -o .libs/opal_wrapper opal_wrapper.o -Wl,--export-dynamic ../../../opal/.libs/libopal.so -ldl -lnsl -lutil -lm ../../../opal/.libs/libopal.so: undefined reference to `opal_atomic_cmpset_acq_32' ../../../opal/.libs/libopal.so: undefined reference to `opal_atomic_cmpset_32' ../../../opal/.libs/libopal.so: undefined reference to `opal_atomic_mb' ../../../opal/.libs/libopal.so: undefined reference to `opal_atomic_wmb' collect2: ld returned 1 exit status make[3]: *** [opal_wrapper] Error 1 make[3]: Leaving directory `/tmp/openmpi-1.1/opal/tools/wrappers' The reason is that OMPI_GCC_INLINE_ASSEMBLY is not set: [...] checking if alpha-linux-gnu-gcc supports GCC inline assembly... no [...] This is due to a bug in config/ompi_config_asm.m4. It uses invalid Alpha assembly (maybe this works on Digital Unix, but not with GNU as). You need something like (untested) --- config/ompi_config_asm.m4.orig 2006-08-26 17:42:37.000000000 +0200 +++ config/ompi_config_asm.m4 2006-08-26 17:42:51.000000000 +0200 @@ -819,7 +819,7 @@ alpha-*) ompi_cv_asm_arch="ALPHA" OMPI_ASM_SUPPORT_64BIT=1 - OMPI_GCC_INLINE_ASSIGN='"bis zero,zero,%0" : "=&r"(ret)' + OMPI_GCC_INLINE_ASSIGN='"bis $31,$31,%0" : "=&r"(ret)' ;; mips-*|mips64-*) Falk -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: alpha Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17.5 Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]