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.
http://bugs.winehq.org/show_bug.cgi?id=22717
--- Comment #1 from Jeremy Huddleston jeremyhu@freedesktop.org 2010-05-16 00:04:27 --- Created an attachment (id=28003) --> (http://bugs.winehq.org/attachment.cgi?id=28003) ldt.O0.s
http://bugs.winehq.org/show_bug.cgi?id=22717
--- Comment #2 from Jeremy Huddleston jeremyhu@freedesktop.org 2010-05-16 00:04:40 --- Created an attachment (id=28004) --> (http://bugs.winehq.org/attachment.cgi?id=28004) ldt.O1.s
http://bugs.winehq.org/show_bug.cgi?id=22717
Jeremy Huddleston jeremyhu@freedesktop.org changed:
What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Linux |Mac OS X 10.6
http://bugs.winehq.org/show_bug.cgi?id=22717
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.1.44
http://bugs.winehq.org/show_bug.cgi?id=22717
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #3 from Vitaliy Margolen vitaliy@kievinfo.com 2010-05-16 00:37:18 --- This is already fixed (first patch after wine-1.1.44). Use git source.
http://bugs.winehq.org/show_bug.cgi?id=22717
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz
--- Comment #4 from Wylda wylda@volny.cz 2010-05-16 01:43:00 ---
I had the same problem, but it was fixed immediately by first commit after 1.1.44, i.e. by:
commit f7f4e9e3be9f0bff65857637030dfb0718bfb8bd Author: Alexandre Julliard julliard@winehq.org Date: Fri May 7 22:38:32 2010 +0200
include: Force inlining exported API functions to avoid duplicate definitions.
http://bugs.winehq.org/show_bug.cgi?id=22717
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2010-05-21 14:40:23 --- Closing bugs fixed in 1.2-rc1.
http://bugs.winehq.org/show_bug.cgi?id=22717
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Mac OS X 10.6 |Mac OS X