Aaah it took me too long to type that, sorry... Jason's already on it! On 06/02/2010 08:28 PM, Antony Vennard wrote: > Salut Pierrick, > > It doesn't look like you are. %rbx is a x86-64 register in asm whereas > the host you're compiling on appears to be i686 (uname -m = i686) which > is x86-32. > > During MPIR build, the configure script links the correct assembly files > from their subdirectories in mpn/cpu-arch/files to mpn/ and builds them. > This is the part in question: > > config.status:1174: linking ./mpn/x86_64/diveby3.as to mpn/diveby3.as > config.status:1174: linking ./mpn/x86_64/core2/divebyff.as to > mpn/divebyff.as > config.status:1174: linking ./mpn/x86_64/divebyBm1of.as to > mpn/divebyBm1of.as > config.status:1174: linking ./mpn/generic/divis.c to mpn/divis.c > config.status:1174: linking ./mpn/generic/divrem.c to mpn/divrem.c > config.status:1174: linking ./mpn/generic/divrem_1.c to mpn/divrem_1.c > config.status:1174: linking ./mpn/x86_64/divrem_2.as to mpn/divrem_2.as > config.status:1174: linking ./mpn/x86_64/divrem_euclidean_qr_1.as to > mpn/divrem_euclidean_qr_1.as > config.status:1174: linking ./mpn/x86_64/divrem_euclidean_qr_2.as to > mpn/divrem_euclidean_qr_2.as > > In your case, it looks like the 64 bit code is being linked instead of > the 32-bit code. Jason is the expert on autoconf to my knowledge - Jason > (anyone?), does this look like a bug to you? > > Pierrick, it looks like you're running a Penryn (Intel Core2 Chip) - > this has got to support x86-64 given it was released in 2008. Are you > running a 32-bit ubuntu on a 64-bit chip? > > I'll have a look at config.status to see if I can work out what's going > on and if this case (chip but no os support) is taken care of. I can't > promise anything though, I'm rubbish with autoconf! > > Antony > > > On 06/02/2010 07:55 PM, Pierrick CHARRON wrote: >> Hi, >> >> I tried to compile MPIR on my laptop but got those errors : >> >> tmp-rshift.s: Assembler messages: >> tmp-rshift.s:53: Error: bad register name `%rbx' >> tmp-rshift.s:54: Error: bad register name `%rbx' >> ..... >> >> The full make log is available at : http://www.adoy.net/mpir/make.log >> And the ./configure log is available at : http://www.adoy.net/mpir/config.log >> >> Am I doing something wrong ? >> >> Thanks :) >> Pierrick >>
-- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send email to mpir-de...@googlegroups.com. To unsubscribe from this group, send email to mpir-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/mpir-devel?hl=en.