dev-util/ragel fails to build with llvm-next |
||
Issue descriptionThis happens when testing the next version of llvm: https://bugs.chromium.org/p/chromium/issues/detail?id=800984 In the host sdk, dev-util/ragel build fails with new errors from [-Wc++11-narrowing]: common.cpp:37:70: error: constant expression evaluates to 18446744073709551615 which cannot be narrowed to type 'long long' [-Wc++11-narrowing] { "unsigned", "long", "ulong", false, true, false, 0, ULONG_MAX, sizeof(unsigned long) } ^~~~~~~~~ /usr/lib64/clang/6.0.0/include/limits.h:73:19: note: expanded from macro 'ULONG_MAX' #define ULONG_MAX (__LONG_MAX__ *2UL+1UL) ^~~~~~~~~~~~~~~~~~~~~~~ common.cpp:37:70: note: insert an explicit cast to silence this issue { "unsigned", "long", "ulong", false, true, false, 0, ULONG_MAX, sizeof(unsigned long) } ^~~~~~~~~ static_cast<long long>( ) /usr/lib64/clang/6.0.0/include/limits.h:73:19: note: expanded from macro 'ULONG_MAX' #define ULONG_MAX (__LONG_MAX__ *2UL+1UL) ^~~~~~~~~~~~~~~~~~~~~~~ common.cpp:117:64: error: constant expression evaluates to 18446744073709551615 which cannot be narrowed to type 'long long' [-Wc++11-narrowing] { "ulong", 0, "ulong", false, true, false, 0, ULONG_MAX, 8 } ^~~~~~~~~ /usr/lib64/clang/6.0.0/include/limits.h:73:19: note: expanded from macro 'ULONG_MAX' #define ULONG_MAX (__LONG_MAX__ *2UL+1UL) ^~~~~~~~~~~~~~~~~~~~~~~ common.cpp:117:64: note: insert an explicit cast to silence this issue { "ulong", 0, "ulong", false, true, false, 0, ULONG_MAX, 8 } ^~~~~~~~~ static_cast<long long>( ) /usr/lib64/clang/6.0.0/include/limits.h:73:19: note: expanded from macro 'ULONG_MAX' #define ULONG_MAX (__LONG_MAX__ *2UL+1UL) ^~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated.
,
Jan 26 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/overlays/portage-stable/+/77a4e26efca2693d68481768d6c95ce74cc2e84a commit 77a4e26efca2693d68481768d6c95ce74cc2e84a Author: Rahul Chaudhry <rahulchaudhry@chromium.org> Date: Fri Jan 26 03:23:38 2018 dev-util/ragel: add ragel-6.10 ebuild from gentoo. The ebuild is from: https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-util/ragel/ragel-6.10.ebuild with one change: KEYWORDS="*" BUG= chromium:804996 BUG= chromium:805004 TEST='sudo emerge dev-util/ragel' works. Change-Id: I19defb380df1650e0b385eacd0febb3b92b9370b Reviewed-on: https://chromium-review.googlesource.com/884501 Commit-Ready: Rahul Chaudhry <rahulchaudhry@chromium.org> Tested-by: Rahul Chaudhry <rahulchaudhry@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org> [add] https://crrev.com/77a4e26efca2693d68481768d6c95ce74cc2e84a/dev-util/ragel/Manifest [add] https://crrev.com/77a4e26efca2693d68481768d6c95ce74cc2e84a/dev-util/ragel/ragel-6.10.ebuild
,
Jan 26 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/403f433a917b2d163e7c9c8dd2835d9b81025639 commit 403f433a917b2d163e7c9c8dd2835d9b81025639 Author: Rahul Chaudhry <rahulchaudhry@chromium.org> Date: Fri Jan 26 03:23:39 2018 dev-util/ragel: move ebuild to portage-stable. Import ragel-6.10 ebuild in portage-stable and remove from chromiumos-overlay. BUG= chromium:804996 BUG= chromium:805004 TEST='sudo emerge dev-util/ragel' works. CQ-DEPEND=CL:884501 Change-Id: I3748f6f1558f6b9b324b68459b9f0588cbd577f4 Reviewed-on: https://chromium-review.googlesource.com/882225 Commit-Ready: Rahul Chaudhry <rahulchaudhry@chromium.org> Tested-by: Rahul Chaudhry <rahulchaudhry@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org> [delete] https://crrev.com/437f356d9f785a4b539df7bd5b6fcc26fc6f4e98/dev-util/ragel/ragel-6.7-r4.ebuild [delete] https://crrev.com/437f356d9f785a4b539df7bd5b6fcc26fc6f4e98/dev-util/ragel/files/ragel-6.7-narrowing.patch [delete] https://crrev.com/437f356d9f785a4b539df7bd5b6fcc26fc6f4e98/dev-util/ragel/Manifest [delete] https://crrev.com/437f356d9f785a4b539df7bd5b6fcc26fc6f4e98/dev-util/ragel/files/ragel-6.7-config.patch [delete] https://crrev.com/437f356d9f785a4b539df7bd5b6fcc26fc6f4e98/dev-util/ragel/files/ragel-6.7+gcc-4.7.patch [delete] https://crrev.com/437f356d9f785a4b539df7bd5b6fcc26fc6f4e98/dev-util/ragel/files/ragel-6.7-libcxx.patch
,
Jan 26 2018
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Jan 25 2018