New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
squid: update to 5.7 #42054
squid: update to 5.7 #42054
Conversation
cross compile fails with:
|
This comment was marked as duplicate.
This comment was marked as duplicate.
@Vaelatern any ideas? |
Oi, oi, oi. The patch is so old, so you have to adjust it manually. Forgot to mention that, sorry. |
@kruceter Seems to be working, thank you! |
Alright, the problem here actually is |
Here is my proposal. 0001-fixup-squid-update-to-5.7-patch-for-cross-compile.txt BUILDCXX is set properly, obsolete/unnecessary flags are removed. |
Can you try upstreaming the proposed patch? I'd rather any build fix go upstream if we can... |
There is nothing to upstream here. It looks like |
fa03018
to
f6c8686
Compare
Would you mind to include this into the commit message? Thank you. * --sbindir is already defined in
common/environment/configure/gnu-configure-args.sh
* --enable-useragent-log and --enable-referer-log are obsolete since
version 3.2.0.4.
* --enable-arp-acl is gone
(squid-cache/squid@41b91720118a5cf1d0eb47fdb903a841f46bb750).
* --enable-carp is gone, CARP is compiled in
(squid-cache/squid@b2ea838f690d122679eeafda2ec30faadf1d5e82).
* --enable-truncate was removed upstream
(squid-cache/squid@b3fb907032613d7151410eceb4622bb43f5af6bc).
* squid_cv_gnu_atomics is replaced with c++11 std::atomic
(squid-cache/squid@ddd4edb743d82be97fc651d529e04bf55329a50d).
* squid_opt_enable_large_files is the duplicate of --with-large-files.
Apparently Juan RP (aka xtraeme) used this option back in 2016 to fix
cross build for arm* and glibc. Now that squid builds completely fine
without it, it is safe to assume this option is not needed anymore.
* define BUILDCXX properly (CXX_host cannot be set outside of
functions).
* CVE-2018-1000027 was fixed since version 4.0.23. |
* --sbindir is already defined in common/environment/configure/gnu-configure-args.sh * --enable-useragent-log and --enable-referer-log are obsolete since version 3.2.0.4. * --enable-arp-acl is gone (squid-cache/squid@41b9172). * --enable-carp is gone, CARP is compiled in (squid-cache/squid@b2ea838). * --enable-truncate was removed upstream (squid-cache/squid@b3fb907). * squid_cv_gnu_atomics is replaced with c++11 std::atomic (squid-cache/squid@ddd4edb). * squid_opt_enable_large_files is the duplicate of --with-large-files. Apparently Juan RP (aka xtraeme) used this option back in 2016 to fix cross build for arm* and glibc. Now that squid builds completely fine without it, it is safe to assume this option is not needed anymore. * define BUILDCXX properly (CXX_host cannot be set outside of functions). * CVE-2018-1000027 was fixed since version 4.0.23.
@kruceter Should I also acknowledge your contribution in some way? |
No need to do this. Thank you. |
seems to build fine with openssl 3 #37681