Skip to content

Woboq broken after Clang 16 upgrade #50077

@rschu1ze

Description

@rschu1ze

Woboq builds (for [1]) broke after #49678, potentially related: [2]

To reproduce:

  1. build Woboq locally and run cmake for ClickHouse, see docker/test/codebrowser/Dockerfile for instructions
  2. run Woboq locally, see docker/test/codebrowser/build.sh for instructions

For me, 2. produces:

~/repo/ch4 (master) $ ~/Downloads/woboq_codebrowser/generator/codebrowser_generator -b /home/ubuntu/repo/ch4/build -a -o /home/ubuntu/Downloads/out -p "test:/home/ubuntu/repo/ch4:test"
[0%] Processing /home/ubuntu/repo/ch4/base/base/JSON.cpp                                                                                                                                   
FATAL Error: /home/ubuntu/repo/ch4/contrib/llvm-project/libcxx/include/stddef.h:45: 'stddef.h' file not found                                                                              
Error: /home/ubuntu/repo/ch4/contrib/llvm-project/libcxx/include/__type_traits/is_array.h:40: reference to unresolved using declaration                                                    
Error: /home/ubuntu/repo/ch4/contrib/llvm-project/libcxx/include/__type_traits/remove_extent.h:25: reference to unresolved using declaration                                               
Error: /home/ubuntu/repo/ch4/contrib/llvm-project/libcxx/include/__type_traits/type_list.h:28: reference to unresolved using declaration                                                   
Error: /home/ubuntu/repo/ch4/contrib/llvm-project/libcxx/include/__type_traits/type_list.h:30: reference to unresolved using declaration                                                   
Error: /home/ubuntu/repo/ch4/contrib/llvm-project/libcxx/include/__type_traits/type_list.h:36: reference to unresolved using declaration                                                   
Error: /home/ubuntu/repo/ch4/contrib/llvm-project/libcxx/include/__type_traits/aligned_storage.h:28: reference to unresolved using declaration
[...]                                             

which is the same as in CI [3].

@azat @Felixoid

[1] https://clickhouse.com/codebrowser/ClickHouse/index.html (folder src/ is missing)
[2] https://github.com/ClickHouse/ClickHouse/pull/49678/files#diff-74ee3d6d5fdb9cd435096b93d713eeaa6130eeea2ed045fb1dd71d68fcfccaa7
[3] https://s3.amazonaws.com/clickhouse-test-reports/0/8b77e2096cdd601c2797f930637ddef419e382be/woboq_build/run.log

Metadata

Metadata

Labels

buildnot plannedKnown issue, no plans to fix it currenlty

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions