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! ==== Tracking PR ==== * tracking PR for regressions on [[https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224669|clang6]] ==== Types Of Errors Seen ==== Here is an excerpt from the sorted analysis of build errors from the latest **armv7** run as built by linimon. The [[https://people.freebsd.org/~linimon/tmp/clang6_regressions_summarized.txt|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! Here are some other cases that do not sort as easily: * cannot compute sizeof (unsigned short), 77; not always 'unsigned short'. These seem to be in the configure phase. === Notes === Some of [[/MarkLinimon|MarkLinimon]]'s raw notes are [[https://people.freebsd.org/~linimon/tmp/aarch64_current_regressions.txt|here]], [[https://people.freebsd.org/~linimon/tmp/amd64_maybe.txt|here]], and [[https://people.freebsd.org/~linimon/tmp/clang6_regressions.work|here]]. ==== How To Help ==== [[/MarkLinimon|MarkLinimon]] can provide the wrkdirs on request. (The whole directory is kind of large.) ---- {{tag>Ports Todo}}