Subject: toolchain/20628: sparc fails to build new ld after binutils update
To: None <gnats-bugs@gnats.netbsd.org>
From: None <he@netbsd.org>
List: netbsd-bugs
Date: 03/09/2003 00:58:11
>Number:         20628
>Category:       toolchain
>Synopsis:       sparc fails to build new ld after binutils update
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 08 15:59:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Havard Eidnes
>Release:        NetBSD 1.6P Mar 8 2003
>Organization:
	Unorganized, Inc.
>Environment:
System: NetBSD grizzly.urc.uninett.no 1.6P NetBSD 1.6P (GENERIC) #3: Sat Mar  8 19:03:31 CET 2003  he@grizzly.urc.uninett.no:/sys/arch/sparc/compile/GENERIC sparc
Architecture: sparc
Machine: sparc
>Description:
	While trying to build new user-land, it errors out while
	building ld:

/usr/tools/bin/sparc--netbsdelf-gcc -O2   -Werror  -I/usr/src/gnu/usr.bin/binutils/ld/arch/sparc  -DDEFAULT_EMULATION=\"elf32_sparc\"  -DSCRIPTDIR=\"/usr/share\"  -DTARGET=\"sparc--netbsdelf\" -DHAVE_CONFIG_H -D_GNU_SOURCE -I/usr/src/gnu/usr.bin/binutils/ld/../../../dist/toolchain/ld -I/usr/src/gnu/usr.bin/binutils/ld/../../../dist/toolchain/ld -I/usr/src/gnu/usr.bin/binutils/ld/../../../dist/toolchain/ld/../bfd -I/usr/src/gnu/usr.bin/binutils/ld/../../../dist/toolchain/ld/../include -I/usr/src/gnu/usr.bin/binutils/ld/../../../dist/toolchain/ld/../intl  -I/usr/src/gnu/lib/libbfd/arch/sparc  -I/usr/src/gnu/usr.bin/binutils/ld/../../../dist/toolchain/include -I/usr/src/gnu/usr.bin/binutils/ld/../../../dist/toolchain/bfd -I/usr/src/gnu/usr.bin/binutils/ld/../../../dist/toolchain/binutils  -DLOCALEDIR=\"/usr/share/locale\" -nostdinc -isystem /usr/dest/usr/include  -c eelf32_sparc.c
eelf32_sparc.c: In function `gldelf32_sparc_place_orphan':
eelf32_sparc.c:1064: structure has no member named `size_adj'
eelf32_sparc.c:1065: structure has no member named `size_adj'
eelf32_sparc.c:1067: structure has no member named `size_adj'
eelf32_sparc.c:1067: structure has no member named `size_adj'
eelf32_sparc.c:1072: structure has no member named `last_orphan'
*** Error code 1

Stop.
nbmake: stopped in /usr/src/gnu/usr.bin/binutils/ld


>How-To-Repeat:
	Try to build most recent source; watch it fail.

>Fix:
	Sorry, don't know.
>Release-Note:
>Audit-Trail:
>Unformatted: