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
fpylll ignores --stdlib directive #24707
Comments
This comment has been minimized.
This comment has been minimized.
comment:2
Can you provide a build log please. |
comment:3
Is it fplll-5.2.0.p1.log? In other words, is fpylll a typo, or a different package? Anyway, I posted a fplll log resulting from building Sage with clange here. |
This comment has been minimized.
This comment has been minimized.
comment:5
Attachment: fpylll-0.3.0dev.p0.log |
comment:6
reported upstream: fplll/fpylll#115 |
Upstream: Reported upstream. No feedback yet. |
comment:7
While fpylll seems to build (on my machine, with |
comment:8
Shouldn't those parameters be passed as |
comment:9
Replying to @malb:
I think so, yes. At least that is their usage, as I see it now--- |
comment:10
However CXX may need to be set to |
comment:11
Thanks, does fpylll also fail to pass through |
comment:12
See also #24710. We need |
comment:13
Correction, we need it in LDFLAGS. I'm a bit frustrated. |
comment:14
Replying to @dimpase:
Thanks. I explained there that there is now a solution, i.e. to put the string in LDFLAGS. |
If "
--stdlib=libc++
" is given in the CXX environment var, fpylll will add it only with compilations not when linking. This leads to libstdc++ being linked and import errors with fpylll.This is the result from
sage -f fpylll
withCXX=clang --stdlib=libc++
:In the attached build log:
Upstream: Reported upstream. No feedback yet.
CC: @malb
Component: packages: standard
Issue created by migration from https://trac.sagemath.org/ticket/24707
The text was updated successfully, but these errors were encountered: