This is an old revision of the document!
Clang6 is much stricter than previous compilers. Hundreds of packages are no longer buildable due to this. (This affects both -CURRENT and 11-STABLE.)
Advice on how to fix these would be appreciated!
Types Of Errors Seen
Here is an excerpt from the analysis of build errors from the latest arvm7 run as built by linimon. The whole list is available.
- (*29) invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
- (*20) non-constant-expression cannot be narrowed from type '[foo]' in initializer list [-Wc++11-narrowing]
- (*15) invalid operands to binary expression ('[foo]')
- (*12) constant expression evaluates to [foo] which cannot be narrowed to type '[foo]' [-Wc++11-narrowing]
- (*9) comparison between pointer and integer ('[foo]')
- (*8) assigning to '[foo]'
- (*7) cannot initialize return object of type '[foo]'
- (*6) no matching function for call to '[foo]'
- (*5) unresolvable R_ARM_MOVW_ABS_NC relocation against symbol '[foo]'
- (*3) in-class initializer for static data member of type '[foo]' specifier [-Wstatic-float-init]
- (*3) UNREACHABLE executed at /tank/poudriere/jails/head-2018Q2-armv7/usr/src/contrib/llvm/lib/CodeGen/IfConversion.cpp:2004!
How To Help
MarkLinimon can provide the wrkdirs on request. (The whole directory is kind of large.)