Opened 8 years ago
Closed 7 years ago
#52612 closed defect (fixed)
wine @1.8.5: Undefined symbols: _DisableThreadLibraryCalls
Reported by: | alandir2@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | snowleopard | Cc: | |
Port: | wine |
Description
When building wine under MacOS 10.6 (Snow Leopard), the following happens:
$ sudo port upgrade wine ---> Computing dependencies for wine ---> Fetching archive for wine ---> Attempting to fetch wine-1.8.5_0.darwin_10.i386.tbz2 from https://packages.macports.org/wine ---> Attempting to fetch wine-1.8.5_0.darwin_10.i386.tbz2 from http://sea.us.packages.macports.org/macports/packages/wine ---> Attempting to fetch wine-1.8.5_0.darwin_10.i386.tbz2 from http://lil.fr.packages.macports.org/wine ---> Fetching distfiles for wine ---> Verifying checksums for wine ---> Extracting wine ---> Applying patches to wine ---> Configuring wine ---> Building wine Error: org.macports.build for port wine returned: command execution failed Please see the log file for port wine for details:
When I look at the log file, I've found that there is an undefined symbol as follows:
:info:build ../../tools/winegcc/winegcc -o aclui.dll.fake -B../../tools/winebuil d -m32 -shared aclui.spec aclui_main.o \ :info:build -lwine ../../libs/port/libwine_port.a -L/opt/local/lib -Wl,-headerpad_max_install_names -framework CoreServices -lz -arch i386 :info:build Undefined symbols: :info:build "_DisableThreadLibraryCalls", referenced from: :info:build _DllMain in aclui_main.o :info:build ld: symbol(s) not found :info:build collect2: ld returned 1 exit status :info:build winegcc: /usr/bin/gcc-4.2 failed
I have already tried "sudo port selfupdate" with no effect.
Presumably, this is because I'm on Snow Leopard (MacOS 10.6.8)
Attachments (2)
Change History (9)
Changed 8 years ago by alandir2@…
comment:1 Changed 8 years ago by alandir2@…
Cc: | alandir2@… added |
---|
comment:2 follow-up: 5 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Which version of Xcode do you have? We encountered the same error on the Snow Leopard buildbot machine which uses Xcode 3.2.6, which is the recommended version to use with MacPorts on Snow Leopard. I already reported it to the developers, but they thought it indicated a problem with "the build tools", presumably meaning Xcode or its command line tools. I did not yet have a chance to try reinstalling Xcode on the Snow Leopard buildbot machine. Maybe you can try that on your machine? Please let me know what happens so I can pass your findings on to the developers of wine, or you can add your reply to that wine ticket yourself.
comment:3 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jwa@… added; alandir2@… removed |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
comment:5 follow-up: 6 Changed 8 years ago by alandir2@…
Replying to ryandesign@…:
Which version of Xcode do you have? We encountered the same error on the Snow Leopard buildbot machine which uses Xcode 3.2.6, which is the recommended version to use with MacPorts on Snow Leopard
I have the same. My Xcode reports itself as:
Xcode Version 3.2.6 (1761) 64-bit Component Versions: Xcode IDE: 1761.0 Xcode Core: 1809.0 ToolSupport: 1806.0
comment:6 Changed 8 years ago by Umo022 (alancom2@yahoo.com)
As requested by the wine developers, I've been able to run "otool -lV" on the aclui_main.o file preceding the error. The file is attached below. I haven't had time to modify the build scripts to handle the other half of their request, but hopefully, the "otool" output should be able to tell them something...
Changed 8 years ago by Umo022 (alancom2@yahoo.com)
Attachment: | aclui_main.otool.out.txt added |
---|
Output from "otool"
comment:7 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jyrkiwahlstedt alandir2@… removed |
---|---|
Keywords: | snowleopard added |
Resolution: | → fixed |
Status: | new → closed |
Summary: | build error in 'wine' (Snow Leopard) → wine @1.8.5: Undefined symbols: _DisableThreadLibraryCalls |
I'm going to close this because wine 2.0.3 built successfully on our Snow Leopard buildbot machine.
Cc Me!