On Fri, Apr 27, 2018 at 07:56:38AM +0200, Uwe Kleine-König wrote: > 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 > ... > 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. Mmmm, yes, surely. For the moment sparse use __LP64__ unconditionnaly for __x86_64__. > I don't have a x32 machine But can you launch a test build for sparse easily enough? I guess that there is no install CD available yet? -- Luc -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html