Re: [oe] [meta-networking][PATCH 1/3] squid: Link with libatomic on riscv

2020-01-31 Thread Khem Raj
On Wed, Jan 29, 2020 at 9:32 PM akuster808  wrote:
>
>
>
> On 1/28/20 1:53 PM, Khem Raj wrote:
> > Signed-off-by: Khem Raj 
>
> Is this for the same reason as for nodejs Cento7 fix ?
>

pretty much same problem, although a better fix is to detect it
during build but every build system has its own nuance.

> - armin
> > ---
> >  meta-networking/recipes-daemons/squid/squid_4.9.bb | 2 ++
> >  1 file changed, 2 insertions(+)
> >
> > diff --git a/meta-networking/recipes-daemons/squid/squid_4.9.bb 
> > b/meta-networking/recipes-daemons/squid/squid_4.9.bb
> > index 6f202cf401..19949acd84 100644
> > --- a/meta-networking/recipes-daemons/squid/squid_4.9.bb
> > +++ b/meta-networking/recipes-daemons/squid/squid_4.9.bb
> > @@ -40,6 +40,8 @@ inherit autotools pkgconfig useradd ptest perlnative
> >
> >  LDFLAGS_append_mipsarch = " -latomic"
> >  LDFLAGS_append_powerpc = " -latomic"
> > +LDFLAGS_append_riscv64 = " -latomic"
> > +LDFLAGS_append_riscv32 = " -latomic"
> >
> >  USERADD_PACKAGES = "${PN}"
> >  USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /var/run/squid 
> > --shell /bin/false --user-group squid"
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-networking][PATCH 1/3] squid: Link with libatomic on riscv

2020-01-31 Thread Khem Raj
On Thu, Jan 30, 2020 at 11:01 AM akuster808  wrote:
>
>
>
> On 1/29/20 10:14 PM, Khem Raj wrote:
> > On Wed, Jan 29, 2020 at 9:32 PM akuster808  wrote:
> >>
> >>
> >> On 1/28/20 1:53 PM, Khem Raj wrote:
> >>> Signed-off-by: Khem Raj 
> >> Is this for the same reason as for nodejs Cento7 fix ?
> >>
> > pretty much same problem, although a better fix is to detect it
> > during build but every build system has its own nuance.
> ok. backport worthy then.
yes

thanks
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-networking][PATCH 1/3] squid: Link with libatomic on riscv

2020-01-31 Thread akuster808



On 1/28/20 1:53 PM, Khem Raj wrote:
> Signed-off-by: Khem Raj 

Is this for the same reason as for nodejs Cento7 fix ?

- armin
> ---
>  meta-networking/recipes-daemons/squid/squid_4.9.bb | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/meta-networking/recipes-daemons/squid/squid_4.9.bb 
> b/meta-networking/recipes-daemons/squid/squid_4.9.bb
> index 6f202cf401..19949acd84 100644
> --- a/meta-networking/recipes-daemons/squid/squid_4.9.bb
> +++ b/meta-networking/recipes-daemons/squid/squid_4.9.bb
> @@ -40,6 +40,8 @@ inherit autotools pkgconfig useradd ptest perlnative
>  
>  LDFLAGS_append_mipsarch = " -latomic"
>  LDFLAGS_append_powerpc = " -latomic"
> +LDFLAGS_append_riscv64 = " -latomic"
> +LDFLAGS_append_riscv32 = " -latomic"
>  
>  USERADD_PACKAGES = "${PN}"
>  USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /var/run/squid 
> --shell /bin/false --user-group squid"

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-networking][PATCH 1/3] squid: Link with libatomic on riscv

2020-01-30 Thread akuster808



On 1/29/20 10:14 PM, Khem Raj wrote:
> On Wed, Jan 29, 2020 at 9:32 PM akuster808  wrote:
>>
>>
>> On 1/28/20 1:53 PM, Khem Raj wrote:
>>> Signed-off-by: Khem Raj 
>> Is this for the same reason as for nodejs Cento7 fix ?
>>
> pretty much same problem, although a better fix is to detect it
> during build but every build system has its own nuance.
ok. backport worthy then.

thanks,
Armin
>
>> - armin
>>> ---
>>>  meta-networking/recipes-daemons/squid/squid_4.9.bb | 2 ++
>>>  1 file changed, 2 insertions(+)
>>>
>>> diff --git a/meta-networking/recipes-daemons/squid/squid_4.9.bb 
>>> b/meta-networking/recipes-daemons/squid/squid_4.9.bb
>>> index 6f202cf401..19949acd84 100644
>>> --- a/meta-networking/recipes-daemons/squid/squid_4.9.bb
>>> +++ b/meta-networking/recipes-daemons/squid/squid_4.9.bb
>>> @@ -40,6 +40,8 @@ inherit autotools pkgconfig useradd ptest perlnative
>>>
>>>  LDFLAGS_append_mipsarch = " -latomic"
>>>  LDFLAGS_append_powerpc = " -latomic"
>>> +LDFLAGS_append_riscv64 = " -latomic"
>>> +LDFLAGS_append_riscv32 = " -latomic"
>>>
>>>  USERADD_PACKAGES = "${PN}"
>>>  USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /var/run/squid 
>>> --shell /bin/false --user-group squid"

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel