This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: [GOLD] [PATCH] Fix for "No rule to make target `-ldl', needed by `incremental-dump'." build error


Viktor Kutuzov <vkutuzov@accesssoftek.com> writes:

> When gold is built on Mac OS X Snow Leopard (10.6.2), the build could fail with the following error:
>
> mv -f .deps/incremental-dump.Tpo .deps/incremental-dump.Po
> make[4]: *** No rule to make target `-ldl', needed by `incremental-dump'.  Stop.
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-gold] Error 2
> make: *** [all] Error 2
>
> This happens because system library is listed as a dependency and make tries to find a rule to build it.
>
> Please find attached the patch wich fixes this problem.
> Tested on Mac OS X Snow Leopard (10.6.2) and Ubuntu 9.10.

Thanks.  Committed with this ChangeLog entry:

2010-01-06  Viktor Kutuzov  <vkutuzov@accesssoftek.com>

	* Makefile.am (incremental_dump_DEPENDENCIES): Remove
	$(THREADSLIB) and $(LIBDL).
	* Makefile.in: Rebuild.

Ian


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