All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] pavucontrol: replace intltool by intltool-native in DEPENDS
@ 2016-09-04 20:15 Andreas Müller
  2016-09-04 20:15 ` [PATCH 2/5] libgsf: add intltool-native to DEPENDS Andreas Müller
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Andreas Müller @ 2016-09-04 20:15 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 meta-oe/recipes-multimedia/pulseaudio/pavucontrol_3.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-multimedia/pulseaudio/pavucontrol_3.0.bb b/meta-oe/recipes-multimedia/pulseaudio/pavucontrol_3.0.bb
index 84227b4..bdffb2a 100644
--- a/meta-oe/recipes-multimedia/pulseaudio/pavucontrol_3.0.bb
+++ b/meta-oe/recipes-multimedia/pulseaudio/pavucontrol_3.0.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "PulseAudio Volume Control (pavucontrol) is a simple GTK based vol
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe"
 
-DEPENDS = "intltool gtkmm libcanberra pulseaudio"
+DEPENDS = "intltool-native gtkmm libcanberra pulseaudio"
 
 inherit gnome
 
-- 
2.5.5



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 2/5] libgsf: add intltool-native to DEPENDS
  2016-09-04 20:15 [PATCH 1/5] pavucontrol: replace intltool by intltool-native in DEPENDS Andreas Müller
@ 2016-09-04 20:15 ` Andreas Müller
  2016-09-04 20:15 ` [PATCH 3/5] libgnome: " Andreas Müller
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 11+ messages in thread
From: Andreas Müller @ 2016-09-04 20:15 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 meta-gnome/recipes-gnome/libgsf/libgsf_1.14.29.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/libgsf/libgsf_1.14.29.bb b/meta-gnome/recipes-gnome/libgsf/libgsf_1.14.29.bb
index 57935c5..602d513 100644
--- a/meta-gnome/recipes-gnome/libgsf/libgsf_1.14.29.bb
+++ b/meta-gnome/recipes-gnome/libgsf/libgsf_1.14.29.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=dc7371b50816c96e145fa0f8ade8e24d \
 
 SECTION = "libs"
 
-DEPENDS= "libxml2 bzip2 glib-2.0 zlib"
+DEPENDS= "libxml2 bzip2 glib-2.0 zlib intltool-native"
 
 inherit autotools pkgconfig gnome gconf gobject-introspection
 
-- 
2.5.5



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 3/5] libgnome: add intltool-native to DEPENDS
  2016-09-04 20:15 [PATCH 1/5] pavucontrol: replace intltool by intltool-native in DEPENDS Andreas Müller
  2016-09-04 20:15 ` [PATCH 2/5] libgsf: add intltool-native to DEPENDS Andreas Müller
