Hello, On 08/30/2017 06:14 PM, Uwe Kleine-König wrote: > Antoine Beaupre (on Cc:) noticed that sparse doesn't work on some not so > common architectures like ppc32le, s390x, ppc64 and sparc64[1]. This is > nicely catched by the testsuite, e.g.: > > [..] Just a heads up: I uploaded 0.5.2 to Debian and there are problems left on hurd-i386 (where PATH_MAX isn't defined[1]) and x32 where I get: env CHECK=./sparse ./cgcc -no-compile memops.c /usr/include/x86_64-linux-gnux32/gnu/stubs.h:10:12: error: unable to open 'gnu/stubs-64.h' The stubs.h file looks as follows: #if !defined __x86_64__ # include <gnu/stubs-32.h> #endif #if defined __x86_64__ && defined __LP64__ # include <gnu/stubs-64.h> #endif #if defined __x86_64__ && defined __ILP32__ # include <gnu/stubs-x32.h> #endif Given that libc6-dev only provides stubs-x32.h from these three, I guess we must not define __LP64__ in this case. I don't have a x32 machine handy, but the complete build log of the auto builder can be found at https://buildd.debian.org/status/fetch.php?pkg=sparse&arch=x32&ver=0.5.2-1&stamp=1524169455&raw=0 Best regards Uwe [1] https://buildd.debian.org/status/fetch.php?pkg=sparse&arch=hurd-i386&ver=0.5.2-1&stamp=1524168405&raw=0
Attachment:
signature.asc
Description: OpenPGP digital signature