[PATCH] ntdll: Only use sysinfo function when present

Francois Gouget fgouget at codeweavers.com
Mon Aug 23 08:30:51 CDT 2021


On Wed, 11 Aug 2021, Gerald Pfeifer wrote:

> On Tue, 10 Aug 2021, Gerald Pfeifer wrote:
> > On some systems <sys/sysinfo.h> may be present while the sysinfo
> > function may not, or at least not as part of standard libraries,
> > so check whether the function is actually available before using
> > it.
> 
> Note that the Marvin tester complained about test failures, which I
> believe is only due to me not including changes to generated files
> (autoconf, which show unrelated differences due to different versions
> of autoconf).

I assume you refer to job 95455.

The TestBot knows when to rerun autoconf as shown by the build log:
https://testbot.winehq.org/JobDetails.pl?Key=95455&f102=task.log#k102

  Running autoreconf
  + autoreconf


As for the failures they are well known failures:

wow32: ntdll
exception.c:1235: Test failed: wrong ds 0000 / 002b
exception.c:1236: Test failed: wrong es 0000 / 002b
exception.c:1237: Test failed: wrong gs 0000 / 002b
exception.c:1235: Test failed: wrong ds 0000 / 002b
exception.c:1236: Test failed: wrong es 0000 / 002b
exception.c:1237: Test failed: wrong gs 0000 / 002b

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


wow64: ntdll
env.c:461: Test failed: wrong end ptr 000000000002195C/0000000000021960

  https://www.winehq.org/pipermail/wine-devel/2021-June/189265.html
  (I need to get back to that one)


wow64
ntdll:virtual prints too much data (43393 bytes)

  -> Way too many todos.


-- 
Francois Gouget <fgouget at codeweavers.com>



More information about the wine-devel mailing list