* [PATCH 0/1] libunwind: use gold for all archs
@ 2015-04-20 8:05 Robert Yang
2015-04-20 8:05 ` [PATCH 1/1] " Robert Yang
0 siblings, 1 reply; 4+ messages in thread
From: Robert Yang @ 2015-04-20 8:05 UTC (permalink / raw)
To: openembedded-core
The following changes since commit 97d56a5b8e4f15eb32095f242eb2fd62fc5d85f2:
gmp: remove referencing paths from the build host (2015-04-19 13:34:06 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib rbt/libunwind
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/libunwind
Robert Yang (1):
libunwind: use gold for all archs
meta/recipes-support/libunwind/libunwind.inc | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
--
1.7.9.5
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/1] libunwind: use gold for all archs
2015-04-20 8:05 [PATCH 0/1] libunwind: use gold for all archs Robert Yang
@ 2015-04-20 8:05 ` Robert Yang
2015-04-22 1:32 ` Khem Raj
0 siblings, 1 reply; 4+ messages in thread
From: Robert Yang @ 2015-04-20 8:05 UTC (permalink / raw)
To: openembedded-core
At least the following boards have build errors without using gold:
qemux86, qemux86-64, qemuarm, qemuaarch64, qemuppc.
The error is:
ld: copy reloc against protected `_Uaarch64_local_addr_space' is invalid
ld: failed to set dynamic section sizes: Bad value
ld: copy reloc against protected `_Uaarch64_local_addr_space' is invalid
ld: failed to set dynamic section sizes: Bad value
| collect2: error: ld returned 1 exit status
So use gold for all archs to fix the problem.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
meta/recipes-support/libunwind/libunwind.inc | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/meta/recipes-support/libunwind/libunwind.inc b/meta/recipes-support/libunwind/libunwind.inc
index 56905c2..c4a7b5e 100644
--- a/meta/recipes-support/libunwind/libunwind.inc
+++ b/meta/recipes-support/libunwind/libunwind.inc
@@ -23,10 +23,7 @@ LIBATOMICS_armv5 = "-latomic_ops"
LIBATOMICS_armv4 = "-latomic_ops"
LIBATOMICS ?= ""
-LDFLAGS_append_x86 = " -fuse-ld=gold"
-LDFLAGS_append_x86-64 = " -fuse-ld=gold"
-
-LDFLAGS_append_aarch64 = " -fuse-ld=gold"
+LDFLAGS_append = " -fuse-ld=gold"
DEPENDS += "${DEPLIBATOMICS}"
DEPLIBATOMICS_armv5 = "libatomics-ops"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/1] libunwind: use gold for all archs
2015-04-20 8:05 ` [PATCH 1/1] " Robert Yang
@ 2015-04-22 1:32 ` Khem Raj
2015-04-22 2:21 ` Robert Yang
0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2015-04-22 1:32 UTC (permalink / raw)
To: Robert Yang; +Cc: openembedded-core
> On Apr 20, 2015, at 1:05 AM, Robert Yang <liezhi.yang@windriver.com> wrote:
>
> At least the following boards have build errors without using gold:
> qemux86, qemux86-64, qemuarm, qemuaarch64, qemuppc.
>
> The error is:
> ld: copy reloc against protected `_Uaarch64_local_addr_space' is invalid
> ld: failed to set dynamic section sizes: Bad value
> ld: copy reloc against protected `_Uaarch64_local_addr_space' is invalid
> ld: failed to set dynamic section sizes: Bad value
> | collect2: error: ld returned 1 exit status
>
> So use gold for all archs to fix the problem.
Please test it with gold on mips, before we apply this patch
>
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> ---
> meta/recipes-support/libunwind/libunwind.inc | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
>
> diff --git a/meta/recipes-support/libunwind/libunwind.inc b/meta/recipes-support/libunwind/libunwind.inc
> index 56905c2..c4a7b5e 100644
> --- a/meta/recipes-support/libunwind/libunwind.inc
> +++ b/meta/recipes-support/libunwind/libunwind.inc
> @@ -23,10 +23,7 @@ LIBATOMICS_armv5 = "-latomic_ops"
> LIBATOMICS_armv4 = "-latomic_ops"
> LIBATOMICS ?= ""
>
> -LDFLAGS_append_x86 = " -fuse-ld=gold"
> -LDFLAGS_append_x86-64 = " -fuse-ld=gold"
> -
> -LDFLAGS_append_aarch64 = " -fuse-ld=gold"
> +LDFLAGS_append = " -fuse-ld=gold"
>
> DEPENDS += "${DEPLIBATOMICS}"
> DEPLIBATOMICS_armv5 = "libatomics-ops"
> --
> 1.7.9.5
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/1] libunwind: use gold for all archs
2015-04-22 1:32 ` Khem Raj
@ 2015-04-22 2:21 ` Robert Yang
0 siblings, 0 replies; 4+ messages in thread
From: Robert Yang @ 2015-04-22 2:21 UTC (permalink / raw)
To: Khem Raj; +Cc: openembedded-core
On 04/22/2015 09:32 AM, Khem Raj wrote:
>
>> On Apr 20, 2015, at 1:05 AM, Robert Yang <liezhi.yang@windriver.com> wrote:
>>
>> At least the following boards have build errors without using gold:
>> qemux86, qemux86-64, qemuarm, qemuaarch64, qemuppc.
>>
>> The error is:
>> ld: copy reloc against protected `_Uaarch64_local_addr_space' is invalid
>> ld: failed to set dynamic section sizes: Bad value
>> ld: copy reloc against protected `_Uaarch64_local_addr_space' is invalid
>> ld: failed to set dynamic section sizes: Bad value
>> | collect2: error: ld returned 1 exit status
>>
>> So use gold for all archs to fix the problem.
>
> Please test it with gold on mips, before we apply this patch
Sorry, gold doesn't work for mips or mips64, I will send a patch for that.
// Robert
>
>>
>> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
>> ---
>> meta/recipes-support/libunwind/libunwind.inc | 5 +----
>> 1 file changed, 1 insertion(+), 4 deletions(-)
>>
>> diff --git a/meta/recipes-support/libunwind/libunwind.inc b/meta/recipes-support/libunwind/libunwind.inc
>> index 56905c2..c4a7b5e 100644
>> --- a/meta/recipes-support/libunwind/libunwind.inc
>> +++ b/meta/recipes-support/libunwind/libunwind.inc
>> @@ -23,10 +23,7 @@ LIBATOMICS_armv5 = "-latomic_ops"
>> LIBATOMICS_armv4 = "-latomic_ops"
>> LIBATOMICS ?= ""
>>
>> -LDFLAGS_append_x86 = " -fuse-ld=gold"
>> -LDFLAGS_append_x86-64 = " -fuse-ld=gold"
>> -
>> -LDFLAGS_append_aarch64 = " -fuse-ld=gold"
>> +LDFLAGS_append = " -fuse-ld=gold"
>>
>> DEPENDS += "${DEPLIBATOMICS}"
>> DEPLIBATOMICS_armv5 = "libatomics-ops"
>> --
>> 1.7.9.5
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-04-22 2:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-20 8:05 [PATCH 0/1] libunwind: use gold for all archs Robert Yang
2015-04-20 8:05 ` [PATCH 1/1] " Robert Yang
2015-04-22 1:32 ` Khem Raj
2015-04-22 2:21 ` Robert Yang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.