@ 2016-09-04 20:15 ` Andreas Müller
  2016-09-04 20:15 ` [PATCH 4/5] gtkmathview: unbreak gcc-6 build and unblacklist Andreas Müller
  2016-09-04 20:15 ` [PATCH 5/5] samba: fix build by linking with bfd instead of gold Andreas Müller
  3 siblings, 0 replies; 11+ messages in thread
From: Andreas Müller @ 2016-09-04 20:15 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 meta-gnome/recipes-gnome/libgnome/libgnome_2.32.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/libgnome/libgnome_2.32.1.bb b/meta-gnome/recipes-gnome/libgnome/libgnome_2.32.1.bb
index 27b8b9a..40caa7b 100644
--- a/meta-gnome/recipes-gnome/libgnome/libgnome_2.32.1.bb
+++ b/meta-gnome/recipes-gnome/libgnome/libgnome_2.32.1.bb
@@ -12,7 +12,7 @@ SRC_URI[archive.sha256sum] = "b2c63916866485793b87398266dd7778548c1734923c272a94
 SRC_URI += "file://0001-libgnome-Makefile.am-allow-deprecated-symbols.patch"
 GNOME_COMPRESS_TYPE="bz2"
 
-DEPENDS += "libcanberra gconf-native gnome-vfs libbonobo esound"
+DEPENDS += "libcanberra gconf-native gnome-vfs libbonobo esound intltool-native"
 
 EXTRA_OECONF += "--disable-gtk-doc"
 
-- 
2.5.5



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 4/5] gtkmathview: unbreak gcc-6 build and unblacklist
  2016-09-04 20:15 [PATCH 1/5] pavucontrol: replace intltool by intltool-native in DEPENDS Andreas Müller
  2016-09-04 20:15 ` [PATCH 2/5] libgsf: add intltool-native to DEPENDS Andreas Müller
  2016-09-04 20:15 ` [PATCH 3/5] libgnome: " Andreas Müller
@ 2016-09-04 20:15 ` Andreas Müller
  2016-09-04 20:15 ` [PATCH 5/5] samba: fix build by linking with bfd instead of gold Andreas Müller
  3 siblings, 0 replies; 11+ messages in thread
From: Andreas Müller @ 2016-09-04 20:15 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 ...c-header-detection-of-hash_map-is-broken-.patch | 63 +++++++++++++++
 .../gtkmathview/0003-gcc-6.0-build-fixes.patch     | 93 ++++++++++++++++++++++
 .../mml-widget/gtkmathview_0.8.0.bb                |  5 +-
 3 files changed, 158 insertions(+), 3 deletions(-)
 create mode 100644 meta-oe/recipes-extended/mml-widget/gtkmathview/0002-configure.ac-header-detection-of-hash_map-is-broken-.patch
 create mode 100644 meta-oe/recipes-extended/mml-widget/gtkmathview/0003-gcc-6.0-build-fixes.patch

diff --git a/meta-oe/recipes-extended/mml-widget/gtkmathview/0002-configure.ac-header-detection-of-hash_map-is-broken-.patch b/meta-oe/recipes-extended/mml-widget/gtkmathview/0002-configure.ac-header-detection-of-hash_map-is-broken-.patch
new file mode 100644
index 0000000..b879d6a
--- /dev/null
+++ b/meta-oe/recipes-extended/mml-widget/gtkmathview/0002-configure.ac-header-detection-of-hash_map-is-broken-.patch
@@ -0,0 +1,63 @@
+From 9c226fbc6a42540cb492fcfcb81ff16fffb086d6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
+Date: Tue, 30 Aug 2016 23:24:53 +0200
+Subject: [PATCH] configure.ac: header detection of hash_map is broken - pin to
+ correct implementation
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Upstream-Status: Pending
+
+Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
+---
+ configure.ac | 31 ++++---------------------------
+ 1 file changed, 4 insertions(+), 27 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 4f2118e..16c09d5 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -252,35 +252,12 @@ AC_SUBST(GTKMATHVIEW_SIZEOF_WCHAR_T, "$ac_cv_sizeof_wchar_t")
+ 
+ AC_LANG_PUSH(C++)
+ 
+-AC_CHECK_HEADERS(unordered_map,
+-	[
+-		AC_DEFINE(GMV_HAVE_UNORDERED_MAP,1,[Define if <unordered_map> is provided])
+-		GMV_HAVE_UNORDERED_MAP_CFLAGS=-DGMV_HAVE_UNORDERED_MAP=1
+-	],
+-	[
+-		GMV_HAVE_UNORDERED_MAP_CFLAGS=
+-	]
+-)
++GMV_HAVE_UNORDERED_MAP_CFLAGS=
+ AC_SUBST(GMV_HAVE_UNORDERED_MAP_CFLAGS)
+-AC_CHECK_HEADERS(hash_map,
+-	[
+-		AC_DEFINE(GMV_HAVE_HASH_MAP,1,[Define if <hash_map> is provided])
+-		GMV_HAVE_HASH_MAP_CFLAGS=-DGMV_HAVE_HASH_MAP=1
+-	],
+-	[
+-		GMV_HAVE_HASH_MAP_CFLAGS=
+-	]
+-)
++GMV_HAVE_HASH_MAP_CFLAGS=
+ AC_SUBST(GMV_HAVE_HASH_MAP_CFLAGS)
+-AC_CHECK_HEADERS(ext/hash_map,
+-	[
+-		AC_DEFINE(GMV_HAVE_EXT_HASH_MAP,1,[Define if <ext/hash_map> is provided])
+-		GMV_HAVE_EXT_HASH_MAP_CFLAGS=-DGMV_HAVE_EXT_HASH_MAP=1
+-	],
+-	[
+-		GMV_HAVE_EXT_HASH_MAP_CFLAGS=
+-	]
+-)
++AC_DEFINE(GMV_HAVE_EXT_HASH_MAP,1,[Define if <ext/hash_map> is provided])
++GMV_HAVE_EXT_HASH_MAP_CFLAGS=-DGMV_HAVE_EXT_HASH_MAP=1
+ AC_SUBST(GMV_HAVE_EXT_HASH_MAP_CFLAGS)
+ 
+ AC_MSG_CHECKING([whether the C++ compiler supports the standard character traits])
+-- 
+2.5.5
+
diff --git a/meta-oe/recipes-extended/mml-widget/gtkmathview/0003-gcc-6.0-build-fixes.patch b/meta-oe/recipes-extended/mml-widget/gtkmathview/0003-gcc-6.0-build-fixes.patch
new file mode 100644
index 0000000..356274d
--- /dev/null
+++ b/meta-oe/recipes-extended/mml-widget/gtkmathview/0003-gcc-6.0-build-fixes.patch
@@ -0,0 +1,93 @@
+From: Gert Wollny <gw.fossdev@gmail.com>
+Date: Sun, 26 Jun 2016 13:25:00 +0200
+Description: gcc 6.0 build fixes
+Bug: https://bugs.debian.org/811682
+
+Slightly adapted to our environment
+
+Upstream-Status: Pending
+
+Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
+--- a/src/engine/common/View.cc
++++ b/src/engine/common/View.cc
+@@ -291,7 +291,7 @@
+ 	  }
+     }
+ 
+-  return false;
++  return SmartPtr<Element>();
+ }
+ 
+ bool
+--- a/src/backend/common/tfm/TFM.hh
++++ b/src/backend/common/tfm/TFM.hh
+@@ -37,7 +37,7 @@
+     unsigned char face;
+     const char* codingScheme;
+     int designSize;
+-    int checksum;
++    unsigned int checksum;
+     unsigned int nDimensions;
+     unsigned int nCharacters;
+   };
+@@ -52,7 +52,7 @@
+   struct Kerning
+   {
+     UChar8 index;
+-    int value;
++    unsigned int value;
+   };
+ 
+   struct Ligature
+@@ -67,7 +67,7 @@
+     UChar8 index;
+     int width;
+     int height;
+-    int depth;
++    unsigned int depth;
+     int italicCorrection;
+     unsigned char nKernings;
+     const Kerning* kerning;
+--- a/src/backend/common/StandardSymbolsShaper.hh
++++ b/src/backend/common/StandardSymbolsShaper.hh
+@@ -32,20 +32,20 @@
+   struct HStretchyChar
+   {
+     Char16 ch;
+-    Char8 normal;
+-    Char8 left;
+-    Char8 glue;
+-    Char8 right;
++    UChar8 normal;
++    UChar8 left;
++    UChar8 glue;
++    UChar8 right;
+   };
+   
+   struct VStretchyChar
+   {
+     Char16 ch;
+-    Char8 normal;
+-    Char8 top;
+-    Char8 glue;
+-    Char8 middle;
+-    Char8 bottom;
++    UChar8 normal;
++    UChar8 top;
++    UChar8 glue;
++    UChar8 middle;
++    UChar8 bottom;
+   };
+ 
+ protected:
+--- a/src/backend/common/StandardSymbolsShaper.cc
++++ b/src/backend/common/StandardSymbolsShaper.cc
+@@ -29,7 +29,7 @@
+ #include "ShapingContext.hh"
+ 
+ struct GlyphMap {
+-  Char8 index;
++  UChar8 index;
+   Char16 ch;
+ };
+ 
diff --git a/meta-oe/recipes-extended/mml-widget/gtkmathview_0.8.0.bb b/meta-oe/recipes-extended/mml-widget/gtkmathview_0.8.0.bb
index cce3528..c693639 100644
--- a/meta-oe/recipes-extended/mml-widget/gtkmathview_0.8.0.bb
+++ b/meta-oe/recipes-extended/mml-widget/gtkmathview_0.8.0.bb
@@ -11,6 +11,8 @@ PV = "0.8.0+git${SRCPV}"
 SRC_URI = "git://github.com/GNOME/gtkmathview.git \
     file://use_hostcxx.patch \
     file://0001-include-cstdio-to-get-printf-definitions.patch \
+    file://0002-configure.ac-header-detection-of-hash_map-is-broken-.patch \
+    file://0003-gcc-6.0-build-fixes.patch \
 "
 
 S = "${WORKDIR}/git"
@@ -21,6 +23,3 @@ do_configure_append() {
     # avoid host polution inf pkg-config files
     sed -i "s:${STAGING_DIR_HOST}::g" `find -name '*.pc'`
 }
-
-# http://errors.yoctoproject.org/Errors/Details/68615/
-PNBLACKLIST[gtkmathview] ?= "BROKEN: fails to build with gcc-6"
-- 
2.5.5



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 5/5] samba: fix build by linking with bfd instead of gold
  2016-09-04 20:15 [PATCH 1/5] pavucontrol: replace intltool by intltool-native in DEPENDS Andreas Müller
                   ` (2 preceding siblings ...)
  2016-09-04 20:15 ` [PATCH 4/5] gtkmathview: unbreak gcc-6 build and unblacklist Andreas Müller
@ 2016-09-04 20:15 ` Andreas Müller
  2016-09-06 18:28   ` Khem Raj
  2016-09-11 12:05   ` Andreas Müller
  3 siblings, 2 replies; 11+ messages in thread
