http://bugs.winehq.org/show_bug.cgi?id=22717
Summary: duplicate symbols in ldt.c ... bad inline asm Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: jeremyhu@freedesktop.org
Created an attachment (id=28002) --> (http://bugs.winehq.org/attachment.cgi?id=28002) ldt.pp.c
I just noticed this building wine 1.1.44 ... building with -O0 fails, but -O1 is fine. I think some inline asm is bad:
wine-1.1.44/libs/wine $ /usr/bin/gcc-4.2 -m32 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -DWINE_UNICODE_API="" -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wwrite-strings -Wpointer-arith -I/opt/local/include -D_DARWIN_NO_64_BIT_INODE -O0 -ggdb3 -arch i386 -o ldt.o ldt.c {standard input}:21595:FATAL:Symbol _wine_get_fs already defined.
Pre-processed C file and assembly for both O0 and O1 are being attached.