Message ID | 522704CF.2050303@ubuntu.com |
---|---|
State | New |
Headers | show |
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.
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 since 2.23. Matthias
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? > > No, it's the default in gold and in the bfd linker since 2.23. Oh, right. I wonder how many other things this will break. OK. Andrew.
--- a/src/boehm-gc/Makefile.am +++ a/src/boehm-gc/Makefile.am @@ -35,7 +35,7 @@ # Include THREADLIBS here to ensure that the correct versions of # linuxthread semaphore functions get linked: -libgcjgc_la_LIBADD = $(addobjs) $(THREADLIBS) +libgcjgc_la_LIBADD = $(addobjs) $(THREADLIBS) $(EXTRA_TEST_LIBS) libgcjgc_la_DEPENDENCIES = $(addobjs) libgcjgc_la_LDFLAGS = $(extra_ldflags_libgc) -version-info 1:2:0 -rpath $(toolexeclibdir) libgcjgc_la_LINK = $(LINK) $(libgcjgc_la_LDFLAGS)