Created attachment 162213 [details] build log SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. get a chrooted gentoo linux with clang profile ( which basically means using clang + libc++ + compiler-rt + libunwind ... ). 2. add similar to next compilation flags ( they should be fine ) to portage's main config ( /etc/portage/make.conf ): -O3 -march=native -pipe -ggdb3 -flto=thin -Werror=odr -Werror=strict-aliasing 3. try to emerge ( emerge is something like download sources, check something, configure, build and link, do some pre-installation stuff, check what previously was installed, maybe delete previous and install new package.) 4. get a compilation error ``` In file included from /var/tmp/portage/dev-util/kdevelop-23.04.3/work/kdevelop-23.04.3/plugins/clang/codecompletion/completionhelper.cpp:9: /var/tmp/portage/dev-util/kdevelop-23.04.3/work/kdevelop-23.04.3/plugins/clang/codecompletion/../duchain/cursorkindtraits.h:217:7: error: integer value -1 is outside the valid range of values [0, 255] for this enumeration type [-Wenum-constexpr-conversion] : static_cast<IntegralType::CommonIntegralTypes>(-1); ^ ``` OBSERVED RESULT compilation failure EXPECTED RESULT compilation success SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: gentoo clang profile (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION attach build logs, environment log of the package generated by gentoo and main config ( assume it's clang profile )
Created attachment 162214 [details] environment stuff
Created attachment 162215 [details] portage's main configuration : /etc/portage/make.conf
*** This bug has been marked as a duplicate of bug 471995 ***