On Wed, Sep 7, 2016 at 6:51 PM, Khem Raj <[email protected]> wrote: > >> On Sep 6, 2016, at 2:29 PM, Andreas Müller <[email protected]> >> wrote: >> >> On Tue, Sep 6, 2016 at 8:28 PM, Khem Raj <[email protected]> wrote: >>> >>>> On Sep 4, 2016, at 1:15 PM, Andreas Müller <[email protected]> >>>> wrote: >>>> >>>> Use this workaround as long as there is no better (upstream) fix >>>> >>>> Signed-off-by: Andreas Müller <[email protected]> >>>> --- >>>> 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)}” >>> >>> what is the original problem ? >>> >> | default/source3/libsamba-cluster-support-samba4.so: error: undefined >> reference to ‘dbghdrclass' > > > Does it mean that we are missing some library or object on linker cmdline ? > Have no idea. Googling around and checking samba's git I saw that it tends to break with new version of binutils. Before changing linker, I played around with patches adding dependencies / removing LDFLAGS all did not lead to working build. So I finally replaced gold and samba is fine again.
Andreas -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
