Devtoolset-6 trouble

Latest response

I've got the same issue trying to build my unit tests using Boost Test Framework (which is build entirely w/ DTS-6 compiler):

/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.2.1/ld: /opt/rh/devtoolset-6/root/usr/lib64/libboost_unit_test_framework.a(progress_monitor.o)(.text+0xd22): 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.2.1/ld: final link failed: Nonrepresentable section on output

PS. I can't post a comment to original discussion due AJAX error on site.

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

Hi Florian, that was the first time when I faced this issue %) Having it second-time w/ DTS-7, I've asked a question at StackOverflow %) Thanks again for your investigation and answer @ SO & RH bug tracker! :) I've fixed my RPM spec and now everything is fine :)

Close

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