<p>Hoernchen <strong>uploaded patch set #3</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/17793">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">configure.ac: fix libtool issue  with clang and sanitizer<br><br>As pointed out at https://github.com/libexpat/libexpat/issues/312<br>libtool does not play nice with clang sanitizer builds at all.<br>For those builds LD shoud be set to clang too (and LDFLAGS needs the<br>sanitizer flags as well), because the clang compiler driver knows how<br>linking to the sanitizer libs works, but then at a later stage libtool<br>fails to actually produce the shared libraries and the build fails. This<br>is fixed by this patch.<br><br>Addtionally LD_LIBRARY_PATH has no effect on conftest runs during<br>configure time, so the rpath needs to be set to the asan library path to<br>ensure the configure run does not fail due to a missing asan library,<br>i.e.:<br><br>SANS='-fsanitize=memory -fsanitize-recover=all -shared-libsan'<br>export CC=clang-10<br>ASANPATH=$(dirname `$CC -print-file-name=libclang_rt.asan-x86_64.so`)<br>export LDFLAGS="-Wl,-rpath,$ASANPATH $SANS $LDFLAGS"<br><br>Change-Id: If71654d87b375b4b882ab527e89353cd035f695b<br>---<br>M configure.ac<br>1 file changed, 5 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/93/17793/3</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/17793">change 17793</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/osmo-bsc/+/17793"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: If71654d87b375b4b882ab527e89353cd035f695b </div>
<div style="display:none"> Gerrit-Change-Number: 17793 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Hoernchen <ewild@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>