[Bug 44171] New: PTHREAD_STACK_MIN breaks build on GNU hurd

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Dec 14 12:06:47 CST 2017


https://bugs.winehq.org/show_bug.cgi?id=44171

            Bug ID: 44171
           Summary: PTHREAD_STACK_MIN breaks build on GNU hurd
           Product: Wine
           Version: 2.22
          Hardware: x86
               URL: https://buildd.debian.org/status/fetch.php?pkg=wine-de
                    velopment&arch=hurd-i386&ver=3.0%7Erc1-1&stamp=1512878
                    037&raw=0
                OS: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ntdll
          Assignee: wine-bugs at winehq.org
          Reporter: jre.winesim at gmail.com
   Regression SHA1: 9e093936e27a29993979f36c18d6c627e36bd737

Since Wine 2.22 the build on GNU hurd fails, because 9e09393 introduced
PTHREAD_STACK_MIN which is not defined there.  The hurd uses fixed sized
stacks.


make[2]: Entering directory '/<<PKGBUILDDIR>>/dlls/ntdll'
[...]
gcc -c -o thread.o thread.c -I. -I../../include -D__WINESRC__ -D_NTSYSTEM_
-D_REENTRANT -fPIC -Wall \
  -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body
-Wignored-qualifiers \
  -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits
\
  -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op
-gdwarf-2 \
  -gstrict-dwarf -fno-omit-frame-pointer -Werror -Wdate-time -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wno-error
thread.c: In function 'RtlCreateUserThread':
thread.c:618:39: error: 'PTHREAD_STACK_MIN' undeclared (first use in this
function); did you mean '_SC_THREAD_STACK_MIN'?
     pthread_attr_setstacksize( &attr, PTHREAD_STACK_MIN );
                                       ^~~~~~~~~~~~~~~~~
                                       _SC_THREAD_STACK_MIN



A link to the whole build log is in the URL field, a list of all hurd build
logs is at:
https://buildd.debian.org/status/logs.php?pkg=wine-development&arch=hurd-i386

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list