Re: HEADS UP: plan to switch many ports over to GCC 12 soon

Thomas Klausner <[email protected]>
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
On Sun, Jun 16, 2024 at 06:40:22AM +1000, Matthew Green wrote:
> matthew green writes:
> > at least, arm64, x86, sparc*, ia64, and riscv targets very soon,
> > with arm32 and alpha probably soon after.   more testing needed
> 
> i have switched all these ports over to GCC 12.
> 
> enjoy and send-pr or email tech-toolchain@ for any issues.

The amd64 build with "-V MKLLVM=yes" now fails with:

--- dependall-apache2 ---
In file included from /usr/src/external/apache2/llvm/lib/libLLVMAsmPrinter/../../dist/llvm/include/llvm/CodeGen/MachineInstr.h:19,
                 from /usr/src/external/apache2/llvm/lib/libLLVMAsmPrinter/../../dist/llvm/include/llvm/CodeGen/MachineBasicBlock.h:20,
                 from /usr/src/external/apache2/llvm/lib/libLLVMAsmPrinter/../../dist/llvm/include/llvm/CodeGen/MachineFunction.h:28,
                 from /usr/src/external/apache2/llvm/lib/libLLVMAsmPrinter/../../dist/llvm/include/llvm/CodeGen/MachineFunctionPass.h:21,
                 from /usr/src/external/apache2/llvm/lib/libLLVMAsmPrinter/../../dist/llvm/include/llvm/CodeGen/AsmPrinter.h:22,
                 from /usr/src/external/apache2/llvm/lib/libLLVMAsmPrinter/../../dist/llvm/lib/CodeGen/AsmPrinter/DwarfException.h:17,
                 from /usr/src/external/apache2/llvm/lib/libLLVMAsmPrinter/../../dist/llvm/lib/CodeGen/AsmPrinter/AIXException.cpp:13:
/usr/src/external/apache2/llvm/lib/libLLVMAsmPrinter/../../dist/llvm/include/llvm/ADT/PointerSumType.h: In static member function 'static llvm::DenseMapInfo<llvm::Po
interSumType<TagT, MemberTs ...> >::SumType llvm::DenseMapInfo<llvm::PointerSumType<TagT, MemberTs ...> >::getEmptyKey()':
/usr/src/external/apache2/llvm/lib/libLLVMAsmPrinter/../../dist/llvm/include/llvm/ADT/PointerSumType.h:275:21: error: expected 'template' keyword before dependent te
mplate name [-Werror=missing-template-keyword]
  275 |     return SumType::create<SomeTag>(SomePointerInfo::getEmptyKey());
      |                     ^~~~~~
/usr/src/external/apache2/llvm/lib/libLLVMAsmPrinter/../../dist/llvm/include/llvm/ADT/PointerSumType.h: In static member function 'static llvm::DenseMapInfo<llvm::Po
interSumType<TagT, MemberTs ...> >::SumType llvm::DenseMapInfo<llvm::PointerSumType<TagT, MemberTs ...> >::getTombstoneKey()':
/usr/src/external/apache2/llvm/lib/libLLVMAsmPrinter/../../dist/llvm/include/llvm/ADT/PointerSumType.h:279:21: error: expected 'template' keyword before dependent te
mplate name [-Werror=missing-template-keyword]
  279 |     return SumType::create<SomeTag>(SomePointerInfo::getTombstoneKey());
      |                     ^~~~~~

Can you please take a look?

Thanks,
 Thomas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.