<html><head></head><body><div class="ydp55532590yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><span><div class="ydp516b856emsg-body ydp516b856eP_wpofO ydp516b856eiy_A" data-test-id="message-view-body-content"><div class="ydp516b856ejb_0 ydp516b856eX_6MGW ydp516b856eN_6Fd5"><div><div class="ydp9fd58c5eyahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">Hi,</div><div class="ydp9fd58c5eyahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><br></div><div class="ydp9fd58c5eyahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">The purpose is to compile squid to get HTTPS or SSL with bump support, on Debian 10 (Buster).</div><div class="ydp9fd58c5eyahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><br></div><div class="ydp9fd58c5eyahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">After trying to compile squid-4-5 with clang (<span>clang version 7.0.1-4 (tags/RELEASE_701/final)</span>), it doesn't work. <br></div><div class="ydp9fd58c5eyahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><br></div><div class="ydp9fd58c5eyahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><span>Target: x86_64-pc-linux-gnu<br>Thread model: posix<br>InstalledDir: /usr/bin<br>Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/6<br>Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/6.5.0<br>Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/7<br>Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/7.4.0<br>Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/8<br>Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6<br>Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6.5.0<br>Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7<br>Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.4.0<br>Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8<br>Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/8<br>Candidate multilib: .;@m64<br>Candidate multilib: 32;@m32<br>Candidate multilib: x32;@mx32<br>Selected multilib: .;@m64<br><br></span><div>The command ./configure is followed by the options:</div><div><br></div><div><span>--enable-ssl
--enable-ssl-crtd --localstatedir=/var --datadir=/usr/share/squid
--sysconfdir=/etc/squid --libexecdir=/usr/lib/squid
--mandir=/usr/share/man --enable-inline --disable-arch-native
--enable-async-io=8 --enable-storeio="ufs,aufs,diskd,rock"
--enable-removal-policies="lru,heap" --enable-delay-pools
--enable-cache-digests --enable-icap-client
--enable-follow-x-forwarded-for
--enable-auth-basic="DB,fake,getpwnam,LDAP,NCSA,NIS,PAM,POP3,RADIUS,SASL,SMB"
--enable-auth-digest="file,LDAP"
--enable-auth-negotiate="kerberos,wrapper"
--enable-auth-ntlm="fake,SMB_LM"
--enable-external-acl-helpers="file_userip,kerberos_ldap_group,LDAP_group,session,SQL_session,time_quota,unix_group,wbinfo_group"
--enable-security-cert-validators="fake"
--enable-storeid-rewrite-helpers="file"
--enable-url-rewrite-helpers="fake" --enable-eui --enable-esi
--enable-icmp --enable-zph-qos --enable-ecap --disable-translation
--with-swapdir=/var/spool/squid --with-logdir=/var/log/squid
--with-pidfile=/var/run/squid.pid --with-filedescriptors=65536
--with-large-files --with-default-user=proxy --with-gnutls
--with-openssl<br><br></span><div>The option <span><span>--with-openssl</span></span> is added because the output of ./configure ... says to add it for ssl support.<br></div><div><br></div></div></div><div class="ydp9fd58c5eyahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">The
Makefile is modified so each line with gcc is replaced with clang and
each line of g++ replaced with clang++. But gcc is still used.</div><div class="ydp9fd58c5eyahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><br></div><div class="ydp9fd58c5eyahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">Some of these:</div><div class="ydp9fd58c5eyahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><br></div><div class="ydp9fd58c5eyahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><span>
<p style="margin-bottom: 0cm; line-height: 100%">CC = clang</p>
<p style="margin-bottom: 0cm; line-height: 100%">CCDEPMODE =
depmode=gcc3</p>
<p style="margin-bottom: 0cm; line-height: 100%">CFLAGS = -m64 -Wall
-g -O2</p>
<p style="margin-bottom: 0cm; line-height: 100%">CGIEXT = .cgi</p>
<p style="margin-bottom: 0cm; line-height: 100%">CHMOD = /bin/chmod</p>
<p style="margin-bottom: 0cm; line-height: 100%">CPP = clang -E</p>
<p style="margin-bottom: 0cm; line-height: 100%">CPPFLAGS =
-I/usr/include/libxml2</p>
<p style="margin-bottom: 0cm; line-height: 100%">CRYPTLIB = -lcrypt</p>
<p style="margin-bottom: 0cm; line-height: 100%">CXX = clang++</p>
<p style="margin-bottom: 0cm; line-height: 100%">CXXCPP = clang++ -E</p>
<p style="margin-bottom: 0cm; line-height: 100%">CXXDEPMODE =
depmode=gcc3</p>
</span><div><div><span><p style="margin-bottom: 0cm; line-height: 100%">CXXFLAGS = -m64
-I/usr/include/p11-kit-1 -g -O2</p><p style="margin-bottom: 0cm; line-height: 100%"><br></p></span></div><span></span></div><span></span><div><br></div><div>I'm doing something wrong, but don't see where.</div><div><br></div><div>Thanks in advance for any help.<br></div></div><div class="ydp9fd58c5eyahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><br></div></div></div></div></span></div></body></html>