-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
Upgrade to giac 1.5 fails to build with older libstdc++ #27263
Comments
comment:1
Also I have no idea what the |
Commit: |
Author: Erik Bray |
comment:2
Bad branch? |
comment:3
This might also have been caused by #26787. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Upstream: Not yet reported upstream; Will do shortly. |
comment:5
Replying to @jdemeyer:
According to my research this occurs with or without I will also try to bring it up upstream in case there is any idea. New commits:
|
comment:7
I still don't fully understand what #26787 does though so it's possible. |
comment:8
Okay, confirmed that it is #26787 after all. If I just put |
comment:9
Right now in
I don't know why the In any case, what would be the best approach here, do you think? Would it be reasonable to just |
comment:10
Why not just apply the patch? I'd rather not mess with environment variables. |
comment:11
I guess, I don't really know what impact the patch has on other systems. But it does seem clear to me: Just explicitly use the |
comment:12
LGTM |
Reviewer: Dima Pasechnik |
comment:13
I think you should bump the |
comment:14
Replying to @embray:
The only way I think you can end up with that is for
Don't think so but I am a C++ bigwig.
Most certainly. Before gcc-5 C++11 support was experimental and the implementation was not fixed in stone.
I'd rather have that little patch here. |
comment:15
Replying to @jdemeyer:
In theory yes, but this only matters for systems that otherwise simply cannot built giac, so you don't need to do this bumping for all practical purposes. |
Changed branch from u/embray/build/giac/isnan-isinf-bug to |
Changed commit from |
#26315 broke building giac on some systems that have a old-ish libstdc++. It is completely mysterious to me why this broke when it worked before, and without a repository it's very difficult to determine what change between the versions is responsible, as there is little difference between the two versions in the relevant code.
Nevertheless, it can be fixed by explicitly using
std::isnan
andstd::isinf
so that there is no risk of them conflicting with the libc math.h equivalents thereof.Upstream: Not yet reported upstream; Will do shortly.
CC: @dimpase @frederichan-IMJPRG @sagetrac-parisse @slel
Component: packages: standard
Author: Erik Bray
Branch:
2651e20
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/27263
The text was updated successfully, but these errors were encountered: