tags 660259 = patch pending thanks The key information in the opa config.log is this:
configure:12452: checking for support for gcc atomic intrinsics configure:12508: gcc -o conftest -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -I./src -D_FORTIFY_SOURCE=2 -I/home/sthibault/mpich2-1.4.1/src/mpl/include -I/home/sthibault/mpich2-1.4.1/src/mpl/include -I/home/sthibault/mpich2-1.4.1/src/openpa/src -I/home/sthibault/mpich2-1.4.1/src/openpa/src -Wl,-z,relro conftest.c -lpthread >&5 conftest.c: In function 'main': conftest.c:57:9: warning: variable 'c' set but not used [-Wunused-but-set-variable] configure:12508: $? = 0 configure:12513: result: yes So yes, despite not having explicit support for sparc atomics with gcc, opa will build with appropriate primitives on sparc because it supports gcc intrinsics and gcc intrinsics are available on sparc. I'm therefore preparing an NMU with the attached patch, based on Samuel's prior investigation, and will upload it to unstable once built. Thanks, -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ slanga...@ubuntu.com vor...@debian.org
diff -Nru mpich2-1.4.1/debian/changelog mpich2-1.4.1/debian/changelog --- mpich2-1.4.1/debian/changelog 2012-02-02 18:54:30.000000000 +0000 +++ mpich2-1.4.1/debian/changelog 2012-12-16 23:15:24.000000000 +0000 @@ -1,3 +1,11 @@ +mpich2 (1.4.1-4.1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Enable use of gcc primitives on sparc, fixing a build failure. + Closes: #660259. + + -- Steve Langasek <vor...@debian.org> Sun, 16 Dec 2012 23:12:36 +0000 + mpich2 (1.4.1-4) unstable; urgency=low * Removed s390 from valgrind-supported arches. diff -Nru mpich2-1.4.1/debian/rules mpich2-1.4.1/debian/rules --- mpich2-1.4.1/debian/rules 2012-02-02 18:54:19.000000000 +0000 +++ mpich2-1.4.1/debian/rules 2012-12-16 23:15:37.000000000 +0000 @@ -30,9 +30,9 @@ DEB_CONFIGURE_EXTRA_FLAGS += --enable-checkpointing --with-hydra-ckpointlib=blcr endif -# On sparc and sh4, OPA isn't available, so we need to fallback to +# On sh4, OPA isn't available, so we need to fallback to # emulation mode. There's a performance penalty, unfortunately. -ifneq (,$(findstring $(DEB_HOST_GNU_CPU),sparc sh4)) +ifneq (,$(findstring $(DEB_HOST_GNU_CPU),sh4)) DEB_CONFIGURE_EXTRA_FLAGS += --with-atomic-primitives=no endif
signature.asc
Description: Digital signature