tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: HEADS UP: plan to switch many ports over to GCC 12 soon
On Thu, Jun 20, 2024 at 02:14:44PM +1000, Matthew Green wrote:
> the new gcc host vs llvm should be worked around now (a real llvm update
> is probably needed to fix it properly.)
I think there's still something missing?
--- dependall-clang ---
--- cc1_main.o ---
In file included from /usr/src/external/apache2/llvm/bin/clang/../../dist/llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h:20,
from /usr/src/external/apache2/llvm/bin/clang/../../dist/llvm/include/llvm/Transforms/Scalar/GVN.h:24,
from /usr/src/external/apache2/llvm/bin/clang/../../dist/llvm/include/llvm/LinkAllPasses.h:51,
from /usr/src/external/apache2/llvm/bin/clang/../../dist/clang/tools/driver/cc1_main.cpp:30:
/usr/src/external/apache2/llvm/bin/clang/../../dist/llvm/include/llvm/ADT/PointerSumType.h: In static member function 'static llvm::DenseMapInfo<llvm::PointerSumType<TagT, MemberTs ...> >::SumType llvm::DenseMapInfo<llvm::PointerSumType<TagT, MemberTs ...> >::getEmptyKey()':
/usr/src/external/apache2/llvm/bin/clang/../../dist/llvm/include/llvm/ADT/PointerSumType.h:275:21: error: expected 'template' keyword before dependent template name [-Werror=missing-template-keyword]
275 | return SumType::create<SomeTag>(SomePointerInfo::getEmptyKey());
| ^~~~~~
/usr/src/external/apache2/llvm/bin/clang/../../dist/llvm/include/llvm/ADT/PointerSumType.h: In static member function 'static llvm::DenseMapInfo<llvm::PointerSumType<TagT, MemberTs ...> >::SumType llvm::DenseMapInfo<llvm::PointerSumType<TagT, MemberTs ...> >::getTombstoneKey()':
/usr/src/external/apache2/llvm/bin/clang/../../dist/llvm/include/llvm/ADT/PointerSumType.h:279:21: error: expected 'template' keyword before dependent template name [-Werror=missing-template-keyword]
279 | return SumType::create<SomeTag>(SomePointerInfo::getTombstoneKey());
| ^~~~~~
...
cc1plus: all warnings being treated as errors
*** Failed target: cc1_main.o
*** In directory: /usr/src/external/apache2/llvm/bin/clang
*** Failed commands:
${_MKTARGET_COMPILE}
=> @echo '# ' "compile " clang/cc1_main.o
${COMPILE.cc} ${COPTS.${.IMPSRC:T}} ${CPUFLAGS.${.IMPSRC:T}} ${CPPFLAGS.${.IMPSRC:T}} ${.IMPSRC}
=> /usr/obj/tools.gcc/bin/x86_64--netbsd-c++ -frandom-seed=ddf20a71 -O2 -fPIE -g -Werror -std=c++14 -g1 -fno-rtti -fno-exceptions -fno-strict-aliasing -ffunction-sections -fdata-sections --sysroot=/usr/obj/amd64.gcc.20240620 -I. -I/usr/src/external/apache2/llvm/bin/clang/../../dist/clang/include -I/disk/storage-202004/archive/foreign/src/external/apache2/llvm/bin/clang/../../dist/llvm/include -I/usr/obj/src.amd64/external/apache2/llvm/include -I/usr/src/external/apache2/llvm/bin/clang/../../config -I/usr/src/external/apache2/llvm/bin/clang/../../config -c /usr/src/external/apache2/llvm/bin/clang/../../dist/clang/tools/driver/cc1_main.cpp
Thomas
Home |
Main Index |
Thread Index |
Old Index