Source: pcre3 Severity: serious Tags: patch Justification: fails to build from source
Dear Maintainer, The package fails to build on hurd because the pthread stack size in only 2024 kb instead of the 8192 kb that linux has. Would it be a good idea to use the heap instead of the stack to fix this? The attached jit-test file that replaces your already existing jit-test file in the debian/ folder sends --disable-stack-for-recursion to the configure script on hurd systems. -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores) Locale: LANG=is_IS.utf8, LC_CTYPE=is_IS.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
#!/bin/sh arch=$(dpkg-architecture -qDEB_HOST_GNU_TYPE) os=$(dpkg-architecture -qDEB_HOST_ARCH_OS) $arch-gcc debian/jit-test.c -o/dev/null if [ $? -eq 0 ]; then echo "--enable-jit" fi if [ $os = 'hurd' ]; then echo " --disable-stack-for-recursion" fi