http://bugs.winehq.org/show_bug.cgi?id=18586
Summary: Cannot build wine-1.1.22 on OpenSolaris snv_112 with GNU ld Product: Wine Version: 1.1.22 Platform: PC OS/Version: Solaris Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: ylitvinenko@slb.com
Errors when building: gcc -c -I../../../wine-1.1.22/dlls/acledit -I. -I../../../wine-1.1.22/include -I../../include -D__WINESRC__ -D _REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -W pointer-arith -march=pentium-m -mtune=pentium-m -o main.o ../../../wine-1.1.22/dlls/acledit/main.c ../../tools/winegcc/winegcc -B../../tools/winebuild -shared ../../../wine-1.1.22/dlls/acledit/acledit.spec m ain.o -o acledit.dll.so -lkernel32 ../../libs/port/libwine_port.a -lsocket -lnsl Archive member included because of file (symbol)
../../dlls/winecrt0/libwinecrt0.a(dll_entry.o) acledit.dll-Phx6qc.spec.o (__wine_spec_dll_entry) ../../dlls/winecrt0/libwinecrt0.a(init.o) ../../dlls/winecrt0/libwinecrt0.a(dll_entry.o) (__wine_spec_init_state) ../../dlls/winecrt0/libwinecrt0.a(stub.o) acledit.dll-Phx6qc.spec.o (__wine_spec_unimplemented_stubacledit.dll-LoJFfh.map:3: undefined symbol `A0x1000' referenced in expression collect2: ld returned 1 exit status
I think this error because of winegcc creates linker's map files that GNU ld doesn't understand.
The file tools/winegcc/winegcc.c contains line create_file( mapfile, 0644, "text = A%s;\ndata = A%s;\n", align, align );
that produces this "undefined symbol A0x1000"
http://bugs.winehq.org/show_bug.cgi?id=18586
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |blocker
http://bugs.winehq.org/show_bug.cgi?id=18586
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source CC| |austinenglish@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=18586
Daniel Vergien daniel.vergien@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel.vergien@googlemail.c | |om
--- Comment #1 from Daniel Vergien daniel.vergien@googlemail.com 2009-10-08 11:45:33 --- I can confirm the same behavior on Solaris 10 with gnu ld and wine 1.1.30 and trunk. As a quick and dirty workaround I commented out the "case PLATFORM_SOLARIS" block around line 892 and then it works. The problem seems to be that the code assumes that if "__sun" is defined, which is defined if you use gcc on solaris, also solaris ld is used. There should be a check which linker is used instead of which operating system is used.
http://bugs.winehq.org/show_bug.cgi?id=18586
Niki W. Waibel niki.waibel@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |niki.waibel@gmx.net
--- Comment #2 from Niki W. Waibel niki.waibel@gmx.net 2010-09-12 09:31:23 CDT --- same here with === SunOS sol10u8.test.net 5.10 Generic_142901-15 i86pc i386 i86pc Solaris gcc (GCC) 4.5.1 GNU ld (Linux/GNU Binutils) 2.20.51.0.11.20100810 wine-1.3.2 ===
http://bugs.winehq.org/show_bug.cgi?id=18586
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |karel.gardas@centrum.cz
--- Comment #3 from Austin English austinenglish@gmail.com 2011-03-03 13:21:32 CST --- *** Bug 26291 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=18586
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #4 from Juan Lang juan_lang@yahoo.com 2011-03-03 13:39:39 CST --- Multiple confirmations and a dup, marking confirmed.
http://bugs.winehq.org/show_bug.cgi?id=18586
Ken Mays maybird1776@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |maybird1776@yahoo.com
--- Comment #5 from Ken Mays maybird1776@yahoo.com 2011-08-27 11:43:10 CDT --- (In reply to comment #4)
Multiple confirmations and a dup, marking confirmed.
You can close this ticket. We successfully build Wine 1.3.27 on OpenIndiana_b151 (Solaris 11 Express) without any issues.
http://bugs.winehq.org/show_bug.cgi?id=18586
--- Comment #6 from Austin English austinenglish@gmail.com 2011-08-28 19:58:05 CDT --- (In reply to comment #5)
(In reply to comment #4)
Multiple confirmations and a dup, marking confirmed.
You can close this ticket. We successfully build Wine 1.3.27 on OpenIndiana_b151 (Solaris 11 Express) without any issues.
Was it fixed in wine or ld/solaris? Can you see if 1.3.2 fails to build?
http://bugs.winehq.org/show_bug.cgi?id=18586
--- Comment #7 from Ken Mays maybird1776@yahoo.com 2011-08-29 08:39:28 CDT --- (In reply to comment #6)
(In reply to comment #5)
(In reply to comment #4)
Multiple confirmations and a dup, marking confirmed.
You can close this ticket. We successfully build Wine 1.3.27 on OpenIndiana_b151 (Solaris 11 Express) without any issues.
Was it fixed in wine or ld/solaris? Can you see if 1.3.2 fails to build?
Austin - Resolved by Wine 1.1.44. Wine 1.1.22 does fail basic compilation on OpenIndiana 151 (OpenSolaris snv_151/GNU ld (GNU Binutils) 2.19.
Wine 1.1.22 - build fails Wine 1.1.44 - build completed successfully Wine 1.3.2 - build completed successfully Wine 1.3.27 - build completed successfully
The Wine 1.1.22 build fail was: gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPI C -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o ifenum.o ifenum.c ifenum.c: In function `getInterfacePhysicalByName': ifenum.c:322: error: structure has no member named `ifr_hwaddr' ifenum.c:367: error: structure has no member named `ifr_hwaddr' ifenum.c:367: error: structure has no member named `ifr_hwaddr' ifenum.c:376: error: structure has no member named `ifr_hwaddr' gmake[2]: *** [ifenum.o] Error 1 gmake[2]: Leaving directory `wine-1.1.22/dlls/iphlpapi' gmake[1]: *** [iphlpapi] Error 2 gmake[1]: Leaving directory `wine-1.1.22/dlls' gmake: *** [dlls] Error 2
So, this bug is resolved. Migrate to Wine 1.1.44/1.2.3 or 1.3.27.
http://bugs.winehq.org/show_bug.cgi?id=18586
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #8 from Austin English austinenglish@gmail.com 2011-08-29 12:22:16 CDT --- Thanks Ken!
http://bugs.winehq.org/show_bug.cgi?id=18586
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org 2011-09-09 12:54:34 CDT --- Closing bugs fixed in 1.3.28.