[Bug 206527] Fix emulators/wine and emulators/wine-devel build with clang 3.8.0
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jan 23 15:47:16 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206527
Bug ID: 206527
Summary: Fix emulators/wine and emulators/wine-devel build with
clang 3.8.0
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: gerald at FreeBSD.org
Reporter: dim at FreeBSD.org
Flags: maintainer-feedback?(gerald at FreeBSD.org)
Assignee: gerald at FreeBSD.org
Created attachment 166008
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=166008&action=edit
Fix emulators/wine and emulators/wine-devel build with clang 3.8.0
During the exp-run in bug 206074, it was found that emulators/wine and
emulators/wine-devel give errors with a recent clang 3.8.0 snapshot [1]:
eventlog.c:997:5: error: 'va_start' used in Win64 ABI function
__ms_va_start( valist, number );
^
../../include/windef.h:90:35: note: expanded from macro '__ms_va_start'
# define __ms_va_start(list,arg) __builtin_ms_va_start(list,arg)
^
<command line>:5:31: note: expanded from here
#define __builtin_ms_va_start __builtin_va_start
^
This is because the port Makefile explicitly defines __builtin_ms_va_list as
__builtin_va_list, __builtin_ms_va_start as __builtin_va_start, and so on, for
clang.
For clang 3.8.0 and higher this is no longer needed, as it supports the
'native' MS varargs builtins now. The attached patch adds a version check.
[1]
http://package18.nyi.freebsd.org/data/headamd64PR206074-default/2016-01-15_15h26m58s/logs/errors/wine-1.8,1.log
[2]
http://package18.nyi.freebsd.org/data/headamd64PR206074-default/2016-01-15_15h26m58s/logs/errors/wine-devel-1.9.1,1.log
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list