-
-
Notifications
You must be signed in to change notification settings - Fork 560
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
farey_symbol.pyx fails to build on Cygwin #13336
Comments
comment:1
with these flags on, I still get
So it looks like that the linker cannot find objects which are part of the Farey module (i.e. from sl2z.o, etc)?! Looks like some g++/dll linking weirdness to me. |
comment:2
Yes... What's strange is that I don't remember getting it here the last time. I think the problem is as follows: |
comment:3
And obviously I've deleted my 5.1.rc1 install so I have to figure out what let the files compile the last time :) |
comment:4
Replying to @jpflori:
This seems to be the problem. I've got some ideas from here: |
comment:5
Patch coming. |
Attachment: trac_13336-linking.patch.gz Fix linking problem. |
Changed keywords from none to cygwin linking |
Author: Jean-Pierre Flori |
This comment has been minimized.
This comment has been minimized.
comment:7
OK, this does the trick here. I'll give it a positive review as soon as the patchbot gives OK. |
comment:8
Looks good. |
Reviewer: Dmitrii Pasechnik |
Merged: sage-5.3.beta1 |
comment:11
Real Cython fix in #23004. |
Because of DL_IMPORT stuff in headers generated by Cython and corresponding _ _ imp _ _ prefixes added in object files, farey.o cannot be linked to farey_symbol.o (it could with farey_symbol.dll if we generated it...).
The patch here does not include farey_symbol.h but directly declare the prototype of the needed functions in farey.cpp, with the extern "C" stuff but without the dllspec(import) stuff.
Component: porting: Cygwin
Keywords: cygwin linking
Author: Jean-Pierre Flori
Reviewer: Dmitrii Pasechnik
Merged: sage-5.3.beta1
Issue created by migration from https://trac.sagemath.org/ticket/13336
The text was updated successfully, but these errors were encountered: