![]() |
|
|
#1 |
|
Einyen
Dec 2003
Denmark
22·863 Posts |
WraithX helped me alot with various problems, now I'm down to an assembler compiling problem.
I can compile the official version 6.3 (ecm-6.3.tar.gz) without problem. Now I try the latest SVN and "autoreconf -i" and configure works but it failes in the beginning of "make" when I have --enable-asm-redc and --build=x86_64-w64-mingw32 or --build=x86_64-pc-mingw32 but works if --build=i686-pc-mingw32. With --disable-asm-redc it works with all the different --build. Here is the error message: Code:
$ make make all-recursive make[1]: Entering directory `/home/ATH/ecm63svn1582mpir_1' Making all in x86_64 make[2]: Entering directory `/home/ATH/ecm63svn1582mpir_1/x86_64' m4 -I../ -DOPERATION_mulredc1 `test -f mulredc1.asm || echo './'`mulredc1.asm >m ulredc1.s /bin/sh ../libtool --mode=compile gcc -O2 -pedantic -m64 -std=gnu99 -mtune=co re2 -march=core2 -c -o mulredc1.lo mulredc1.s libtool: compile: gcc -O2 -pedantic -m64 -std=gnu99 -mtune=core2 -march=core2 - c mulredc1.s -o mulredc1.o c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.4.7/../../../../x86_64-w64-mingw3 2/bin/as.exe: BFD (GNU Binutils) 2.21.51.20110510 assertion fail ../../binutils- cvs/bfd/coff-x86_64.c:680 mulredc1.s: Assembler messages: mulredc1.s:59: Error: cannot represent relocation type BFD_RELOC_386_GOTPC make[2]: *** [mulredc1.lo] Error 1 rm mulredc1.s make[2]: Leaving directory `/home/ATH/ecm63svn1582mpir_1/x86_64' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ATH/ecm63svn1582mpir_1' make: *** [all] Error 2 If I find no answer to this, I'll have to use another --build with --enable-asm-redc. Which is best build for a quad core Q9450 when x86_64 doesn't work. i686 or i786? or some other? there is also i886 and i986 but the assembler code not supported, but I'm curious which processors those cover. With --build=i686-pc-mingw32 it says "Using asm redc code from directory athlon" and with --build=i786-pc-mingw32 it says "Using asm redc code from directory pentium4" so I guess non of those are great. I use the CFLAGS -mtune=core2 -march=core2 so how important is --build? Last fiddled with by ATH on 2011-06-22 at 21:50 |
|
|
|
|
|
#2 |
|
Mar 2006
2·277 Posts |
Now that I've looked at the "offending" line in mulredc.s, I see that:
Code:
ifdef(`WANT_ASSERT', ` jz 1f lea _GLOBAL_OFFSET_TABLE_(%rip), %rbx |
|
|
|
|
|
#3 |
|
Einyen
Dec 2003
Denmark
1101011111002 Posts |
You are correct again of course
It works, thanks alot for all your help.I thought assertion was enabled by default in the official release, but I forgot that was back during release candidates: http://www.mersenneforum.org/showpos...57&postcount=7 I guess it's ok to run without assertions? I'll test it a bit anyway. Last fiddled with by ATH on 2011-06-23 at 07:28 |
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Intel's latest problem... | science_man_88 | Hardware | 19 | 2018-01-25 01:06 |
| Problem compiling GMP-ECM with gwnum... | WraithX | GMP-ECM | 9 | 2011-08-21 22:45 |
| Problem compiling msieve with gcc 4.4.2 | chris2be8 | Msieve | 5 | 2010-02-22 18:35 |
| Bigint problem with snfs latest snapshot | VJS | Factoring | 0 | 2006-07-10 22:25 |
| Latest version? | [CZ]Pegas | Software | 3 | 2002-08-23 17:05 |