Re: [OE-core] [PATCH V2] tclibc-musl.inc: fix bfd "cannot make copy relocation for protected symbol" issues

2017-07-31 Thread Ming Liu
Hi, Khem: Just tried, but the error still could be observed with the patch applied, for instance: |

Re: [OE-core] [PATCH V2] tclibc-musl.inc: fix bfd "cannot make copy relocation for protected symbol" issues

2017-07-31 Thread Khem Raj
On Tue, Jul 25, 2017 at 1:07 AM, Ming Liu wrote: > Hi, Burton: > > I also agree with you, your suggestion is better. > > Hi, Khem: > > But is this a bug of binutils? Or musl libc? Since I had only observed this > error with musl libc only, it did not occur with glibc. >

Re: [OE-core] [PATCH V2] tclibc-musl.inc: fix bfd "cannot make copy relocation for protected symbol" issues

2017-07-25 Thread Ming Liu
Hi, Burton: I also agree with you, your suggestion is better. Hi, Khem: But is this a bug of binutils? Or musl libc? Since I had only observed this error with musl libc only, it did not occur with glibc. //Ming Liu 2017-07-24 15:39 GMT+02:00 Khem Raj : > On Mon, Jul 24,

Re: [OE-core] [PATCH V2] tclibc-musl.inc: fix bfd "cannot make copy relocation for protected symbol" issues

2017-07-24 Thread Khem Raj
On Mon, Jul 24, 2017 at 6:18 AM, Burton, Ross wrote: > If we're going to silently change the linker to bfd under musl if ld-is-gold > is selected, wouldn't it be better just to throw an exception if both musl > and ld-is-gold are selected? Better to tell the user so they

Re: [OE-core] [PATCH V2] tclibc-musl.inc: fix bfd "cannot make copy relocation for protected symbol" issues

2017-07-24 Thread Burton, Ross
If we're going to silently change the linker to bfd under musl if ld-is-gold is selected, wouldn't it be better just to throw an exception if both musl and ld-is-gold are selected? Better to tell the user so they can not do that than silently ignore what they asked. Ross On 22 July 2017 at

[OE-core] [PATCH V2] tclibc-musl.inc: fix bfd "cannot make copy relocation for protected symbol" issues

2017-07-22 Thread liu . ming50
From: Ming Liu Quite a few such compiling issues were found when I was building with following configs: ... MACHINE = "beaglebone" TCLIBC = "musl" DISTRO_FEATURES_append = " ld-is-gold" ... fixed by adding bfd binding now ldflags. Signed-off-by: Ming Liu