[Bug 46993] New: ntoskrnl.exe tests don't compile when using -O0
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Apr 11 08:29:44 CDT 2019
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 at winehq.org
Reporter: dark.shadow4 at 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 at 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 at winehq.org>
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list