debian stretch(当前的stable版本),gcc version 6.3.0 20170516 (Debian 6.3.0-18) 编译be时报错 cstddef:51:11: error: no member named 'max_align_t' in the global namespace 经查,是老版本llvm的bug。 参考[clang++ only compiles C++11 program using boost::format when -std=c++11 option is dropped](https://stackoverflow.com/questions/23462950/clang-only-compiles-c11-program-using-boostformat-when-std-c11-option-i),[Teach Clang to provide ::max_align_t in C11 and C++11 modes.](https://reviews.llvm.org/rL201729)。手动在cfe/lib/Headers/stddef.h的85行之后添加 #if __STDC_VERSION__ >= 201112L || __cplusplus >= 201103L typedef struct { long long __clang_max_align_nonce1 __attribute__((__aligned__(__alignof__(long long)))); long double __clang_max_align_nonce2 __attribute__((__aligned__(__alignof__(long double)))); } max_align_t; #define __CLANG_MAX_ALIGN_T_DEFINED #endif 这个问题解决。但重新编译又报新的错误 clang-3.3: /home/crc/palo/thirdparty/src/llvm-3.3.src/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp:2695: llvm::PointerUnion<clang::Decl*, llvm::SmallVector<clang::Decl*, 4u>*>* clang::LocalInstantiationScope::findInstantiationOf(const clang::Decl*): Assertion `isa<LabelDecl>(D) && "declaration not instantiated in this scope"' failed. 经查,还是老版本llvm的bug。见[Bug 18653 - Abort after class declaration as template argument](https://bugs.llvm.org/show_bug.cgi?id=18653)。 建议更新一下依赖的llvm的版本。
Activity
maruyue commentedon Aug 16, 2017
确认在下一个版本进行修复
imay commentedon Nov 9, 2018
Now, we have upgrade LLVM version to 3.4.2, And I will close this issue.
Merge pull request apache#16 from doris-vectorized/dev_1121
[fix](olapscanner) fix coredump caused by concurrent acccess of olap …
[fix](olapscanner) fix coredump caused by concurrent acccess of olap …
Fix case error (apache#16)
[fix](Nereids) should not put bound expr into unbound group by list (#…
[fix](Nereids) should not put bound expr into unbound group by list (a…
[fix](Nereids) should not put bound expr into unbound group by list (a…
[fix](Nereids) should not put bound expr into unbound group by list (a…
[fix](Nereids) should not put bound expr into unbound group by list (#…
[fix](Nereids) should not put bound expr into unbound group by list (a…
135 remaining items
[fix](catalog) catalog-SPI abstraction-mismatch review: paimon time-t…
[fix](catalog) catalog-SPI abstraction-mismatch review: paimon time-t…
[fix](catalog) catalog-SPI abstraction-mismatch review: paimon time-t…
[fix](catalog) catalog-SPI abstraction-mismatch review: paimon time-t…
[fix](catalog) catalog-SPI abstraction-mismatch review: paimon time-t…
[fix](catalog) catalog-SPI abstraction-mismatch review: paimon time-t…
[fix](be) Avoid scan executor shutdown use after free (#65220)
[fix](catalog) catalog-SPI abstraction-mismatch review: paimon time-t…
[fix](catalog) catalog-SPI abstraction-mismatch review: paimon time-t…
[fix](be) Avoid scan executor shutdown use after free (#65220)
[improvement](fe) Use 128-bit hash for IVM row id (apache#16)
[improvement](fe) Use 128-bit hash for IVM row id (apache#16)
[improvement](fe) Use 128-bit hash for IVM row id (apache#16)
[improvement](fe) Use 128-bit hash for IVM row id (apache#16)
[improvement](fe) Use 128-bit hash for IVM row id (apache#16)