Bug#699629: mpich2: FTBFS on x32: Tries and fails to use i386 asm

Daniel Schepler dschepler at gmail.com
Sat Feb 2 16:38:15 UTC 2013


Source: mpich2
Version: 1.4.1-4.1
Severity: wishlist
Tags: patch
User: debian-x32 at lists.debian.org
Usertags: port-x32 ftbfs-x32

The mpich2 source package is getting build failures on the unofficial
Debian x32 port:

<URL:http://buildd.debian-ports.org/status/fetch.php?pkg=mpich2&arch=x32&ver=1.4.1-4.1&stamp=1359650921>
...
make[6]: Entering directory
`/build/buildd-mpich2_1.4.1-4.1-x32-RzSIii/mpich2-1.4.1/src/mpid/common/datatype/dataloop'
  CC              dataloop.c
/build/buildd-mpich2_1.4.1-4.1-x32-RzSIii/mpich2-1.4.1/src/mpid/ch3/channels/nemesis/nemesis/include/mpid_nem_memdefs.h:
Assembler messages:
/build/buildd-mpich2_1.4.1-4.1-x32-RzSIii/mpich2-1.4.1/src/mpid/ch3/channels/nemesis/nemesis/include/mpid_nem_memdefs.h:133:
Error: operand type mismatch for `push'
/build/buildd-mpich2_1.4.1-4.1-x32-RzSIii/mpich2-1.4.1/src/mpid/ch3/channels/nemesis/nemesis/include/mpid_nem_memdefs.h:144:
Error: operand type mismatch for `pop'
make[6]: *** [dataloop.o] Error 1
...

The attached debdiff fixes this by updating the test for i386 asm to
include these offending push/pop instructions.  It also updates the
test for x86_64 asm so it should pass on x32 as well (though in a
search I didn't actually find any x86_64 asm).

(Sorry the changelog from the debdiff is inaccurate -- I got autoconf
errors trying the dh-autoreconf route, which I couldn't resolved, so I
moved to patching configure directly but forgot to update the
changelog.)
-- 
Daniel Schepler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpich2.debdiff
Type: application/octet-stream
Size: 3341 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20130202/5bbb5fa5/attachment.obj>


More information about the debian-science-maintainers mailing list