[GOLD] [PATCH] Fix for "No rule to make target `-ldl', needed by `incremental-dump'." build error
Ian Lance Taylor
iant@google.com
Thu Jan 7 05:52:00 GMT 2010
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
More information about the Binutils
mailing list