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] |
Hello everyone, 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. Best regards, Viktor * gold/Makefile.am : Removed $(THREADSLIB) and $(LIBDL) from the incremental_dump_DEPENDENCIES list. * gold/Makefile.in: Regenerated for the changed gold/Makefile.am
Attachment:
gold-fix-darwin-build-with-plugins_and_pthread.patch
Description: gold-fix-darwin-build-with-plugins_and_pthread.patch
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |