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: [PATCH] Fix gold build for aarch64


Sorry, I forwarded this to the gold Aarch64 developer, but I failed to
notice that the fix wasn't in the next patch. Andreas just noticed the
same problem, so I just approved his patch.

-cary


On Mon, Sep 22, 2014 at 11:27 PM, Slava Barinov <v.barinov@samsung.com> wrote:
> Linking aarch64-reloc-property obj to gold during build.
>
> Signed-off-by: Slava Barinov <v.barinov@samsung.com>
> ---
> Hello,
>
>  I've got linkage problems during gold build for aarch64 architecture with
>
>  gold/aarch64.cc:453: undefined reference to `gold::AArch64_reloc_property_table::AArch64_reloc_property_table()'
>
>  Just adding aarch64-reloc-property to binary just like it's done for arm helped.
>
>  gold/configure.tgt | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/gold/configure.tgt b/gold/configure.tgt
> index 9a75070..59a681e 100644
> --- a/gold/configure.tgt
> +++ b/gold/configure.tgt
> @@ -146,6 +146,7 @@ arm*-*-*)
>   ;;
>  aarch64*-*)
>   targ_obj=aarch64
> + targ_extra_obj=aarch64-reloc-property
>   targ_machine=EM_AARCH64
>   targ_size=64
>   targ_extra_size=32
> --
> 2.1.1
>


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