https://bugs.winehq.org/show_bug.cgi?id=46993
Bug ID: 46993 Summary: ntoskrnl.exe tests don't compile when using -O0 Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dark.shadow4@web.de Distribution: ---
Error:
################## /usr/lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld: driver.cross.o: in function `kvprintf': /home/fabian/Programming/Wine/wine/dlls/ntoskrnl.exe/tests/../../../../wine-git/dlls/ntoskrnl.exe/tests/driver.c:64: undefined reference to `strlen' /usr/lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld: driver.cross.o: in function `test_resource': /home/fabian/Programming/Wine/wine/dlls/ntoskrnl.exe/tests/../../../../wine-git/dlls/ntoskrnl.exe/tests/driver.c:946: undefined reference to `memset' ##################
Only happens in -O0, otherwise the compiler seems to optimize away the functions.
Bisected to commit 0022af881e567093621b20d29794503be9400e0b Author: Alexandre Julliard julliard@winehq.org Date: Tue Apr 9 09:39:47 2019 +0200
makefiles: Default to building test resource dlls as PE.
Signed-off-by: Alexandre Julliard julliard@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=46993
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression, source CC| |julliard@winehq.org Regression SHA1| |0022af881e567093621b20d2979 | |4503be9400e0b
https://bugs.winehq.org/show_bug.cgi?id=46993
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |c4433a06b7b03c3ffc7d80b5cce | |46ee9f408eb95
--- Comment #1 from Alexandre Julliard julliard@winehq.org --- Fixed by c4433a06b7b03c3ffc7d80b5cce46ee9f408eb95.
https://bugs.winehq.org/show_bug.cgi?id=46993
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |4.6 Component|-unknown |ntoskrnl CC| |focht@gmx.net
https://bugs.winehq.org/show_bug.cgi?id=46993
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.8.