<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small"><span style="background-color:rgb(255,255,255)"><font color="#000000">Hi,</font></span></div><div class="gmail_default" style="font-size:small"><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div class="gmail_default" style="font-size:small"><span style="background-color:rgb(255,255,255)"><font color="#000000">After upgrading openssl to 3.0.7 from 1.1.1 , I see below errors.</font></span></div><div class="gmail_default" style="font-size:small"><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div class="gmail_default"><div class="gmail_default" style="font-size:small"><span style="background-color:rgb(255,255,255)"><font color="#000000">libcrypto.so: undefined reference to `__atomic_is_lock_free'</font></span></div><div class="gmail_default" style="font-size:small"><span style="background-color:rgb(255,255,255)"><font color="#000000">libcrypto.so: undefined reference to `__atomic_fetch_or_8'</font></span></div><div class="gmail_default" style="font-size:small"><span style="background-color:rgb(255,255,255)"><font color="#000000">libcrypto.so: undefined reference to `__atomic_load_8'</font></span></div><div class="gmail_default" style="font-size:small"><span style="background-color:rgb(255,255,255)"><font color="#000000">libcrypto.so: undefined reference to `__atomic_fetch_add_8'</font></span></div><div style="font-size:small"><span style="background-color:rgb(255,255,255)"><font color="#000000">I tried  this patch, still seeing the same errors .</font></span></div><div style="font-size:small"><span style="background-color:rgb(255,255,255)"><font color="#000000"><a href="https://github.com/openssl/openssl/pull/16584/files">Prevent Clang from emitting atomic libcalls by xtkoba · Pull Request #16584 · openssl/openssl · GitHub</a><br></font></span></div><div style="font-size:small"><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><font face="arial, sans-serif">If we define "<span style="white-space:break-spaces">-DBROKEN_CLANG_ATOMICS" , it works. W</span></font></font></span><span style="color:rgb(0,0,0)">hat is the impact </span><font color="#000000"><font face="arial, sans-serif"><span style="white-space:break-spaces">I</span></font>f we define "<span style="font-family:arial,sans-serif;white-space:break-spaces">BROKEN_CLANG_ATOMICS".</span></font></div><div style="font-size:small"><span style="font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;font-size:11.9px;white-space:break-spaces;background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div style="font-size:small"><span style="background-color:rgb(255,255,255)"><font color="#000000">Can someone please suggest the correct way? </font></span></div><div style="font-size:small"><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div style="font-size:small"><span style="background-color:rgb(255,255,255)"><font color="#000000">Thanks & Regards,<br></font></span></div></div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><span style="background-color:rgb(255,255,255)"><font color="#000000">Samiya khanum</font></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div>

<br>
<span style="background-color:rgb(255,255,255)"><font size="2">This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.</font></span>