Devtoolset-6 for RHEL6 not working properly

Latest response

Hello,

We installed devtoolset-6 on RHEL-6 system.

But when client tries to run it. They are getting the following error:

/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.1.1/ld: /opt/rh/devtoolset-6/root/usr/lib/gcc/x86_64-redhat-linux/6.1.1/libstdc++_nonshared.a(functexcept.o)(.text._ZNSt12future_errorC2ESt10error_code[_ZNSt12future_errorC5ESt10error_code]+0x44): unresolvable R_X86_64_NONE relocation against symbol `_ZNSs4_Rep20_S_empty_rep_storageE@@GLIBCXX_3.4'
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.1.1/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status

I installed the package from :
http://ftp.redhat.com/pub/redhat/.498j597yc298y5m298yufc2y45/.4389ru9fj398j4398j/.rhscl/.alpha/.DTS/rhel6/

Thanks,
Dheeraj

Responses

Have you, by chance, stripped the libraries using the system strip utility? See this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1545386

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.