Possible bug with file-descriptor parameter in configure of squid-6.0.0-20221210-r71f62e86e
infant vinay <[email protected]> Fri, 23 Dec 2022 21:29:42 +0000 (UTC)
| Newsgroups | gmane.comp.web.squid.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi I am trying to compile squid release squid-6.0.0-20221210-r71f62e86e downloaded from here http://www.squid-cache.org/Versions/v6/squid-6.0.0-20221210-r71f62e86e.tar.bz2 I am using the same configure option I have used for at least 2+ years now which includes the --with-filedescriptors=4096 option in it. The options are further down below. Until the most recent version of this release in Sep 2022 I have never seen any errors during configure However in the Dec 2022 release, I see the following error checking for main in -lmalloc... no checking for library containing log... -lm configure: error: --with-filedescriptors expects a numeric argument Configure option used is ./configure --prefix=/opt/squid --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --enable-removal-policies=heap,lru --enable-ssl --enable--storeio=aufs,diskd,ufs,rock --enable-diskio --with-aio --with-default-user=squid --with-pthreads --disable-arch-native --disable-ipv6 --enable-xmalloc-statistics --enable-delay-pools --disable-snmp --with-filedescriptors=4096 CFLAGS and CXXFLAGS set are -O3 -march=znver2 -pthread I have ensured that the ulimit -n for the root user I use for compile is set to 8192 and I am not sure what else to do. squid-6.0.0-20221210-r71f62e86e]# ulimit -n 8192 OS is Fedora Core rawhide (v38) - as I said this has worked until the previous squid version released in Sep 2022 on the same OS and same hardware. Attaching the running version of squid info here squid-6.0.0-20221210-r71f62e86e]# /opt/squid/sbin/squid -v Squid Cache: Version 6.0.0-20220905-r9358e99f9 Service Name: squid configure options: '--prefix=/opt/squid' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--enable-removal-policies=heap,lru' '--enable-ssl' '--enable--storeio=aufs,diskd,ufs,rock' '--enable-diskio' '--with-aio' '--with-default-user=squid' '--with-pthreads' '--disable-arch-native' '--disable-ipv6' '--enable-xmalloc-statistics' '--with-filedescriptors=4096' '--enable-delay-pools' '--disable-snmp' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-O3 -march=znver2 -pthread' 'CXXFLAGS=-O3 -march=znver2 -pthread' --enable-ltdl-convenience I am not sure what else you need. Please do ask if you need. I will attach the config.log file here too if that helps you. Thanks for verifying if this is a bug. If there is an error from my side, I am ok to be pointed out by you as to what is wrong. - Infant V Patrick
config.log
(text/x-log, 738.5 KB) - not displayed