Thanks. There are several tangles in your response.
>> + ("sys/time.h", "struct timeval"), > DOn't do that. Per the man page: That was my first try. It didn't work on BSD. On all the systems I'v tried, man timeval says: #include <sys/time.h> So that part seems to be working OK. >> That list gets sorted. (I don't know why.) > I like things sorted. Me too, but the code says: for header, sizeof in sorted(sizeofs, key=lambda x: x[1:]): Why sort stuff in the code when you could manually sort the sizeofs list? >> But now it's dying on code that previously worked. I think. > Then why change the include test? The man page says the old one is > sufficient. I didn't change that line. I added it. That broke another line. >> Details in https://gitlab.com/NTPsec/ntpsec/-/jobs/9016721971 > What C code did that try to generate for the test? I don't know. The only test case I have (so far) is on gitlab. I haven't found configure.log on gitlab. Do you know how? URL above. The code that does the work is in wafhelpers/check_sizeof.py There is a separate path for cross builds. I can work out the code I expect it to generate but I'm not sure what actually happens. Does anybody have a working cross build setup that I can copy? -- These are my opinions. I hate spam. _______________________________________________ devel mailing list devel@ntpsec.org https://lists.ntpsec.org/mailman/listinfo/devel