Change in osmo-ccid-firmware[master]: contrib/jenkins.sh: Disable thread-local storage in libosmocore

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Thu Jul 30 20:00:21 UTC 2020


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/19464 )


Change subject: contrib/jenkins.sh: Disable thread-local storage in libosmocore
......................................................................

contrib/jenkins.sh: Disable thread-local storage in libosmocore

Let's disable thread-local-storage by re-defining __thread in the
pre-processor.  This is required at least on Debian unstable to
get a sysmoOCTSIM build without any missing symbols to __tls_get_addr.

Change-Id: Ie75fb7e71b316be164ed69d832ffcf2bd1a04fb7
---
M contrib/jenkins.sh
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/64/19464/1

diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index c28f550..35625f1 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -43,7 +43,8 @@
 ./configure	--enable-static --prefix="$inst/stow/libosmocore" --host=arm-none-eabi \
 		--enable-embedded --disable-doxygen --disable-shared --disable-pseudotalloc \
 		--disable-libsctp --disable-libusb --disable-gb --enable-external-tests \
-		CFLAGS="-Os -ffunction-sections -fdata-sections -nostartfiles -nodefaultlibs -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations -Wno-error=cpp -mthumb -Os -mlong-calls -g3 -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -I /home/laforge/projects/git/osmo-ccid-firmware/sysmoOCTSIM -Wno-error=format"
+		CFLAGS="-Os -ffunction-sections -fdata-sections -nostartfiles -nodefaultlibs -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations -Wno-error=cpp -mthumb -Os -mlong-calls -g3 -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -I /home/laforge/projects/git/osmo-ccid-firmware/sysmoOCTSIM -Wno-error=format" \
+		CPPFLAGS="-D__thread=''"
 make $PARALLEL_MAKE install
 make clean
 STOW_DIR="$inst/stow" stow --restow libosmocore

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/19464
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: Ie75fb7e71b316be164ed69d832ffcf2bd1a04fb7
Gerrit-Change-Number: 19464
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200730/c6807dd2/attachment.htm>


More information about the gerrit-log mailing list