View Single Post
Old 2016-01-14, 14:23   #1
I moo ablest echo power!
wombatman's Avatar
May 2013

1,741 Posts
Default Compiling YAFU under MinGW

I'm trying to build the latest and greatest YAFU under MinGW-64. I can actually get it to build with and without NFS=1 flag (by compiling MSieve without GPU poly search). However, when I go to run tune() as a test on it, I get a crash immediately following the relation-gathering step for the C60 number.

To confirm that it's not the relation-gathering step, I can delete siqs.dat and watch the relations get built again. So it's the step immediately after. I've tried the following build steps (with make clean before each):
make x86_64 USE_SSE41=1 NFS=1
make x86_64 NFS=1
make x86_64 USE_SSE41=1
make x86_64
The crash is some variation on:
Unhandled exception at 0x0000000076F7FFC2 (ntdll.dll) in yafu-x64.exe: 0xC0000374: A heap has been corrupted (parameters: 0x0000000076FF7470).
Any ideas?
wombatman is offline   Reply With Quote