From: Andreas Müller @ 2016-09-04 20:15 UTC (permalink / raw)
  To: openembedded-devel

Use this workaround as long as there is no better (upstream) fix

Signed-off-by: Andreas Müller <schnitzeltony@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



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PATCH 5/5] samba: fix build by linking with bfd instead of gold
  2016-09-04 20:15 ` [PATCH 5/5] samba: fix build by linking with bfd instead of gold Andreas Müller
@ 2016-09-06 18:28   ` Khem Raj
  2016-09-06 21:29     ` Andreas Müller
  2016-09-11 12:05   ` Andreas Müller
  1 sibling, 1 reply; 11+ messages in thread
From: Khem Raj @ 2016-09-06 18:28 UTC (permalink / raw)
  To: OpenEmbedded Devel List

[-- Attachment #1: Type: text/plain, Size: 1294 bytes --]


> On Sep 4, 2016, at 1:15 PM, Andreas Müller <schnitzeltony@googlemail.com> wrote:
> 
> Use this workaround as long as there is no better (upstream) fix
> 
> Signed-off-by: Andreas Müller <schnitzeltony@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)}”

what is the original problem ?


> 
> do_install_append() {
>     if ${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'true', 'false', d)}; then
> --
> 2.5.5
> 
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 5/5] samba: fix build by linking with bfd instead of gold
  2016-09-06 18:28   ` Khem Raj
@ 2016-09-06 21:29     ` Andreas Müller
  2016-09-07 16:51       ` Khem Raj
  0 siblings, 1 reply; 11+ messages in thread
From: Andreas Müller @ 2016-09-06 21:29 UTC (permalink / raw)
  To: openembedded-devel

On Tue, Sep 6, 2016 at 8:28 PM, Khem Raj <raj.khem@gmail.com> wrote:
>
>> On Sep 4, 2016, at 1:15 PM, Andreas Müller <schnitzeltony@googlemail.com> wrote:
>>
>> Use this workaround as long as there is no better (upstream) fix
>>
>> Signed-off-by: Andreas Müller <schnitzeltony@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)}”
>
> what is the original problem ?
>
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbghdrclass'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbgtext'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'DEBUGLEVEL_CLASS'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'generate_random_buffer'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'GetTimeOfDay'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'tdb_wrap_open'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'string_term_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'make_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_tdb'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_hash_size'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_flags'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_unix'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'loadparm_init_s3'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'become_root'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'unbecome_root'
| collect2: error: ld returned 1 exit status
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbghdrclass'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbgtext'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'DEBUGLEVEL_CLASS'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'generate_random_buffer'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'GetTimeOfDay'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'tdb_wrap_open'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'string_term_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'make_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_tdb'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_hash_size'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_flags'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_unix'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'loadparm_init_s3'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'become_root'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'unbecome_root'
| collect2: error: ld returned 1 exit status
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'generate_random_buffer'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'GetTimeOfDay'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'tdb_wrap_open'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'string_term_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_tdb'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_hash_size'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_flags'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_unix'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'loadparm_init_s3'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'become_root'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'unbecome_root'
| collect2: error: ld returned 1 exit status
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbghdrclass'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbgtext'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'DEBUGLEVEL_CLASS'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'generate_random_buffer'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'GetTimeOfDay'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'tdb_wrap_open'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'string_term_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'make_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_tdb'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_hash_size'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_flags'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_unix'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'loadparm_init_s3'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'become_root'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'unbecome_root'
| collect2: error: ld returned 1 exit status
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbghdrclass'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbgtext'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'DEBUGLEVEL_CLASS'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'generate_random_buffer'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'GetTimeOfDay'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'tdb_wrap_open'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'string_term_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'make_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_tdb'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_hash_size'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_flags'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_unix'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'loadparm_init_s3'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'become_root'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'unbecome_root'
| collect2: error: ld returned 1 exit status
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbghdrclass'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbgtext'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'DEBUGLEVEL_CLASS'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'generate_random_buffer'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'GetTimeOfDay'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'tdb_wrap_open'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'string_term_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'make_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_tdb'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_hash_size'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_flags'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_unix'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'loadparm_init_s3'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'become_root'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'unbecome_root'
| collect2: error: ld returned 1 exit status
| Waf: Leaving directory
`/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-angstrom-linux-gnueabi/samba/4.4.5-r0/samba-4.4.5/bin'
| Build failed:
|  -> task failed (err #1):
|     {task: cc_link vlp_232.o -> vlp}
|  -> task failed (err #1):
|     {task: cc_link notifydd_4.o,notifyd_1.o -> notifydd}
|  -> task failed (err #1):
|     {task: cc_link msgtest_192.o -> msgtest}
|  -> task failed (err #1):
|     {task: cc_link msg_sink_194.o -> msg_sink}
|  -> task failed (err #1):
|     {task: cc_link tests_2.o -> notifyd-tests}
|  -> task failed (err #1):
|     {task: cc_link version_test_218.o -> versiontest}
| WARNING: /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-angstrom-linux-gnueabi/samba/4.4.5-r0/temp/run.do_compile.20288:1
exit 1 from 'python ./buildtools/bin/waf -j8'
| ERROR: Function failed: do_compile (log file is located at
/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-angstrom-linux-gnueabi/samba/4.4.5-r0/temp/log.do_compil


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 5/5] samba: fix build by linking with bfd instead of gold
  2016-09-06 21:29     ` Andreas Müller
@ 2016-09-07 16:51       ` Khem Raj
  2016-09-07 20:07         ` Andreas Müller
  0 siblings, 1 reply; 11+ messages in thread
From: Khem Raj @ 2016-09-07 16:51 UTC (permalink / raw)
  To: OpenEmbedded Devel List

[-- Attachment #1: Type: text/plain, Size: 12133 bytes --]


> On Sep 6, 2016, at 2:29 PM, Andreas Müller <schnitzeltony@googlemail.com> wrote:
> 
> On Tue, Sep 6, 2016 at 8:28 PM, Khem Raj <raj.khem@gmail.com> wrote:
>> 
>>> On Sep 4, 2016, at 1:15 PM, Andreas Müller <schnitzeltony@googlemail.com> wrote:
>>> 
>>> Use this workaround as long as there is no better (upstream) fix
>>> 
>>> Signed-off-by: Andreas Müller <schnitzeltony@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)}”
>> 
>> 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 ?


> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'dbgtext'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'DEBUGLEVEL_CLASS'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'generate_random_buffer'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'GetTimeOfDay'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'tdb_wrap_open'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'string_term_tdb_data'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'make_tdb_data'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'map_nt_error_from_tdb'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'lpcfg_tdb_hash_size'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'lpcfg_tdb_flags'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'map_nt_error_from_unix'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'loadparm_init_s3'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'become_root'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'unbecome_root'
> | collect2: error: ld returned 1 exit status
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'dbghdrclass'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'dbgtext'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'DEBUGLEVEL_CLASS'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'generate_random_buffer'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'GetTimeOfDay'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'tdb_wrap_open'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'string_term_tdb_data'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'make_tdb_data'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'map_nt_error_from_tdb'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'lpcfg_tdb_hash_size'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'lpcfg_tdb_flags'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'map_nt_error_from_unix'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'loadparm_init_s3'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'become_root'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'unbecome_root'
> | collect2: error: ld returned 1 exit status
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'generate_random_buffer'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'GetTimeOfDay'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'tdb_wrap_open'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'string_term_tdb_data'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'map_nt_error_from_tdb'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'lpcfg_tdb_hash_size'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'lpcfg_tdb_flags'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'map_nt_error_from_unix'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'loadparm_init_s3'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'become_root'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'unbecome_root'
> | collect2: error: ld returned 1 exit status
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'dbghdrclass'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'dbgtext'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'DEBUGLEVEL_CLASS'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'generate_random_buffer'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'GetTimeOfDay'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'tdb_wrap_open'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'string_term_tdb_data'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'make_tdb_data'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'map_nt_error_from_tdb'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'lpcfg_tdb_hash_size'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'lpcfg_tdb_flags'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'map_nt_error_from_unix'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'loadparm_init_s3'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'become_root'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'unbecome_root'
> | collect2: error: ld returned 1 exit status
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'dbghdrclass'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'dbgtext'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'DEBUGLEVEL_CLASS'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'generate_random_buffer'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'GetTimeOfDay'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'tdb_wrap_open'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'string_term_tdb_data'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'make_tdb_data'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'map_nt_error_from_tdb'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'lpcfg_tdb_hash_size'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'lpcfg_tdb_flags'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'map_nt_error_from_unix'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'loadparm_init_s3'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'become_root'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'unbecome_root'
> | collect2: error: ld returned 1 exit status
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'dbghdrclass'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'dbgtext'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'DEBUGLEVEL_CLASS'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'generate_random_buffer'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'GetTimeOfDay'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'tdb_wrap_open'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'string_term_tdb_data'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'make_tdb_data'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'map_nt_error_from_tdb'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'lpcfg_tdb_hash_size'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'lpcfg_tdb_flags'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'map_nt_error_from_unix'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'loadparm_init_s3'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'become_root'
> | default/source3/libsamba-cluster-support-samba4.so: error: undefined
> reference to 'unbecome_root'
> | collect2: error: ld returned 1 exit status
> | Waf: Leaving directory
> `/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-angstrom-linux-gnueabi/samba/4.4.5-r0/samba-4.4.5/bin'
> | Build failed:
> |  -> task failed (err #1):
> |     {task: cc_link vlp_232.o -> vlp}
> |  -> task failed (err #1):
> |     {task: cc_link notifydd_4.o,notifyd_1.o -> notifydd}
> |  -> task failed (err #1):
> |     {task: cc_link msgtest_192.o -> msgtest}
> |  -> task failed (err #1):
> |     {task: cc_link msg_sink_194.o -> msg_sink}
> |  -> task failed (err #1):
> |     {task: cc_link tests_2.o -> notifyd-tests}
> |  -> task failed (err #1):
> |     {task: cc_link version_test_218.o -> versiontest}
> | WARNING: /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-angstrom-linux-gnueabi/samba/4.4.5-r0/temp/run.do_compile.20288:1
> exit 1 from 'python ./buildtools/bin/waf -j8'
> | ERROR: Function failed: do_compile (log file is located at
> /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-angstrom-linux-gnueabi/samba/4.4.5-r0/temp/log.do_compil
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 5/5] samba: fix build by linking with bfd instead of gold
  2016-09-07 16:51       ` Khem Raj
@ 2016-09-07 20:07         ` Andreas Müller
  0 siblings, 0 replies; 11+ messages in thread
From: Andreas Müller @ 2016-09-07 20:07 UTC (permalink / raw)
  To: openembedded-devel

On Wed, Sep 7, 2016 at 6:51 PM, Khem Raj <raj.khem@gmail.com> wrote:
>
>> On Sep 6, 2016, at 2:29 PM, Andreas Müller <schnitzeltony@googlemail.com> wrote:
>>
>> On Tue, Sep 6, 2016 at 8:28 PM, Khem Raj <raj.khem@gmail.com> wrote:
>>>
>>>> On Sep 4, 2016, at 1:15 PM, Andreas Müller <schnitzeltony@googlemail.com> wrote:
>>>>
>>>> Use this workaround as long as there is no better (upstream) fix
>>>>
>>>> Signed-off-by: Andreas Müller <schnitzeltony@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)}”
>>>
>>> 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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 5/5] samba: fix build by linking with bfd instead of gold
  2016-09-04 20:15 ` [PATCH 5/5] samba: fix build by linking with bfd instead of gold Andreas Müller
  2016-09-06 18:28   ` Khem Raj
@ 2016-09-11 12:05   ` Andreas Müller
  2016-09-12  1:35     ` Huang, Jie (Jackie)
  1 sibling, 1 reply; 11+ messages in thread
From: Andreas Müller @ 2016-09-11 12:05 UTC (permalink / raw)
  To: openembedded-devel

On Sun, Sep 4, 2016 at 10:15 PM, Andreas Müller
<schnitzeltony@googlemail.com> wrote:
> Use this workaround as long as there is no better (upstream) fix
>
> Signed-off-by: Andreas Müller <schnitzeltony@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

=> I would like to send a patch changing to bfd linker only on arm.
Against which branch shall I create this patch?

Andreas


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 5/5] samba: fix build by linking with bfd instead of gold
  2016-09-11 12:05   ` Andreas Müller
@ 2016-09-12  1:35     ` Huang, Jie (Jackie)
  0 siblings, 0 replies; 11+ messages in thread
From: Huang, Jie (Jackie) @ 2016-09-12  1:35 UTC (permalink / raw)
  To: Joe MacDonald (Joe_MacDonald@mentor.com),
	Asselstine, Mark, Andreas Müller
  Cc: openembedded-devel



> -----Original Message-----
> From: openembedded-devel-bounces@lists.openembedded.org [mailto:openembedded-devel-
> bounces@lists.openembedded.org] On Behalf Of Andreas Müller
> Sent: Sunday, September 11, 2016 8:06 PM
> To: openembedded-devel@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@googlemail.com> wrote:
> > Use this workaround as long as there is no better (upstream) fix
> >
> > Signed-off-by: Andreas Müller <schnitzeltony@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-09-12  1:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-04 20:15 [PATCH 1/5] pavucontrol: replace intltool by intltool-native in DEPENDS Andreas Müller
2016-09-04 20:15 ` [PATCH 2/5] libgsf: add intltool-native to DEPENDS Andreas Müller
2016-09-04 20:15 ` [PATCH 3/5] libgnome: " Andreas Müller
2016-09-04 20:15 ` [PATCH 4/5] gtkmathview: unbreak gcc-6 build and unblacklist Andreas Müller
2016-09-04 20:15 ` [PATCH 5/5] samba: fix build by linking with bfd instead of gold Andreas Müller
2016-09-06 18:28   ` Khem Raj
2016-09-06 21:29     ` Andreas Müller
2016-09-07 16:51       ` Khem Raj
2016-09-07 20:07         ` Andreas Müller
2016-09-11 12:05   ` Andreas Müller
2016-09-12  1:35     ` Huang, Jie (Jackie)

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.