Re: November 5th is Clang-Day

看板FB_current作者時間12年前 (2013/04/27 12:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串23/23 (看更多)
--nextPart34669012.oYyl0Wpdqq Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Friday, 2 November 2012 10:13:30 David Chisnall wrote: > On 2 Nov 2012, at 05:24, Jan Beich wrote: > >> Known Issues > >=20 > > emulators/wine doesn't work with lib32 built by clang, probably due to > > wine bugs. >=20 > Is this still the case? There was an issue preventing WINE from working > because it required stricter stack alignment than clang provided by > default, but I thought it was fixed. Does WINE work if compiled with the > flag that forces stack realignment? If not, then it's some other issue... There are two issues here: 1) wine compiled with clang, and 2) wine (compil= ed=20 with gcc) running on clang compiled base. =20 Regarding 1), according to the wiki [1], wine does have stack alignment iss= ues=20 and some wine programs do not run when compiled with clang [2][3] and other= =20 bugs with clang cause freezing within wine [4][5]. The impression I get is= =20 that, using the work-a-round of stack realignment, wine does work to some=20 extent when compiled by clang. =20 Regarding 2) (which I believe Jan was referring to), when I have a gcc buil= t=20 world and just replace lib32 with clang built libraries I have winecfg and= =20 regedit launching but displaying black screens. Switching back to gcc buil= t=20 lib32 I get a working winecfg and regedit. This, to me, indicates a clang= =20 error somewhere. =20 The test was done on FreeBSD 9-Stable with: # clang --version =46reeBSD clang version 3.1 (branches/release_31 156863) 20120523 Target: x86_64-unknown-freebsd9.0 Thread model: posix Regards [1] wiki.winehq.org/Clang [2] (regedit) http://llvm.org/bugs/show_bug.cgi?id=3D9830 [3] (wineboot) http://llvm.org/bugs/show_bug.cgi?id=3D9844 [4] http://llvm.org/bugs/show_bug.cgi?id=3D9704 [5] http://llvm.org/bugs/show_bug.cgi?id=3D9707 --nextPart34669012.oYyl0Wpdqq Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEABECAAYFAlCUzFsACgkQUaaFgP9pFrKBHQCfYYozaPkx5SMvkmm+VPI8t+iA 1JIAnAq1cq2YTGL+Hbm+hr8pdLxhbHFD =m0nn -----END PGP SIGNATURE----- --nextPart34669012.oYyl0Wpdqq--
文章代碼(AID): #1HUrJuoE (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1HUrJuoE (FB_current)