> > You will need to use the devtoolset builds to do this: > > > There is a gcc 8 .. but not gcc 9 > > https://www.softwarecollections.org/en/scls/rhscl/devtoolset-8/ > > I did install gcc 8 from devtoolset-8 (SCL repo). However I am unable tocompile 32-bit programs because devtoolset-8-libstdc++-devel.i686 package is missing from CentOS SCL repository. This is mentioned here <https://bugzilla.redhat.com/show_bug.cgi?id=1642077> as well. g++ -m32 helloworld.cpp /opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: skipping incompatible /opt/rh/devtoolset-8/root/usr/lib/gcc/x86_64-redhat-linux/8/libstdc++_nonshared.a when searching for -lstdc++_nonshared /opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: cannot find -lstdc++_nonshared collect2: error: ld returned 1 exit status Are there any plans to add the missing i686 package? Otherwise, what other options does one have to get to gcc 8/9? Further, where can I find the srpm file for the devtoolset-8 packages. One way would be to use the srpm to rebuild.
On 1/3/20 9:37 AM, sthustfo wrote:>> >> You will need to use the devtoolset builds to do this: >> >> >> There is a gcc 8 .. but not gcc 9 >> >> https://www.softwarecollections.org/en/scls/rhscl/devtoolset-8/ >> >> I did install gcc 8 from devtoolset-8 (SCL repo). However I am unable to > compile 32-bit programs because devtoolset-8-libstdc++-devel.i686 package > is missing from CentOS SCL repository. This is mentioned here > <https://bugzilla.redhat.com/show_bug.cgi?id=1642077> as well. > > g++ -m32 helloworld.cpp > /opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: > skipping incompatible > /opt/rh/devtoolset-8/root/usr/lib/gcc/x86_64-redhat-linux/8/libstdc++_nonshared.a > when searching for -lstdc++_nonshared > /opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: cannot > find -lstdc++_nonshared > collect2: error: ld returned 1 exit status > > Are there any plans to add the missing i686 package? Otherwise, what other > options does one have to get to gcc 8/9?I have built the i686 devtoolset-8 items here: https://buildlogs.centos.org/c7-devtoolset-8.x86_64/ That is what we use to build items that require devtoolset for the base OS and is not for release purposes .. but if you can use it, it is available.> > Further, where can I find the srpm file for the devtoolset-8 packages. One > way would be to use the srpm to rebuild.You can get the srpms here: https://cbs.centos.org/repos/sclo7-devtoolset-8-rh-release/source/SRPMS/ WRT devtoolset-9, I am not building that right now for c7 .. it is not something they are building the any base os things on in RHEL-7 right now, so I have not tried to build it for CentOS-7. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20200106/fb2ceca7/attachment-0002.sig>
On Mon, Jan 6, 2020 at 11:06 PM Johnny Hughes <johnny at centos.org> wrote:> > > I have built the i686 devtoolset-8 items here: > > https://buildlogs.centos.org/c7-devtoolset-8.x86_64/ > > That is what we use to build items that require devtoolset for the base > OS and is not for release purposes .. but if you can use it, it is > available. > > Thanks, that does help and spares me multiple hours of work. Appreciateit. However, I ran into a minor problem when installing i686 package from the URL. I have devtoolset-8-libstdc++-devel-*8.3.1-3.1*.el7.x86_64 package installed from SCL repo. The latest i686 version I found from the URL you shared was devtoolset-8-libstdc++-devel-*8.3.1-3.*el7.i686.rpm. Is there any location where I can get the next incremental build?> > > > Further, where can I find the srpm file for the devtoolset-8 packages. > One > > way would be to use the srpm to rebuild. > > You can get the srpms here: > > https://cbs.centos.org/repos/sclo7-devtoolset-8-rh-release/source/SRPMS/ > > WRT devtoolset-9, I am not building that right now for c7 .. it is not > something they are building the any base os things on in RHEL-7 right > now, so I have not tried to build it for CentOS-7. > > >