[Bug 29822] New: winebuild should use Clang to assemble if Clang is used to compile
http://bugs.winehq.org/show_bug.cgi?id=29822 Bug #: 29822 Summary: winebuild should use Clang to assemble if Clang is used to compile Product: Wine Version: 1.4-rc2 Platform: x86 OS/Version: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: build-env AssignedTo: wine-bugs(a)winehq.org ReportedBy: camillo.lugaresi+wine(a)gmail.com Classification: Unclassified Trying to build Wine on Mac OS X 10.7 using Clang 3.0, winebuild generates several errors like "acledit.CPpFo1.s:83:Unknown pseudo-op: .cfi_startproc". The problem is that Clang supports CFI, but the version of GNU as shipped with OS X does not. When configure checks for CFI support, it uses Clang, and marks it as supported; this means that, later on, -fasynchronous-unwind-tables is passed to winegcc and then to winebuild, which generates the CFI lines and tries to assemble using /usr/bin/as, which rejects them. The problem can be solved by using "clang -c" as an assembler instead of "as" when the C compiler in use is Clang and not GCC. I verified that this fix works using a quick and dirty patch to winebuild, but it needs to be properly conditionalized. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29822 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish(a)gmail.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29822 --- Comment #1 from camillo.lugaresi+wine(a)gmail.com 2012-02-24 23:44:54 CST --- Though this bug and bug #26758 are different (that bug asks for allowing AS override, this bug asks for choosing the right assembler when Clang is used), that bug describes the same problem with winebuild mixing the Clang compiler with a different assembler on OS X. I think this means this can be moved from UNCONFIRMED to NEW. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29822 Jerome Leclanche <adys.wh(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |adys.wh(a)gmail.com Ever Confirmed|0 |1 --- Comment #2 from Jerome Leclanche <adys.wh(a)gmail.com> 2012-02-26 13:27:41 CST --- Confirming -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29822 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv(a)dawncrow.de -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29822 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c14bdaf1ddb7d0e5587f63f1216 | |b61c9ecb7a8c3 Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Austin English <austinenglish(a)gmail.com> 2013-01-30 15:45:40 CST --- http://source.winehq.org/git/wine.git/commitdiff/c14bdaf1ddb7d0e5587f63f1216... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29822 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> 2013-02-01 04:54:54 CST --- Closing bugs fixed in 1.5.23. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org