Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 May 2017 22:00:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-toolchain@FreeBSD.org
Subject:   [Bug 219289] security/clambc: fails to build with lang/gcc6 or later
Message-ID:  <bug-219289-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219289

            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@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
                CC: freebsd-toolchain@FreeBSD.org, gerald@FreeBSD.org,
                    zi@FreeBSD.org
            Blocks: 219275
                CC: gerald@FreeBSD.org, zi@FreeBSD.org
             Flags: maintainer-feedback?(zi@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 =3D alignof<StringMapEntry>();
                                 ^
llvm/include/llvm/ADT/StringMap.h:170:48: error: expected primary-expression
before '>' token
     unsigned Alignment =3D alignof<StringMapEntry>();
                                                ^
llvm/include/llvm/ADT/StringMap.h:170:50: error: expected primary-expression
before ')' token
     unsigned Alignment =3D alignof<StringMapEntry>();
                                                  ^

build log: http://sprunge.us/FOVh


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219275
[Bug 219275] [exp-run] Update GCC_DEFAULT from 5 to 6
--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219289-29464>