Hi Evgeni, Thanks for the "strace -f" tip. Now I see the "cc1" invocations opening libgmp.so, so I agree that the problem you're seeing is indeed connected with gmp. :-)
On Sat, Mar 14, 2009 at 10:02:23AM +0100, Evgeni Golov wrote: > Hi Steve, > > On Fri, 13 Mar 2009 00:59:20 -0500 Steve M. Robbins wrote: > > > I can't reproduce this bug on amd64 hardware. > > Do you have access to a PowerPC? I have this bug on PPC only :/ I don't have access to one that I can install the new gmp on. The Debian PPC machines do not let me install packages. > > On Thu, Mar 12, 2009 at 11:38:57AM +0100, Evgeni Golov wrote: > > > Hi, > > > > > > while installing Xorg from experimental, I also got libgmp3c2 > > > 2:4.2.4+dfsg-3 > > > from there, which made almost every package I wanted to build to FTBFS. > > > An example is the mousepad package from sid: > > > > > > selector.c: In function ???create_lineend_menu???: > > > selector.c:430: internal compiler error: Illegal instruction Revisions -2 and -3 of gmp should not have any code difference, unless I screwed up the options passed to "configure" or something ... and indeed it looks like I did. The -2 build uses configure option --build=powerpc-linux-gnu and builds with 32-bit ABI, whereas the -3 build does not supply any such option and appears to build in 64-bit mode. Are you running a 32-bit PPC? Can you help me out in debugging this? Please pull down the -3 sources, then add "--build=powerpc-linux-gnu" to debian/rules line 15 so that it looks as follows DEB_CONFIGURE_EXTRA_FLAGS += --enable-cxx --enable-mpbsd --build=powerpc-linux-gnu Then build gmp. Watch the configure output to make sure it has the following ... checking ABI=32 ... and does NOT say something like ... checking ABI=mode64 ... checking ABI=mode32 ... If it indeed builds with ABI=32 (as does revision -2) then please install it and try building mousepad. Thanks, -Steve P.S. You can see the build logs for revisions -2 and -3, respectively at: https://buildd.debian.org/fetch.cgi?pkg=gmp;ver=2%3A4.2.4%2Bdfsg-2;arch=powerpc;stamp=1235543383 http://experimental.debian.net/fetch.php?&pkg=gmp&ver=2%3A4.2.4%2Bdfsg-3&arch=powerpc&stamp=1235997412&file=log&as=raw
signature.asc
Description: Digital signature