[opensuse-buildservice] Newer compilers for older versions of RHEL (etc.)
Hi, Our ongoing thanks for OBS. We're looking at adding some C++11 features to the code we build and ship on OBS, but of course RHEL/CentOS 5 & 6 have compilers that are just too old to support these. If we have to, we'll drop these platforms (I have no idea how much usage they get), but if possible I'd like to continue supporting them. Does anyone have any ideas for how to get a newer compiler into the build? I followed simotek's suggestion from SuperUser[1] and branched the gcc47 package into my own project, but I just couldn't convince it to build properly on RHEL 5/6 due to unresolvable dependencies[2], possibly because of the different structure of openSUSE's base system. Ideally we could just pull the packages from http://people.centos.org/tru/devtools-2/devtools-2.repo but I understand that might be hard to make work. Thanks David Adam zanchey@ucc.gu.uwa.edu.au [1]: http://superuser.com/questions/737984/using-gcc-4-8-with-obs-opensuse-build-... [2]: https://build.opensuse.org/package/show/home:Zanchey/gcc47 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Thursday 2016-07-21 01:54, David Adam wrote:
We're looking at adding some C++11 features to the code [...] of course RHEL/CentOS 5 & 6 have compilers that are just too old to support these. If we have to, we'll drop these platforms[...] Does anyone have any ideas for how to get a newer compiler into the build?
I followed simotek's suggestion from SuperUser[1] and branched the gcc47 package into my own project, but I just couldn't convince it to build properly on RHEL 5/6 due to unresolvable dependencies[2], possibly because of the different structure of openSUSE's base system.
Ideally we could just pull the packages from http://people.centos.org/tru/devtools-2/devtools-2.repo but I understand that might be hard to make work.
They would install the compiler in /opt which means you have to mess around with specfiles. (And in any case, you would want the current devtools-4.) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Fri, Jul 29, 2016 at 11:23 AM, Jan Engelhardt
On Thursday 2016-07-21 01:54, David Adam wrote:
We're looking at adding some C++11 features to the code [...] of course RHEL/CentOS 5 & 6 have compilers that are just too old to support these. If we have to, we'll drop these platforms[...] Does anyone have any ideas for how to get a newer compiler into the build?
I followed simotek's suggestion from SuperUser[1] and branched the gcc47 package into my own project, but I just couldn't convince it to build properly on RHEL 5/6 due to unresolvable dependencies[2], possibly because of the different structure of openSUSE's base system.
Ideally we could just pull the packages from http://people.centos.org/tru/devtools-2/devtools-2.repo but I understand that might be hard to make work.
They would install the compiler in /opt which means you have to mess around with specfiles. (And in any case, you would want the current devtools-4.)
I'm actually looking into a similar thing, myself. And devtoolset-2 is the last version for RHEL/CentOS 5, as newer devtoolset versions are EL6/EL7 only. I would prefer to use newer versions whenever possible, obviously. :) -- 真実はいつも一つ!/ Always, there's only one truth! -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
David Adam
-
Jan Engelhardt
-
Neal Gompa