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
Fedora build -- unique pointers #1227
Comments
Also, this seems to happen with gcc 10 on any system, not necessarily Fedora. Oh, givaro also adds that flag. And they both add the |
This does indeed fix it, thanks for the tip! I think I'll fix it by simply adding |
That's still confusing, since there will be multiple |
The second Here is its pkgconfig file:
|
I'll try changing the line you pointed to to
|
The flags are necessary for older versions of gcc, and this solution wasn't viable for CMake. However, it turned out that this has been fixed in the upstream of fflas_ffpack (linbox-team/fflas-ffpack#305) and givaro (linbox-team/givaro#151) very recently, so I just updated the respective submodules in 82d78a6. |
@d-torrance could you fix this in the debian packages of fflas-ffpack and givaro? Since the default gcc version is above 5, the pkg-config files shouldn't have |
Is there a reason to get the change in now and not just wait to package the next upstream release? It doesn't look like we're getting Line 1161 in 818b61c
(This probably could get simplified to use pkg-config just like givaro...) |
The reason why we're not using pkg-config is that it would insert this
erroneous flag, which breaks compiling with gcc10 and clang10. One good
reason to do it now rather than wait is that gcc10 and clang10 are now
available on ubuntu-20.
The CMake build also can't use the packaged versions because of this flag.
…On Fri, Jul 10, 2020, 8:33 AM Doug Torrance ***@***.***> wrote:
@d-torrance <https://github.com/d-torrance> could you fix this in the
debian packages of fflas-ffpack and givaro? Since the default gcc version
is above 5, the pkg-config files shouldn't have -fabi-version.
Is there a reason to get the change in now and not just wait to package
the next upstream release?
It doesn't look like we're getting -fabi-version from either, at least in
the autotools build. For givaro, we call it with the --cflags-only-I
option. And we're doing something simliar for fflas-ffpack:
https://github.com/Macaulay2/M2/blob/818b61cb76df7035f6011ed860d0024fcd91e6f8/M2/configure.ac#L1161
(This probably could get simplified to use pkg-config just like givaro...)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#1227 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAYAPRXXWBPCLBMHN7AXURDR24KCPANCNFSM4NR4R2CA>
.
|
Also, on Fedora the RPM packages don't include |
There's a new release of givaro and fflas-ffpack. |
|
on Fedora with gcc version 10.1.1 on the release-1.15 branch:
The text was updated successfully, but these errors were encountered: