Pau Espin Pedrol has submitted this change and it was merged.
Change subject: libosmo-sccp: Attempt to fix link issue on 201705-nightly builds
......................................................................
libosmo-sccp: Attempt to fix link issue on 201705-nightly builds
This project will build some static libraries needed for testing
and also for downstream users. Do not disable the static build on
newer Poky versions.
arm-poky-linux-gnueabi-libtool: link: arm-poky-linux-gnueabi-gcc -march=armv5te
-marm
--sysroot=/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot
-Wall
-I/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot/usr/include/
-I/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot/usr/include/
-O2 -pipe -g -feliminate-unused-debug-types
-fdebug-prefix-map=/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1=/usr/src/debug/libosmo-sccp/git-r1.18.1
-fdebug-prefix-map=/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gn
ueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot-native=
-fdebug-prefix-map=/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot=
-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o xua_test xua_test.o
sccp_test_data.o ../../src/.libs/libosmo-sigtran.so -losmogsm -ltalloc
-losmovty -losmocore -losmonetif -lsctp
| xua_test.o: In function `test_helpers':
| /usr/src/debug/libosmo-sccp/git-r1.18.1/git/tests/xua/xua_test.c:160:
undefined reference to `xua_part_add_gt'
| /usr/src/debug/libosmo-sccp/git-r1.18.1/git/tests/xua/xua_test.c:168:
undefined reference to `sua_parse_gt'
| xua_test.o: In function `test_sccp2sua_case':
Change-Id: I80eea9ac888ab4b13614ff475bebacb94b72b0f2
---
M recipes-osmocom/libosmo-sccp/libosmo-sccp_git.bb
1 file changed, 4 insertions(+), 0 deletions(-)
Approvals:
Pau Espin Pedrol: Verified
Neels Hofmeyr: Looks good to me, but someone else must approve
Harald Welte: Looks good to me, approved
diff --git a/recipes-osmocom/libosmo-sccp/libosmo-sccp_git.bb
b/recipes-osmocom/libosmo-sccp/libosmo-sccp_git.bb
index 1ce9efc..3d55f69 100644
--- a/recipes-osmocom/libosmo-sccp/libosmo-sccp_git.bb
+++ b/recipes-osmocom/libosmo-sccp/libosmo-sccp_git.bb
@@ -5,6 +5,10 @@
SRC_URI = "git://git.osmocom.org/libosmo-sccp.git;protocol=git"
PR = "${INC_PR}.0"
+# we require the tests to link to the static libosmo-sigtran library to
+# access symbols not starting with osmo_*
+EXTRA_OECONF_remove = "--disable-static"
+
# because "${WORKDIR}/git" is not a git repo, it can't figure out the version
do_configure_prepend() {
echo "${PV}" > ${S}/.tarball-version
--
To view, visit https://gerrit.osmocom.org/4088
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I80eea9ac888ab4b13614ff475bebacb94b72b0f2
Gerrit-PatchSet: 2
Gerrit-Project: meta-telephony
Gerrit-Branch: 201705
Gerrit-Owner: Pau Espin Pedrol <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Holger Freyther <[email protected]>
Gerrit-Reviewer: Neels Hofmeyr <[email protected]>
Gerrit-Reviewer: Pau Espin Pedrol <[email protected]>