<p>pespin <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/meta-telephony/+/23844">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  fixeria: Looks good to me, but someone else must approve
  pespin: Looks good to me, approved; Verified

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">libosmocore: Avoid use --disable-detect-tls-gcc-arm-bug<br><br>Related: OS#5079<br>Change-Id: I74cfbc784e2330837a3b165b0f3a62dc6c4ce274<br>---<br>M recipes-osmocom/libosmocore/libosmocore_git.bb<br>1 file changed, 10 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/recipes-osmocom/libosmocore/libosmocore_git.bb b/recipes-osmocom/libosmocore/libosmocore_git.bb</span><br><span>index 9717511..062fb20 100644</span><br><span>--- a/recipes-osmocom/libosmocore/libosmocore_git.bb</span><br><span>+++ b/recipes-osmocom/libosmocore/libosmocore_git.bb</span><br><span>@@ -4,7 +4,7 @@</span><br><span> SRCREV = "1.5.1"</span><br><span> SRC_URI = "git://git.osmocom.org/libosmocore.git;protocol=git;tag=${SRCREV};nobranch=1"</span><br><span> PV = "1.5.1+gitr${SRCPV}"</span><br><span style="color: hsl(0, 100%, 40%);">-PR = "${INC_PR}.0"</span><br><span style="color: hsl(120, 100%, 40%);">+PR = "${INC_PR}.1"</span><br><span> </span><br><span> PACKAGES =+ "libosmoctrl libosmocodec libosmogb libosmogsm libosmovty osmo-arfcn osmo-auc-gen osmo-config-merge"</span><br><span> FILES_libosmoctrl = "${libdir}/libosmoctrl${SOLIBS}"</span><br><span>@@ -36,4 +36,12 @@</span><br><span> # we are not affected by the bug, we are fine with that. If the toolchain had</span><br><span> # the TLS runtime bug, then we'd had to build with -O0. Can be probably dropped</span><br><span> # once we move to newer toolchain.</span><br><span style="color: hsl(0, 100%, 40%);">-EXTRA_OECONF +=  "--disable-detect-tls-gcc-arm-bug"</span><br><span style="color: hsl(120, 100%, 40%);">+#EXTRA_OECONF +=  "--disable-detect-tls-gcc-arm-bug"</span><br><span style="color: hsl(120, 100%, 40%);">+# UPDATE: OS#5079: we stop using "--disable-detect-tls-gcc-arm-bug" because we</span><br><span style="color: hsl(120, 100%, 40%);">+# finally hit the TLS bug in sysmobts (osmo-bts-symo calling osmo_str_tolower()</span><br><span style="color: hsl(120, 100%, 40%);">+# which uses "static __thread char capsbuf"). As a result, the only option would</span><br><span style="color: hsl(120, 100%, 40%);">+# be to use -O0 when building libosmocore with the sysmobts toolchain. In order</span><br><span style="color: hsl(120, 100%, 40%);">+# to avoid that, we take advantage of the fact that no libosmocore multi-thread</span><br><span style="color: hsl(120, 100%, 40%);">+# process is expected to run there and simply drop all the "__thread"</span><br><span style="color: hsl(120, 100%, 40%);">+# references when building for sysmobts. That's done as a machine-specific</span><br><span style="color: hsl(120, 100%, 40%);">+# bbappend in meta-sysmocom-bsp.</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/meta-telephony/+/23844">change 23844</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/meta-telephony/+/23844"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: meta-telephony </div>
<div style="display:none"> Gerrit-Branch: 201705 </div>
<div style="display:none"> Gerrit-Change-Id: I74cfbc784e2330837a3b165b0f3a62dc6c4ce274 </div>
<div style="display:none"> Gerrit-Change-Number: 23844 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>