This is the mail archive of the 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: [PATCH/TopLevel] Fix compiling libgo with a combined sources

On Mon, Nov 24, 2014 at 1:32 PM, Jeff Law <> wrote:
> On 11/22/14 21:20, Andrew Pinski wrote:
>> Hi,
>>    The problem here is here is that OBJCOPY is not being set to the
>> newly built objcopy when compiling libgo.  This patch adds
>> OBJCOPY_FOR_TARGET to the toplevel configure/Makefile so that when
>> libgo is compiled OBJCOPY is set to OBJCOPY_FOR_TARGET.
>> I noticed this issue when building an aarch64 cross compile on an
>> older system where objcopy did not understand aarch64.
>> OK?  Bootstrapped and tested on x86_64 with no regressions.  Also
>> tested with a combined build for a cross compiler to
>> aarch64-linux-gnu.
>> Thanks,
>> Andrew Pinski
>>          * Makefile.def (flags_to_pass): Pass OBJCOPY_FOR_TARGET also.
>>          * Makefile.tpl (HOST_EXPORTS): Add OBJCOPY_FOR_TARGET.
>>          (OBJCOPY_FOR_TARGET): New variable.
>>          * Regenerate.
>>          * Check for already installed target objcopy.
>>          Also GCC_TARGET_TOOL on objcopy.
>>          * configure: Regenerate.
> OK

Committed to GCC and gdb/binutils repos now.


> Jeff

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