http://bugs.winehq.org/show_bug.cgi?id=20306
Summary: Wine does not compile with LLVM Product: Wine Version: 1.1.31 Platform: Macintosh OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P3 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: piotr@layer22.com
Created an attachment (id=24006) --> (http://bugs.winehq.org/attachment.cgi?id=24006) Wine compile log
Wine fails to find symbols when compiled with LLVM under Mac OS X Snow Leopard 10.6.1
Wine 1.1.30 did not compile either.
llvm-gcc-4.2 -m32 -dynamiclib -install_name /usr/local/Cellar/wine/1.1.31/lib/libwine.1.dylib -compatibility_version 1 -current_version 1.0 c_037.o c_10000.o c_10006.o c_10007.o c_10029.o c_1006.o c_10079.o c_10081.o c_1026.o c_1250.o c_1251.o c_1252.o c_1253.o c_1254.o c_1255.o c_1256.o c_1257.o c_1258.o c_1361.o c_20127.o c_20866.o c_20932.o c_21866.o c_28591.o c_28592.o c_28593.o c_28594.o c_28595.o c_28596.o c_28597.o c_28598.o c_28599.o c_28600.o c_28603.o c_28604.o c_28605.o c_28606.o c_424.o c_437.o c_500.o c_737.o c_775.o c_850.o c_852.o c_855.o c_856.o c_857.o c_860.o c_861.o c_862.o c_863.o c_864.o c_865.o c_866.o c_869.o c_874.o c_875.o c_878.o c_932.o c_936.o c_949.o c_950.o casemap.o collation.o compose.o config.o cptable.o debug.o fold.o ldt.o loader.o mbtowc.o mmap.o port.o sortkey.o string.o utf8.o wctomb.o wctype.o version.o ../../libs/port/libwine_port.a -L/usr/X11R6/lib -arch i386 -m32 -framework CoreServices -lz -lGL -lGLU -lGL -lGLU -o libwine.1.0.dylib Undefined symbols: "_wine_set_fs", referenced from: llvm bitcode in ldt.o "_interlocked_xchg_add", referenced from: llvm bitcode in debug.o "_wine_call_on_stack", referenced from: llvm bitcode in port.o "_wine_get_fs", referenced from: llvm bitcode in ldt.o ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [libwine.1.0.dylib] Error 1 make[1]: *** [wine] Error 2 make: *** [libs] Error 2 Exit code: 512