Date: Sat, 23 Jan 2016 15:47:15 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 206527] Fix emulators/wine and emulators/wine-devel build with clang 3.8.0 Message-ID: <bug-206527-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206527 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@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(gerald@FreeBSD.org) Assignee: gerald@FreeBSD.org Created attachment 166008 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D166008&action= =3Dedit 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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206527-13>