https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66865
--- Comment #17 from marcus at jet dot franken.de ---
can also confirm this. wine64 built with trunk gcc so far has no crashes and
the wine testsuite so far had no failures
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66865
--- Comment #11 from marcus at jet dot franken.de ---
Created attachment 35984
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35984&action=edit
707.c
delta reduced testcase.
gcc -O2 -fPIC -c 707.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66865
--- Comment #10 from marcus at jet dot franken.de ---
Created attachment 35982
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35982&action=edit
sec.s.bad
bad assembly. %rsi not restored with formatW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66865
--- Comment #9 from marcus at jet dot franken.de ---
Created attachment 35981
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35981&action=edit
sec.s.good
good assembly (with TRACE)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66865
--- Comment #8 from marcus at jet dot franken.de ---
FWIW, it seems it is thinking that %rsi stays alive over sprintfW calls.
leaqformatW.23952(%rip), %rsi #,
movzbl (%r14), %edx# MEM[(const struct SID *)pSid_9(D
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66865
--- Comment #7 from marcus at jet dot franken.de ---
(can continue to work on this tomorrow. good night)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66865
--- Comment #6 from marcus at jet dot franken.de ---
Created attachment 35980
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35980&action=edit
foo.patch
the comment out TRACE() makes the function RtlConvertSidToUnicodeStrin
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66865
--- Comment #3 from marcus at jet dot franken.de ---
dlls/ntdll/sec.c, and probably RtlConvertSidToUnicodeString is miscompiled...
looking further.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66845
--- Comment #2 from marcus at jet dot franken.de ---
compiler used is gcc version 5.1.1 20150707 [gcc-5-branch revision 225501]
(SUSE Linux) with the patch from bug 66782 applied.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66782
--- Comment #16 from marcus at jet dot franken.de ---
I can confirm that this testcase fixed here and in Wine.
I have however found another issue with register clobbering and opened a new
bug 66845 for it.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66845
--- Comment #1 from marcus at jet dot franken.de ---
Created attachment 35952
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35952&action=edit
testcase.c
delta minimized testcase.
gcc -c -O2 -fPIC
look for second call of RPCRT4_s
: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: marcus at jet dot franken.de
Target Milestone: ---
bug 66782 fixes one %si clobbering issues when transitioning between win64 and
sysv ABI.
Here is the next one.
RPCRT4_strndupA is a SysV ABI static
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66782
--- Comment #4 from marcus at jet dot franken.de ---
(actually not sure this is the same issue that my wine colleagueds are seeing,
but it also a miscompilation)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66782
--- Comment #3 from marcus at jet dot franken.de ---
Created attachment 35927
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35927&action=edit
testcase-min.i
gcc -S -fPIC -O2 -g testcase.i -o testcase.s
there will be a pattern to s
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50323
marcus at jet dot franken.de changed:
What|Removed |Added
Target||x86_64-suse-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50323
Bug #: 50323
Summary: verify_ssa fail: number of operands and imm-links
don't agree in statement
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCO
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49703
--- Comment #2 from marcus at jet dot franken.de 2011-07-11 12:11:35 UTC ---
Created attachment 24738
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24738
xx.c
gcc -O2 -flto -o xx xx.c
readelf -a xx|grep GNU_STACK
should NOT show "
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49703
Summary: -flto makes stack executable by default
Product: gcc
Version: 4.6.1
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: lto
AssignedTo: unassig...
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49642
--- Comment #2 from marcus at jet dot franken.de 2011-07-05 12:42:28 UTC ---
looking at the assembly, both x() and y() call the assembler functions,
just the static function is still emitted with
<.ehca_get_max_hwpage_size.par
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49642
--- Comment #1 from marcus at jet dot franken.de 2011-07-05 12:41:05 UTC ---
Created attachment 24690
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24690
ehca_mrmw.i
gcc -m64 -O2 -fno-inline-functions-called-once -c ehca_mrmw.i ; objd
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49642
Summary: constant part of a macro not optimized away as
expected due to splitter
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: normal
Priority: P3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48832
marcus at jet dot franken.de changed:
What|Removed |Added
Status|WAITING |RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48832
marcus at jet dot franken.de changed:
What|Removed |Added
Version|4.6.0 |4.7.0
--- Comment #2 from
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48832
Summary: -O2 does not imply -fomit-frame-pointer, contrary to
--help=optimizers -v -Q
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48269
marcus at jet dot franken.de changed:
What|Removed |Added
CC||marcus at jet dot
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46468
--- Comment #16 from marcus at jet dot franken.de 2010-11-28 20:44:38 UTC ---
glibc-32bit-2.11.2-3.3.1.x86_64
/lib/libc.so.6
GNU C Library stable release version 2.11.2 (20100531), by Roland McGrath et
al.
[...]
Configured for i686-suse-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46468
--- Comment #14 from marcus at jet dot franken.de 2010-11-28 19:53:45 UTC ---
actually it is built with it and crashes.
Atfer i change thread.o with -fno-asynchronous-unwind-tables
it starts to work again.
so somehting in there confuses the
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46468
--- Comment #12 from marcus at jet dot franken.de 2010-11-28 19:31:58 UTC ---
the gcc or glibc unwinding is in use, not wine's if I take it correctly from
the bakctrace.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46468
--- Comment #11 from marcus at jet dot franken.de 2010-11-28 19:31:27 UTC ---
it is unclear. ... it seems to crash in libgcc_s.so.1 (both the installed 4.5
and the built 4.6 trunk versuon) during this pthread_exit unwinding.
behaviour changes if
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46468
--- Comment #9 from marcus at jet dot franken.de 2010-11-28 14:55:31 UTC ---
(gdb) bt
#0 0xe425 in __kernel_vsyscall ()
#1 0xf7d1eb46 in kill () from /lib/libc.so.6
#2 0x7efab485 in server_protocol_error (err=0x7efcfe71 "write err
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46468
--- Comment #8 from marcus at jet dot franken.de 2010-11-26 07:31:39 UTC ---
when I add
-fno-omit-frame-pointer -fno-asynchronous-unwind-tables
it goes back to the "good" behaviour.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46468
--- Comment #7 from marcus at jet dot franken.de 2010-11-26 07:26:56 UTC ---
.o hunting converged on dlls/ntdll/thread.o
however:
$ diff -u bad.lst good.lst
--- bad.lst 2010-11-26 08:25:05.0 +0100
+++ good.lst2010-11-26 08:25
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46468
--- Comment #6 from marcus at jet dot franken.de 2010-11-25 10:01:26 UTC ---
first wine search converged on ntdll.dll.so being miscompiled (as i expected to
some degree).
i will tomorrow focus on the specific object files.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46468
--- Comment #5 from marcus at jet dot franken.de 2010-11-25 08:12:28 UTC ---
i can reproduce this.
I will try to bisect which file of wine gets miscompiled to get a smaller
testcase.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46468
marcus at jet dot franken.de changed:
What|Removed |Added
CC||marcus at jet dot
35 matches
Mail list logo