Subject: How to update binutils/ld?
To: None <netbsd-help@netbsd.org>
From: =?ISO-8859-1?Q?Thorbj=F6rn_Jemander?= <thorman@jemander.net>
List: netbsd-help
Date: 07/31/2003 11:02:10
Hi,

I needed gcc3 for a project, so I built it from
pkgsrc and compiled the files in the project.

At the link stage, problems occur(*), which the
Goolgle Oracle tells me is due to "too old
binutils". I interpret that as need to get
a newer ld.

I tried to 'cvs up' and 'make' in /usr/src/gnu/usr.bin/ld,
but that was not very succesful, the produced binary
can't even understand the '-v' switch.

So, how do I properly update the bintutils/ld to
match gcc3 under NetBSD? I'm running 1.6.1,
with a not too heavily patched kernel and gcc-3.2.1.

I'm a bit lost here, any hints would be greatly appreciated.

(*) The errors I get begins with a few lines of

ld: Dwarf Error: Invalid or unhandled FORM value: 14.

which is followed with an infinite number of undefined
references.

Thanks in advance. (I'm not on this list, so please Cc me)

/Thorbjörn Jemander