Bug 60445

Summary: binutils: ld "selective1" fails
Product: [Retired] Red Hat Linux Reporter: Christopher Holmes <cholmes>
Component: binutilsAssignee: Beth Uptagrafft <bhu>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: alpha   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-02-28 18:22:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christopher Holmes 2002-02-27 21:00:08 UTC
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

Comment 1 Alexandre Petit-Bianco 2002-03-26 20:41:56 UTC
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.




Comment 2 Alexandre Petit-Bianco 2002-03-26 20:42:54 UTC
*** Bug 60446 has been marked as a duplicate of this bug. ***

Comment 3 Alexandre Petit-Bianco 2002-03-26 20:44:06 UTC
*** Bug 60447 has been marked as a duplicate of this bug. ***

Comment 4 Alexandre Petit-Bianco 2002-03-26 20:47:58 UTC
*** Bug 60448 has been marked as a duplicate of this bug. ***

Comment 5 Alexandre Petit-Bianco 2002-03-27 21:00:48 UTC
One more thing. I've been told by one of the binutils maintainer that these 
test cases were now specifically disabled on elf64-alpha.




Comment 6 George France 2002-04-17 21:15:23 UTC
I do not believe that the test should be disabled for alpha.  Maybe marked XFAIL
would be more appropriate????

--George