Open ingvarha opened 3 months ago
This hits arm32 and arm64 as well
and ppc64le
Also similar, on ppc64le, in tests/r04036.vtc:
Error: -sfile too small for this architecture, minimum size is 8 MB
Changing malloc setting to file,8M
fixes that. I don't know if this could be a general or arch specific change. I made it arch specific in the fedora rpm.
I suspect hardening flags to play a role in at least increased stack usage.
$ rpm --eval %build_cflags
-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
What happens if you try to rebuild 7.4.2 in the same build environments?
I did that for fedora-40. I can try again, in case the builders have changed.
Expected Behavior
Varnish should run the whole test/regression suite on all platforms
Current Behavior
Several tests in the test suite fail. Example: 01878.vtc
Possible Solution
Upping thread_pool_stack from 80k to 128k seems to fix problems.
Steps to Reproduce (for bugs)
Context
This is just for regression testing. I presume no one in their right mind would use varnish in producton on 32bit ppc. But hey, who knows? Update: Also visible on aarch64 and ppc64le
Varnish Cache version
varnish-7.5.0
Operating system
Debian 6.0 (trixie/sid) / ppc32
Source of binary packages used (if any)
No response