Description of Problem: binutils: ld "selective1" fails Version-Release number of selected component (if applicable): binutils-2.11.90.0.8-12.src.rpm How Reproducible: always Steps to Reproduce: 1. rpm -i binutils-2.11.90.0.8-12.src.rpm 2. cd /usr/src/redhat/SPECS 3. rpm -ba binutils.spec 4. cd /usr/src/redhat/BUILD/binutils-2.11.90.0.8 5. make -k check 6. review ./ld/ld.log Actual Results: gcc -L/usr/src/redhat/BUILD/binutils-2.11.90.0.8/ld -w -O -ffunction-sections -fdata-sections -B/usr/src/redhat/BUILD/binutils-2.11.90.0.8/ld/tmpdir/gas/ -I/usr/src/redhat/BUILD/binutils-2.11.90.0.8/ld/testsuite/ld-selective -O2 -mieee -c /usr/src/redhat/BUILD/binutils-2.11.90.0.8/ld/testsuite/ld-selective/1.c -o tmpdir/1.o /usr/src/redhat/BUILD/binutils-2.11.90.0.8/ld/ld-new -o tmpdir/1.x --gc-sections -Bstatic tmpdir/1.o /usr/src/redhat/BUILD/binutils-2.11.90.0.8/ld/../binutils/nm-new tmpdir/1.x >tmpdir/nm.out selective1: dropme1 == 0x00000001200000c0 FAIL: selective1 Expected Results: PASS: selective1 Additional Information: expected results achieved on intel RedHat7.2
Selective linking wasn't implemented on elf64-alpha. The compiler seems to be doing the right thing, but BFD doesn't provide the necessary support. As a result, the tests are failing and should probably be turned off for that particular platform until the implementation is carried out.
*** Bug 60446 has been marked as a duplicate of this bug. ***
*** Bug 60447 has been marked as a duplicate of this bug. ***
*** Bug 60448 has been marked as a duplicate of this bug. ***
One more thing. I've been told by one of the binutils maintainer that these test cases were now specifically disabled on elf64-alpha.
I do not believe that the test should be disabled for alpha. Maybe marked XFAIL would be more appropriate???? --George