View Issue Details

IDProjectCategoryView StatusLast Update
0015452Buildsyscentpkgpublic2018-11-09 10:26
Reporterfsirl 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Summary0015452: Missing devtoolset-7-libstdc++-devel.i686 prevents g++ -m32 compilation
DescriptionIt seems devtoolset-7-libstdc++-devel.i686 ist missing from the SCL devtoolset distribution, at least I can't find it anywhere

Originally reported as https://bugzilla.redhat.com/show_bug.cgi?id=1642077 , there identified as a missing package problem.
Steps To Reproduce1. create helloworld.cpp:
#include <iostream>

int main()
{
    std::cout << "Hello world!" << std::endl;
    return 0;
}

2. compile with: scl enable devtoolset-7 "g++ -m32 helloworld.cpp"

Additional Information<mock-chroot> sh-4.2# cat /etc/centos-release
CentOS Linux release 7.5.1804 (Core)

<mock-chroot> sh-4.2# rpm -q devtoolset-7 devtoolset-7-binutils devtoolset-7-gcc
devtoolset-7-7.1-4.el7.x86_64
devtoolset-7-binutils-2.28-11.el7.x86_64
devtoolset-7-gcc-7.3.1-5.13.el7.x86_64

<mock-chroot> sh-4.2# scl enable devtoolset-7 "g++ -m32 helloworld.cpp"
/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/ld: skipping incompatible /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/libstdc++_nonshared.a when searching for -lstdc++_nonshared
/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/ld: cannot find -lstdc++_nonshared
collect2: error: ld returned 1 exit status

<mock-chroot> sh-4.2# symlinks /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/32/
dangling: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/32/libstdc++.a -> ../../../i686-redhat-linux/7/libstdc++.a
dangling: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/32/libmpxwrappers.a -> ../../../i686-redhat-linux/7/libmpxwrappers.a
dangling: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/32/libstdc++_nonshared.a -> ../../../i686-redhat-linux/7/libstdc++_nonshared.a
dangling: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/32/libubsan.a -> ../../../i686-redhat-linux/7/libubsan.a
dangling: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/32/libatomic.a -> ../../../i686-redhat-linux/7/libatomic.a
dangling: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/32/libitm.a -> ../../../i686-redhat-linux/7/libitm.a
dangling: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/32/libasan.a -> ../../../i686-redhat-linux/7/libasan.a
dangling: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/32/libquadmath.a -> ../../../i686-redhat-linux/7/libquadmath.a
dangling: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/32/libstdc++fs.a -> ../../../i686-redhat-linux/7/libstdc++fs.a
dangling: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/32/libasan_preinit.o -> ../../../i686-redhat-linux/7/libasan_preinit.o
dangling: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/32/libcilkrts.a -> ../../../i686-redhat-linux/7/libcilkrts.a
dangling: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/32/libmpx.a -> ../../../i686-redhat-linux/7/libmpx.a
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-11-09 10:26 fsirl New Issue