Description of problem: Need a link to objcopy to better support split dwarf The RH Developer Toolset is missing a symbolic link necessary for seamless use of the relatively new Split Dwarf (or DebugFission) feature. In particular, there should be an objcopy symbolic link in: /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.2.1 Pointing to: ../../../../bin/objcopy If you look in /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.2.1, you will see symbolic links for other compiler-needed binutils tools such as ar, as, ld, nm, ranlib, strip. For –gsplit-dwarf to work, the compiler also needs the matching version of objcopy. Version-Release number of selected component (if applicable): devtoolset-6-binutils-2.27-12.el7.1.x86_64 How reproducible: Always Steps to Reproduce: ls -l devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.2.1 | grep bin ar -> lrwxrwxrwx 1 root root 18 Apr 27 15:26 ar -> ../../../../bin/ar as ->lrwxrwxrwx 1 root root 18 Apr 27 15:26 as -> ../../../../bin/as ld ->lrwxrwxrwx 1 root root 18 Apr 27 15:26 ld -> ../../../../bin/ld ld.bdf->lrwxrwxrwx 1 root root 22 Apr 27 15:26 ld.bfd -> ../../../../bin/ld.bfd ld.gold->lrwxrwxrwx 1 root root 23 Apr 27 15:26 ld.gold -> ../../../../bin/ld.gold nm->lrwxrwxrwx 1 root root 18 Apr 27 15:26 nm -> ../../../../bin/nm link for objcopy is missing Additional info:
Reassigning to gcc, as the symlinks are actually constructed by the %install phase of the gcc.spec file.
Fixed in git.
Tested with devtoolset-7-gcc-7.3.1-5.4. It has the requested symlink. VERIFIED.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:1293