[Bug 230463] devel/llvm40, devel/llvm50: fails to build with Clang 7

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 8 17:19:10 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230463

            Bug ID: 230463
           Summary: devel/llvm40, devel/llvm50: fails to build with Clang
                    7
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: brooks at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
            Blocks: 230355
             Flags: maintainer-feedback?(brooks at FreeBSD.org)
          Assignee: brooks at FreeBSD.org

$ poudriere jail -cj clang7 -a amd64 -v projects/clang700-import -m svn
$ poudriere testport -j clang7 devel/llvm50
[...]
tools/lld/ELF/Symbols.cpp:386:31: error: 'template' keyword not permitted here
template uint32_t SymbolBody::template getSize<ELF32LE>() const;
                              ^~~~~~~~~
tools/lld/ELF/Symbols.cpp:387:31: error: 'template' keyword not permitted here
template uint32_t SymbolBody::template getSize<ELF32BE>() const;
                              ^~~~~~~~~
tools/lld/ELF/Symbols.cpp:388:31: error: 'template' keyword not permitted here
template uint64_t SymbolBody::template getSize<ELF64LE>() const;
                              ^~~~~~~~~
tools/lld/ELF/Symbols.cpp:389:31: error: 'template' keyword not permitted here
template uint64_t SymbolBody::template getSize<ELF64BE>() const;
                              ^~~~~~~~~
tools/lld/ELF/Symbols.cpp:391:31: error: 'template' keyword not permitted here
template bool DefinedRegular::template isMipsPIC<ELF32LE>() const;
                              ^~~~~~~~~
tools/lld/ELF/Symbols.cpp:392:31: error: 'template' keyword not permitted here
template bool DefinedRegular::template isMipsPIC<ELF32BE>() const;
                              ^~~~~~~~~
tools/lld/ELF/Symbols.cpp:393:31: error: 'template' keyword not permitted here
template bool DefinedRegular::template isMipsPIC<ELF64LE>() const;
                              ^~~~~~~~~
tools/lld/ELF/Symbols.cpp:394:31: error: 'template' keyword not permitted here
template bool DefinedRegular::template isMipsPIC<ELF64BE>() const;
                              ^~~~~~~~~
tools/lld/ELF/Symbols.cpp:396:33: error: 'template' keyword not permitted here
template uint32_t SharedSymbol::template getAlignment<ELF32LE>() const;
                                ^~~~~~~~~
tools/lld/ELF/Symbols.cpp:397:33: error: 'template' keyword not permitted here
template uint32_t SharedSymbol::template getAlignment<ELF32BE>() const;
                                ^~~~~~~~~
tools/lld/ELF/Symbols.cpp:398:33: error: 'template' keyword not permitted here
template uint32_t SharedSymbol::template getAlignment<ELF64LE>() const;
                                ^~~~~~~~~
tools/lld/ELF/Symbols.cpp:399:33: error: 'template' keyword not permitted here
template uint32_t SharedSymbol::template getAlignment<ELF64BE>() const;
                                ^~~~~~~~~

build log: https://ptpb.pw/58hj https://ptpb.pw/8GNe


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230355
[Bug 230355] [exp-run] Against projects/clang700-import branch
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list