diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2021-06-08 14:02:02 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-06-09 08:49:20 -0700 |
commit | 833919c1e93dbeb574ba56b52437d789f2070996 (patch) | |
tree | e6d17878251f9af749e10fe7d57fab5b174ca881 /meta-networking/recipes-connectivity/dhcp | |
parent | ca31e8057a181ad8e1a41ce98cacddc36e810f92 (diff) | |
download | meta-openembedded-833919c1e93dbeb574ba56b52437d789f2070996.tar.gz |
dhcp-relay: disable backtrace in bundled bind
Disable backtrace in bundled bind to fix build error for qemuarm on
musl.
Fixes:
bind/bind-9.11.32/lib/isc/.libs/libisc.so: undefined reference to `_Unwind_GetIP'
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-connectivity/dhcp')
-rw-r--r-- | meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.2.bb | 1 | ||||
-rw-r--r-- | meta-networking/recipes-connectivity/dhcp/files/0003-bind-Makefile.in-disable-backtrace.patch | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.2.bb b/meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.2.bb index 671fbf054e..563a6180c4 100644 --- a/meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.2.bb +++ b/meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.2.bb | |||
@@ -17,6 +17,7 @@ SRC_URI = "https://ftp.isc.org/isc/dhcp/${PV}/dhcp-${PV}.tar.gz \ | |||
17 | file://dhcrelay.service \ | 17 | file://dhcrelay.service \ |
18 | file://0001-Makefile.am-only-build-dhcrelay.patch \ | 18 | file://0001-Makefile.am-only-build-dhcrelay.patch \ |
19 | file://0002-bind-version-update-to-latest-version.patch \ | 19 | file://0002-bind-version-update-to-latest-version.patch \ |
20 | file://0003-bind-Makefile.in-disable-backtrace.patch \ | ||
20 | " | 21 | " |
21 | 22 | ||
22 | SRC_URI[md5sum] = "2afdaf8498dc1edaf3012efdd589b3e1" | 23 | SRC_URI[md5sum] = "2afdaf8498dc1edaf3012efdd589b3e1" |
diff --git a/meta-networking/recipes-connectivity/dhcp/files/0003-bind-Makefile.in-disable-backtrace.patch b/meta-networking/recipes-connectivity/dhcp/files/0003-bind-Makefile.in-disable-backtrace.patch new file mode 100644 index 0000000000..51520bc621 --- /dev/null +++ b/meta-networking/recipes-connectivity/dhcp/files/0003-bind-Makefile.in-disable-backtrace.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From bc9c5d64ad4829c7830ef70fcaff94470974247c Mon Sep 17 00:00:00 2001 | ||
2 | From: Yi Zhao <yi.zhao@windriver.com> | ||
3 | Date: Tue, 8 Jun 2021 10:13:57 +0800 | ||
4 | Subject: [PATCH] bind/Makefile.in: disable backtrace | ||
5 | |||
6 | Fixes build error for qemuarm on musl: | ||
7 | libisc.so: undefined reference to `_Unwind_GetIP' | ||
8 | |||
9 | Upstream-Status: Inappropriate [embedded specific] | ||
10 | |||
11 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
12 | --- | ||
13 | bind/Makefile.in | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/bind/Makefile.in b/bind/Makefile.in | ||
17 | index 8fe8883..1058160 100644 | ||
18 | --- a/bind/Makefile.in | ||
19 | +++ b/bind/Makefile.in | ||
20 | @@ -22,7 +22,7 @@ prefix = @prefix@ | ||
21 | exec_prefix = @exec_prefix@ | ||
22 | |||
23 | bindconfig = --without-openssl --without-libxml2 --without-libjson \ | ||
24 | - --without-gssapi --disable-threads --without-lmdb \ | ||
25 | + --without-gssapi --disable-threads --without-lmdb --disable-backtrace \ | ||
26 | --includedir=@includedir@ --libdir=@libdir@ --without-python\ | ||
27 | @BINDLT@ @BINDIOMUX@ @BINDCONFIG@ --enable-full-report | ||
28 | |||
29 | -- | ||
30 | 2.17.1 | ||
31 | |||