Bug 12842 - Linker is broken
Summary: Linker is broken
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: ld (show other bugs)
Version: 2.22
: P2 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
: 12839 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-06-04 17:19 UTC by H.J. Lu
Modified: 2011-06-09 12:44 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2011-06-04 17:19:30 UTC
On Linux/x86-64, I got

FAIL: ld-elf/commonpage2
FAIL: ld-elf/maxpage4
FAIL: Mixed x86_64 and i386 input test 1
FAIL: Mixed x86_64 and i386 input test 2
FAIL: ld-x86-64/ilp32-2
FAIL: ld-x86-64/ia32-2
FAIL: ld-x86-64/lp64-2
FAIL: ld-x86-64/lp64-3

It is caused by:

http://sourceware.org/ml/binutils/2011-06/msg00040.html
Comment 1 H.J. Lu 2011-06-04 17:44:29 UTC
*** Bug 12839 has been marked as a duplicate of this bug. ***
Comment 2 H.J. Lu 2011-06-04 17:50:37 UTC
It is caused by elf_object_p change.
Comment 3 Sourceware Commits 2011-06-04 18:16:22 UTC
CVSROOT:	/cvs/src
Module name:	src
Changes by:	hjl@sourceware.org	2011-06-04 18:16:20

Modified files:
	bfd            : ChangeLog elfcode.h 

Log message:
	Revert the last change on elf_object_p.
	
	2011-06-04  H.J. Lu  <hongjiu.lu@intel.com>
	
	PR ld/12842
	* elfcode.h (elf_object_p): Revert the last change.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.5369&r2=1.5370
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elfcode.h.diff?cvsroot=src&r1=1.107&r2=1.108
Comment 4 H.J. Lu 2011-06-09 12:44:35 UTC
Fixed.