[Wine] Re: Wine on Solaris 10

dpr wineforum-user at winehq.org
Wed Nov 19 15:38:44 CST 2008

I'm also trying to compile Winelib on Solaris/Sparc.  I've gotten around the wine_call_on_stack problem by inserting into libs/wine/port.c:


#elif defined(__sparc__) && defined(__GNUC__)
__ASM_GLOBAL_FUNC( wine_call_on_stack, "")

The next problem comes in the "dlls" subdirectory, where many, most, or all subprojects fail with something like:


../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./acledit.spec main.o          -o acledit.dll.so  -lkernel32   ../../libs/port/libwine_port.a  -lresolv -lsocket -lnsl 
acledit.nkVmkL.s: Assembler messages:
acledit.nkVmkL.s:152: Error: operation combines symbols in different segments
acledit.nkVmkL.s:153: Error: operation combines symbols in different segments
winebuild: gas failed with status 256
winegcc: ../../tools/winebuild/winebuild failed

I found limited discussion about the second problem which pointed to a three-year-old patch ( http://www.winehq.org/pipermail/wine-devel/2005-December/043614.html ), which applies to tools/winebuild/import.c, but appears to bear no relevance to the current version of that file (perhaps I am mistaken on this point).

Is there any more recent info on working with Solaris/Sparc?  Has anyone successfully compiled it recently on that platform?

Thanks in advance,
Dave Riesz

More information about the wine-users mailing list