View Issue Details

IDProjectCategoryView StatusLast Update
0016181SCLo[All Projects] generalpublic2019-06-13 12:28
Reportermartin5233 
PrioritynormalSeverityblockReproducibilityalways
Status newResolutionopen 
PlatformCentOSOS7OS Version7.3
Summary0016181: devtoolset-8 not able compile simple 32-bit C++ application
DescriptionWhen trying to compile a simple C++ application, the following error message appears:
bash-4.2$ g++ -m32 -o /tmp/test /tmp/test.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

This seems to be due to a missing package libstdc++.i686, which is only available for the x86_64 platform, but not for i686.
Steps To Reproducetest.cpp:

int main(void)
{
return(1);
}

Compile as described above with devtoolset-8 initialized.
TagsNo tags attached.

Activities

martin5233

martin5233

2019-06-13 12:28

reporter   ~0034651

Sorry, I made a mistake with the package name. The missing package seems to be: devtoolset-8-libstdc++-devel.i686

Issue History

Date Modified Username Field Change
2019-06-13 12:17 martin5233 New Issue
2019-06-13 12:28 martin5233 Note Added: 0034651