http://bugs.winehq.org/show_bug.cgi?id=26758
Summary: Makefile system does not respect AS variable Product: Wine Version: 1.3.17 Platform: x86 OS/Version: All Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: cdavis@mines.edu
As part of building Wine DLLs an executables, Winebuild generates assembly files that are then assembled. If an assembler is specified using --as-cmd, that program is used; otherwise the system assembler is used.
Wine's build system, unfortunately, does not allow the user to set the assembler to pass to winebuild. The usual way to set the assembler to use is to set the AS variable, but the build system does not respect it.
This is a problem, for example, on Mac OS X when building with Clang with its integrated assembler turned on. Clang's integrated assembler supports .cfi directives, but the system assembler doesn't. During configure, a test file containing .cfi directives is passed to the compiler, on the assumption that it would be then passed to the system assembler. With Clang's integrated assembler, this assumption is broken. Thus, when winebuild tries to assemble files containing .cfi directives (because it believes that the system assembler supported them), it fails as a result. A workaround is to tell winebuild to use Clang to assemble, but the Makefile system doesn't support that.
http://bugs.winehq.org/show_bug.cgi?id=26758
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source CC| |austinenglish@gmail.com Component|-unknown |build-env
http://bugs.winehq.org/show_bug.cgi?id=26758
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Makefile system does not |Makefile system does not |respect AS variable |respect the AS environment | |variable OS/Version|All |other
http://bugs.winehq.org/show_bug.cgi?id=26758
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |nerv@dawncrow.de Ever Confirmed|0 |1
--- Comment #1 from André H. nerv@dawncrow.de 2012-03-19 17:28:56 CDT --- confirming
https://bugs.winehq.org/show_bug.cgi?id=26758
--- Comment #2 from Austin English austinenglish@gmail.com --- Still in wine-1.7.19-70-gd6a59f7