On Wed, Nov 19, 2008 at 3:38 PM, dpr <wineforum-user@xxxxxxxxxx> wrote: > 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: > > > Code: > > #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: > > > Code: > > ../../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 > > > > > > Having had some issues when building Wine on Solaris x86, you may want to check your gcc. In particular, recompile gcc with gnu linker/assembler rather than sun's. -- -Austin