Hello Luc, On Fri, Feb 01, 2019 at 10:00:37PM +0100, Luc Van Oostenryck wrote: > Sparse has a flag -m64 which allow to setup its types > as-if the platform is a 64-bit one. For a long time, > this allowed sparse to run correctly on 32 & 64-bit > platforms. Now, with the introduction of the predefined > macros like __INT32_TYPE__, sparse is more dependent > on a corect matching between the native platform and > the target one. As consequent, the flag -m64 can't be > used anymore on some 32bit platforms. > > This problem has been found thanks to Uwe Kleine-König. Thanks for your support here. I tested this series on mips and now I get: OK: out of 566 tests, 510 passed, 56 failed 56 of them are known to fail 61 tests were disabled If you want interpret that as Tested-by: Uwe Kleine-König <uwe@xxxxxxxxxxxxxxxxx> for your patches. Later in the build process the following is run: env CHECK=./sparse ./cgcc -no-compile memops.c which results in: /usr/include/mips-linux-gnu/bits/types.h:138:3: error: /usr/include/mips-linux-gnu/bits/types.h:143:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:143:12: error: got __UQUAD_TYPE /usr/include/mips-linux-gnu/bits/types.h:144:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:144:12: error: got unsigned /usr/include/mips-linux-gnu/bits/types.h:145:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:145:12: error: got unsigned /usr/include/mips-linux-gnu/bits/types.h:146:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:146:12: error: got unsigned /usr/include/mips-linux-gnu/bits/types.h:147:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:147:12: error: got __UQUAD_TYPE /usr/include/mips-linux-gnu/bits/types.h:148:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:148:12: error: got unsigned /usr/include/mips-linux-gnu/bits/types.h:149:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:149:12: error: got __UWORD_TYPE /usr/include/mips-linux-gnu/bits/types.h:150:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:150:12: error: got long /usr/include/mips-linux-gnu/bits/types.h:151:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:151:12: error: got __SQUAD_TYPE /usr/include/mips-linux-gnu/bits/types.h:152:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:152:12: error: got int /usr/include/mips-linux-gnu/bits/types.h:153:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:153:12: error: got struct /usr/include/mips-linux-gnu/bits/types.h:153:12: error: Expected ; at the end of type declaration /usr/include/mips-linux-gnu/bits/types.h:153:12: error: got } /usr/include/mips-linux-gnu/bits/types.h:154:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:154:12: error: got long /usr/include/mips-linux-gnu/bits/types.h:155:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:155:12: error: got unsigned /usr/include/mips-linux-gnu/bits/types.h:156:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:156:12: error: got __UQUAD_TYPE /usr/include/mips-linux-gnu/bits/types.h:157:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:157:12: error: got unsigned /usr/include/mips-linux-gnu/bits/types.h:158:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:158:12: error: got long /usr/include/mips-linux-gnu/bits/types.h:159:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:159:12: error: got unsigned /usr/include/mips-linux-gnu/bits/types.h:160:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:160:12: error: got long /usr/include/mips-linux-gnu/bits/types.h:162:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:162:12: error: got int /usr/include/mips-linux-gnu/bits/types.h:163:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:163:12: error: got int /usr/include/mips-linux-gnu/bits/types.h:166:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:166:12: error: got int /usr/include/mips-linux-gnu/bits/types.h:169:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:169:12: error: got void /usr/include/mips-linux-gnu/bits/types.h:172:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:172:12: error: got long /usr/include/mips-linux-gnu/bits/types.h:177:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:177:12: error: got long /usr/include/mips-linux-gnu/bits/types.h:178:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:178:12: error: got __SQUAD_TYPE /usr/include/mips-linux-gnu/bits/types.h:181:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:181:12: error: got unsigned /usr/include/mips-linux-gnu/bits/types.h:182:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:182:12: error: got __UQUAD_TYPE /usr/include/mips-linux-gnu/bits/types.h:185:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:185:12: error: got unsigned /usr/include/mips-linux-gnu/bits/types.h:186:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:186:12: error: got __UQUAD_TYPE /usr/include/mips-linux-gnu/bits/types.h:189:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:189:12: error: got __SWORD_TYPE /usr/include/mips-linux-gnu/bits/types.h:191:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:191:12: error: got __SWORD_TYPE /usr/include/mips-linux-gnu/bits/types.h:194:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:194:12: error: got long /usr/include/mips-linux-gnu/bits/types.h:196:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:196:12: error: got unsigned /usr/include/mips-linux-gnu/bits/types.h:200:19: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:200:19: error: got __loff_t /usr/include/mips-linux-gnu/bits/types.h:204:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:204:12: error: got __SWORD_TYPE /usr/include/mips-linux-gnu/bits/types.h:207:12: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/bits/types.h:207:12: error: got unsigned /usr/include/mips-linux-gnu/sys/types.h:39:18: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/sys/types.h:39:18: error: got fsid_t /usr/include/mips-linux-gnu/sys/types.h:42:18: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/sys/types.h:42:18: error: got loff_t /usr/include/mips-linux-gnu/sys/types.h:47:17: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/sys/types.h:47:17: error: got ino_t /usr/include/mips-linux-gnu/sys/types.h:59:17: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/sys/types.h:59:17: error: got dev_t /usr/include/mips-linux-gnu/sys/types.h:64:17: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/sys/types.h:64:17: error: got gid_t /usr/include/mips-linux-gnu/sys/types.h:69:18: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/sys/types.h:69:18: error: got mode_t /usr/include/mips-linux-gnu/sys/types.h:74:19: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/sys/types.h:74:19: error: got nlink_t /usr/include/mips-linux-gnu/sys/types.h:79:17: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/sys/types.h:79:17: error: got uid_t /usr/include/mips-linux-gnu/sys/types.h:85:17: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/sys/types.h:85:17: error: got off_t /usr/include/mips-linux-gnu/sys/types.h:97:17: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/sys/types.h:97:17: error: got pid_t /usr/include/mips-linux-gnu/sys/types.h:103:16: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/sys/types.h:103:16: error: got id_t /usr/include/mips-linux-gnu/sys/types.h:108:19: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/sys/types.h:108:19: error: got ssize_t /usr/include/mips-linux-gnu/sys/types.h:114:19: error: Expected ; at end of declaration /usr/include/mips-linux-gnu/sys/types.h:114:19: error: got daddr_t /usr/include/mips-linux-gnu/sys/types.h:121:17: error: too many errors hmm, strange. This doesn't break the build because the exit code is 0, I wonder if that is intended? I don't know how I should tackle that, if you need some data from such a machine, just tell me. Best regards Uwe
Attachment:
signature.asc
Description: PGP signature