-
-
Notifications
You must be signed in to change notification settings - Fork 674
Description
Running ECM with almost any inputs results in a segfault on Cygwin64.
This is because any time it enters one of its hand-written assembly routines it needs to use the appropriate calling convention (Microsoft x64 convention on Windows), but it is only picking the correct Windows calling convention when compiling with mingw. It should do the same with Cygwin as well.
One possible workaround without patching would be to configure ECM with --disable-asm-redc
to disable the custom assembly code entirely. But this is also overkill--the code works just fine as long as it's configured correctly for the platform.
Submitted upstream at https://gforge.inria.fr/tracker/index.php?func=detail&aid=20697&group_id=135&atid=623
Upstream: Fixed upstream, but not in a stable release.
Component: porting: Cygwin
Author: Erik Bray
Branch: a4adca5
Reviewer: Jeroen Demeyer
Issue created by migration from https://trac.sagemath.org/ticket/21223