[oe] [PATCH 5/5] samba: fix build by linking with bfd instead of gold

Huang, Jie (Jackie) Jackie.Huang at windriver.com
Mon Sep 12 01:35:36 UTC 2016



> -----Original Message-----
> From: openembedded-devel-bounces at lists.openembedded.org [mailto:openembedded-devel-
> bounces at lists.openembedded.org] On Behalf Of Andreas Müller
> Sent: Sunday, September 11, 2016 8:06 PM
> To: openembedded-devel at lists.openembedded.org
> Subject: Re: [oe] [PATCH 5/5] samba: fix build by linking with bfd instead of gold
> 
> On Sun, Sep 4, 2016 at 10:15 PM, Andreas Müller
> <schnitzeltony at googlemail.com> wrote:
> > Use this workaround as long as there is no better (upstream) fix
> >
> > Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com>
> > ---
> >  meta-networking/recipes-connectivity/samba/samba_4.4.5.bb | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb b/meta-
> networking/recipes-connectivity/samba/samba_4.4.5.bb
> > index e35d527..3205c5d 100644
> > --- a/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
> > +++ b/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
> > @@ -88,7 +88,7 @@ EXTRA_OECONF += "--enable-fhs \
> >                  "
> >  DISABLE_STATIC = ""
> >
> > -LDFLAGS += "-Wl,-z,relro,-z,now"
> > +LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-
> ld=bfd ', '', d)}"
> >
> >  do_install_append() {
> >      if ${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'true', 'false', d)}; then
> > --
> > 2.5.5
> >
> 1. This did not make it into master but is still in master-next.
> 2. Jackie Huang has sent a patch only blacklisting on arm [1] => seems
> only arm has this bug
> 
> [1] http://lists.openembedded.org/pipermail/openembedded-devel/2016-September/109036.html

Please see my reply on this:
http://lists.openembedded.org/pipermail/openembedded-devel/2016-September/109071.html

> 
> => I would like to send a patch changing to bfd linker only on arm.

I agree if it's confirmed only arm has this issue.

Thanks,
Jackie

> Against which branch shall I create this patch?
> 
> Andreas
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


More information about the Openembedded-devel mailing list