[Bug 46993] New: ntoskrnl.exe tests don't compile when using -O0
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(a)winehq.org Reporter: dark.shadow4(a)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(a)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(a)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.
https://bugs.winehq.org/show_bug.cgi?id=46993 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression, source CC| |julliard(a)winehq.org Regression SHA1| |0022af881e567093621b20d2979 | |4503be9400e0b -- 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.
https://bugs.winehq.org/show_bug.cgi?id=46993 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |c4433a06b7b03c3ffc7d80b5cce | |46ee9f408eb95 --- Comment #1 from Alexandre Julliard <julliard(a)winehq.org> --- Fixed by c4433a06b7b03c3ffc7d80b5cce46ee9f408eb95. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=46993 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |4.6 Component|-unknown |ntoskrnl CC| |focht(a)gmx.net -- 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.
https://bugs.winehq.org/show_bug.cgi?id=46993 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #2 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 4.8. -- 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.
participants (1)
-
wine-bugs@winehq.org