Re: [patch] boehm-gc: link libgcjgc with -ldl

2013-09-04 Thread Andrew Haley
On 09/04/2013 11:24 AM, Matthias Klose wrote: > Am 04.09.2013 12:21, schrieb Andrew Haley: >> On 09/04/2013 11:00 AM, Matthias Klose wrote: >>> The boehm-gc tests currently fail to build with a linker with >>> --no-copy-dt-needed-entries as the default. >> >> Hmm, isn't that a bug in the linker? >

Re: [patch] boehm-gc: link libgcjgc with -ldl

2013-09-04 Thread Matthias Klose
Am 04.09.2013 12:21, schrieb Andrew Haley: > On 09/04/2013 11:00 AM, Matthias Klose wrote: >> The boehm-gc tests currently fail to build with a linker with >> --no-copy-dt-needed-entries as the default. > > Hmm, isn't that a bug in the linker? No, it's the default in gold and in the bfd linker si

Re: [patch] boehm-gc: link libgcjgc with -ldl

2013-09-04 Thread Andrew Haley
On 09/04/2013 11:00 AM, Matthias Klose wrote: > The boehm-gc tests currently fail to build with a linker with > --no-copy-dt-needed-entries as the default. Hmm, isn't that a bug in the linker? Andrew.

[patch] boehm-gc: link libgcjgc with -ldl

2013-09-04 Thread Matthias Klose
The boehm-gc tests currently fail to build with a linker with --no-copy-dt-needed-entries as the default. dlopen is referenced in the libgcjgc library itself, so link it with -ldl. The macro name EXTRA_TEST_LIBS is a bit unfortunate now, but it is the right way to find the library name, as done fo