On úterý 28. března 2017 14:04:10 CEST, Mark Feit wrote:
This will put off anybody using EL7 or its derivatives because there are ABI and library changes and no easy way to get GCC 5 installed using the "usual" repositories (i.e., Base and EPEL). Fedora has already made the jump, but those changes aren't going to be in the stable distro picture until EL8 happens. Whether that makes EL7 outdated would, of course, be up for discussion.
One can get a reasonably up-to-date toolchain on EL7 via the "devtoolset" Software Collection [1]. It works by installing the compiler into /opt and providing a shell script that you can source to get access to an environment with a pretty recent toolchain. Right now, it's at GCC 6.2, with similar versions of the rest of the stack.
I know that this works because we're building some $internal_software that needs C++14 on CentOS 7 CI machines at $work thanks to this version of devtoolset.
Regarding the ABI changes, it's possible to use the new compiler including the -std=c++14 bits but still with the pre-C++11 ABIs [2]. I think that it's even a default setting on devtoolset6 for obvious reasons, but I might be wrong about that one.
Nonetheless, this change will make it a bit more painful to use the OpenSuSE OBS for packaging Darktable for EL7 -- is someone doing that? It will be a problem because OBS doesn't make it possible to use external packages other than the OS release itself, or some other OBS repo. Last time I checked, you had to actually duplicate even EPEL...
Cheers, Jan [1] https://www.softwarecollections.org/en/scls/rhscl/devtoolset-6/ [2] https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html -- Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/ ___________________________________________________________________________ darktable developer mailing list to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org