http://bugs.winehq.org/show_bug.cgi?id=28461
Summary: ieframe/ie test fails if CFLAGS="-fstack-protector-all" is used Product: Wine Version: 1.3.28 Platform: x86 URL: http://wiki.debian.org/Hardening OS/Version: Linux Status: NEW Keywords: download, source, testcase Severity: enhancement Priority: P2 Component: ntdll AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
make test passes for me fine if I use -fstack-protector, but if I use fstack-protector-all, some tests fail. Next up, ntdll/exception.c:
austin@aw25 ~/wine-git/dlls/ntdll/tests $ make exception.ok ../../../tools/runtest -q -P wine -M ntdll.dll -T ../../.. -p ntdll_test.exe.so exception.c && touch exception.ok /bin/sh: line 1: 21350 Segmentation fault ../../../tools/runtest -q -P wine -M ntdll.dll -T ../../.. -p ntdll_test.exe.so exception.c make: *** [exception.ok] Error 139
testing this when I noticed that Debian is planning to harden packages by default: http://wiki.debian.org/Hardening http://lists.debian.org/debian-devel/2011/09/msg00054.html
http://bugs.winehq.org/show_bug.cgi?id=28461
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com Summary|ieframe/ie test fails if |ntdll/exception.ok test |CFLAGS="-fstack-protector-a |fails if |ll" is used |CFLAGS="-fstack-protector-a | |ll" is used
https://bugs.winehq.org/show_bug.cgi?id=28461
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://wiki.debian.org/Hard |http://wiki.debian.org/Hard |ening |ening |
--- Comment #1 from Austin English austinenglish@gmail.com --- austin@aw25 ~/wine-test/dlls/ntdll/tests $ make exception.ok ../../../tools/runtest -q -P wine -T ../../.. -M ntdll.dll -p ntdll_test.exe.so exception && touch exception.ok err:setupapi:create_dest_file failed to create L"C:\windows\system32\mscoree.dll" (error=80) fixme:iphlpapi:NotifyAddrChange (Handle 0xfde890, overlapped 0xfde89c): stub wine: configuration in '/home/austin/.wine' has been updated. /bin/sh: line 1: 18487 Segmentation fault ../../../tools/runtest -q -P wine -T ../../.. -M ntdll.dll -p ntdll_test.exe.so exception Makefile:260: recipe for target 'exception.ok' failed make: *** [exception.ok] Error 139 austin@aw25 ~/wine-test/dlls/ntdll/tests $ git describe gwine-1.7.12-213-gb0b6728 austin@aw25 ~/wine-test/dlls/ntdll/tests $ gcc --version gcc (Gentoo 4.8.2 p1.3r1, pie-0.5.8r1) 4.8.2 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
still present.
https://bugs.winehq.org/show_bug.cgi?id=28461
--- Comment #2 from Austin English austinenglish@gmail.com --- *** Bug 28462 has been marked as a duplicate of this bug. ***