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: Support parallel build


"H.J. Lu" <hongjiu.lu@intel.com> writes:

> If we don't change LDADD, we need to add $(DEPENDENCIES) to
> xxx_DEPENDENCIES.  Otherwise, parallel build will fail since
> $(LDADD) will be used for link.  OK to install?
>
>
> H.J.
> ---
> 2009-12-03  H.J. Lu  <hongjiu.lu@intel.com>
>
> 	* Makefile.am (constructor_test_DEPENDENCIES): Add $(DEPENDENCIES).
> 	(two_file_test_DEPENDENCIES): Likewise.
> 	(common_test_1_DEPENDENCIES): Likewise.
> 	(exception_test_DEPENDENCIES) Likewise.
> 	(weak_test_DEPENDENCIES): Likewise.
> 	(many_sections_test_DEPENDENCIES): Likewise.
> 	(initpri1_DEPENDENCIES): Likewise.
> 	(script_test_1_DEPENDENCIES): Likewise.
> 	(script_test_2_DEPENDENCIES): Likewise.
> 	(justsyms_DEPENDENCIES): Likewise.
> 	(binary_test_DEPENDENCIES): Likewise.
> 	(large_DEPENDENCIES): Likewise.
> 	* Makefile.in: Regenerated.

This is not the right fix.  These tests should not be linked against
the libraries listed in LDADD.  It may be that we should avoid using
LDADD at all.

Ian


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