This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Problem with linker with binutils-040414
On Wed, Apr 14, 2004 at 02:35:49PM -0400, Daniel Kulp wrote:
>
> > > I was using a version ld that I build several weeks ago from the cvs
> > > source (don't know the exact date), and that works fine.
> > # ./ld -V
>
> Version that works fine:
> GNU ld version 2.15.90 20040303
>
>
> > It looks like old_bfd is NULL, which isn't supposed to happen. Can
> > you find out why old_bfd is NULL at elflink.c:3641? We need a testcase.
> > You can print out what `h' points to at elflink.c:3641 and find out
> > where the symbol is defined and referenced. You should be able to
> > construct a very small testcase from there.
>
> I now have a very small test case assuming you have a java JDK installed.
>
> test.cxx:
> #include <jni.h>
> int main (int argc, char *argv[])
> {
> }
>
> Command line to build:
> g++ -I/opt/jdk1.4.2/include -I/opt/jdk1.4.2/include/linux tmp.cxx \
> -L/opt/jdk1.4.2/jre/lib/i386/client -ljvm
I grabbed j2sdk1.4.2_04, and could not reproduce this.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer