Bug #66887
closedseastar - width/precision is not integer
0%
Description
Make check show,
ERROR 2024-07-10 05:40:12,357 seastar - width/precision is not integer
Updated by Rongqi Sun over 1 year ago
Hi @Matan Breizman @Yingxin Cheng Could you have a look?
Updated by Matan Breizman over 1 year ago ยท Edited
Looks like fmt issue:
FMT_CONSTEXPR void check_dynamic_spec(int arg_id) {
if (arg_id < num_args_ && types_ && !is_integral_type(types_[arg_id]))
this->on_error("width/precision is not integer");
}
Updated by Rongqi Sun over 1 year ago
Yes, it is fmt related.
Seems like some servers like omani001, not sure why, but the server's clang links libgcc12 (others link libgcc11), cause a check:
template <typename Char, typename ErrorHandler>
FMT_CONSTEXPR void
basic_format_parse_context<Char, ErrorHandler>::check_dynamic_spec(int arg_id) {
if (detail::is_constant_evaluated()) {
using context = detail::compile_parse_context<Char, ErrorHandler>;
static_cast<context*>(this)->check_dynamic_spec(arg_id);
}
}
After I degraded to libgcc11, the issue disappeared. But I need more time to figure it out.
Updated by Rongqi Sun over 1 year ago
@Matan Breizman @Kefu Chai Seem like same as https://github.com/llvm/llvm-project/issues/55638
I prefer to upgrade FMT version because it add 'gcc version check'. Any opinion?
Updated by Matan Breizman over 1 year ago
Rongqi Sun wrote in #note-4:
@Matan Breizman @Kefu Chai Seem like same as https://github.com/llvm/llvm-project/issues/55638
I prefer to upgrade FMT version because it add 'gcc version check'. Any opinion?
Are you suggesting that upgrading fmt version will help us to avoid this issue?
Note, fmt is included as a submodule in Ceph.
Updated by Rongqi Sun over 1 year ago
Are you suggesting that upgrading fmt version will help us to avoid this issue?
Yes
Note, fmt is included as a submodule in Ceph.
So I ask for comments before PR, not sure what side affects will arise.
Updated by Rongqi Sun over 1 year ago
- Status changed from New to Fix Under Review
- Pull request ID set to 58990
Updated by Casey Bodley over 1 year ago
- Status changed from Fix Under Review to Resolved
Updated by Upkeep Bot 8 months ago
- Merge Commit set to f88d0c94e2c711fc147afe983d21d6acb760e6db
- Fixed In set to v19.3.0-4376-gf88d0c94e2c
- Upkeep Timestamp set to 2025-07-10T19:37:03+00:00
Updated by Upkeep Bot 8 months ago
- Fixed In changed from v19.3.0-4376-gf88d0c94e2c to v19.3.0-4376-gf88d0c94e2
- Upkeep Timestamp changed from 2025-07-10T19:37:03+00:00 to 2025-07-14T22:42:16+00:00
Updated by Upkeep Bot 5 months ago
- Released In set to v20.2.0~2192
- Upkeep Timestamp changed from 2025-07-14T22:42:16+00:00 to 2025-11-01T01:17:11+00:00