This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Skip ld/lto tests if plugins is disabled for binutils?


> From: Alan Modra <amodra@gmail.com>
> Date: Tue, 19 Aug 2014 14:28:57 +0200

> On Tue, Aug 19, 2014 at 05:43:26AM +0200, Hans-Peter Nilsson wrote:
> > There are a couple of simulators suffering from fallout from the
> > regenerated config.in due to older configury bugs
> > (e.g. iq2000-elf, frv-elf, m32r-elf and powerpc-eabisim needs
> > special treatment), but you didn't mention any others.
> 
> I'm about to commit the following to clean up my mess.  Adding -ldl in
> AC_PLUGINS fixes the current --disable-shared breakage.  It's not
> strictly necessary to add -ldl in directories that use libtool to link
> libbfd, eg. binutils, since libtool magically picks up libbfd
> dependencies (libbfd.la dependency_libs shell variable).  However,
> invoking AC_SEARCH_LIBS in AC_PLUGINS has the benefit that it only
> needs doing in one place.

That seems like it'd fix the ppc sim build failure, I'm onto the others.

(They're totally unrelated to any -ldl issue, just sim config
goofs from 2013 undetected until config.in was regenerated.)

brgds, H-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]