Hi All I’m trying to compile and install deb package of squid 6.4, I am using the Ubuntu server 22.04.02 as my build machine.
While running make command, I get the following error. Could you anyone help me, figure it out. lto-wrapper: warning: using serial compilation of 100 LTRANS jobs acl/BoolOps.cc: In member function '__ct_base ': acl/BoolOps.cc:20:5: error: '__builtin_strlen' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread] 20 | Must(strlen(acl->name) <= sizeof(name)-2); | ^ lto1: all warnings being treated as errors lto-wrapper: fatal error: g++ returned 1 exit status compilation terminated. /usr/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status libtool: link: rm -f ".libs/squidS.o" make[3]: *** [Makefile:5220: squid] Error 1 make[3]: Leaving directory '/home/coeadmin/squid-6.4-build1/squid-6.4/src' make[2]: *** [Makefile:6004: all-recursive] Error 1 make[2]: Leaving directory '/home/coeadmin/squid-6.4-build1/squid-6.4/src' make[1]: *** [Makefile:5004: all] Error 2 make[1]: Leaving directory '/home/coeadmin/squid-6.4-build1/squid-6.4/src' make: *** [Makefile:599: all-recursive] Error 1 Steps I followed.
--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,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=/run/squid.pid \ --with-filedescriptors=65536 \ --with-large-files \ --with-default-user=proxy \ --enable-linux-netfilter --with-systemd \ --with-openssl \ --enable-ssl-crtd
Please let me know if more information is required |
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx https://lists.squid-cache.org/listinfo/squid-users