Ok I removed my CFLAGS and everything work fine.
Thanks !
Pierrick
2010/6/2 Jason Moxham :
> found the problem , your
>
> CFLAGS=-Wall -Wc++-compat -Wdeclaration-after-statement -Wshadow -
> Wunreachable-code -fdiagnostics-show-location=every-line -Wc++-compat -
> Wpointer-sign -Wpointer-arith -W
found the problem , your
CFLAGS=-Wall -Wc++-compat -Wdeclaration-after-statement -Wshadow -
Wunreachable-code -fdiagnostics-show-location=every-line -Wc++-compat -
Wpointer-sign -Wpointer-arith -Wbad-function-cast -Wsign-compare -Waddress
is already set , so the configure script does not attempt
On Wednesday 02 June 2010 20:32:00 Pierrick Charron wrote:
> Hi and thanks for your help.
>
> Yes i'm running on a 32-bit ubuntu on a 64-bit chip.
> I finally compiled MPIR just by doing an export ABI=32
>
> If you want me to help you to do some tests or need more informations
> feel free to ask !
On Wednesday 02 June 2010 20:19:47 Pierrick Charron wrote:
> I just used ./configure and then make with no options.
> I have a 64bit laptop but my OS on is a 32bit one. So you're right
> this is probably the cause of those errors.
>
> Is there any option to tell to the compiler to use the 32bit asm
Hi and thanks for your help.
Yes i'm running on a 32-bit ubuntu on a 64-bit chip.
I finally compiled MPIR just by doing an export ABI=32
If you want me to help you to do some tests or need more informations
feel free to ask !
Thanks
Pierrick
2010/6/2 Antony Vennard :
> Salut Pierrick,
>
> It do
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.
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
I just used ./configure and then make with no options.
I have a 64bit laptop but my OS on is a 32bit one. So you're right
this is probably the cause of those errors.
Is there any option to tell to the compiler to use the 32bit asm code ?
2010/6/2 Jason Moxham :
> On Wednesday 02 June 2010 19:55:5
On Wednesday 02 June 2010 19:55:57 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
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
10 matches
Mail list logo