[Bug 219289] security/clambc: fails to build with lang/gcc6 or later
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun May 14 22:00:02 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219289
Bug ID: 219289
Summary: security/clambc: fails to build with lang/gcc6 or
later
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: needs-patch
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: zi at FreeBSD.org
Reporter: jbeich at FreeBSD.org
CC: freebsd-toolchain at FreeBSD.org, gerald at FreeBSD.org,
zi at FreeBSD.org
Blocks: 219275
CC: gerald at FreeBSD.org, zi at FreeBSD.org
Flags: maintainer-feedback?(zi at FreeBSD.org)
In file included from llvm/include/llvm/Support/Allocator.h:17:0,
from llvm/include/llvm/ADT/StringMap.h:18,
from llvm/include/llvm/System/Host.h:17,
from llvm/lib/System/Host.cpp:14:
llvm/include/llvm/Support/AlignOf.h:57:24: error: expected unqualified-id
before 'alignof'
static inline unsigned alignof() { return AlignOf<T>::Alignment; }
^~~~~~~
In file included from llvm/include/llvm/System/Host.h:17:0,
from llvm/lib/System/Host.cpp:14:
llvm/include/llvm/ADT/StringMap.h: In static member function 'static
llvm::StringMapEntry<ValueTy>* llvm::StringMapEntry<ValueTy>::Create(const
char*, const char*, AllocatorTy&, InitType)':
llvm/include/llvm/ADT/StringMap.h:170:33: error: expected primary-expression
before '<' token
unsigned Alignment = alignof<StringMapEntry>();
^
llvm/include/llvm/ADT/StringMap.h:170:48: error: expected primary-expression
before '>' token
unsigned Alignment = alignof<StringMapEntry>();
^
llvm/include/llvm/ADT/StringMap.h:170:50: error: expected primary-expression
before ')' token
unsigned Alignment = alignof<StringMapEntry>();
^
build log: http://sprunge.us/FOVh
Referenced Bugs:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219275
[Bug 219275] [exp-run] Update GCC_DEFAULT from 5 to 6
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-toolchain
mailing list