Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

busybox compiler crash with gcc 13 analyzer #11285

Open
priv-kweihmann opened this issue May 27, 2023 · 0 comments
Open

busybox compiler crash with gcc 13 analyzer #11285

priv-kweihmann opened this issue May 27, 2023 · 0 comments
Labels
bug Something isn't working Not our bug Bug is not caused by sca implementation

Comments

@priv-kweihmann
Copy link
Owner

Describe the bug
Gcc 13 with analyzer support crashes on compiling busybox - see log below.
Looks like a bug in gcc

Additional

| during IPA pass: analyzer
| libbb/rtc.c: In function 'rtc_tm2time':
| libbb/rtc.c:104:25: internal compiler error: in mark_as_escaped, at analyzer/store.cc:3005
|   104 |                         putenv(oldtz - 3);
|       |                         ^~~~~~~~~~~~~~~~~
| 0x1ac460e internal_error(char const*, ...)
| 	???:0
| 0x693700 fancy_abort(char const*, int, char const*)
| 	???:0
| 0xfae525 ana::kf_putenv::impl_call_pre(ana::call_details const&) const
| 	???:0
| 0xfc186e ana::region_model::on_call_pre(gcall const*, ana::region_model_context*)
| 	???:0
| 0xfc192c ana::region_model::on_stmt_pre(gimple const*, bool*, ana::region_model_context*)
| 	???:0
| 0xf9bcfc ana::exploded_node::on_stmt(ana::exploded_graph&, ana::supernode const*, gimple const*, ana::program_state*, ana::uncertainty_t*, ana::path_context*)
| 	???:0
| 0xf9e60f ana::exploded_graph::process_node(ana::exploded_node*)
| 	???:0
| 0xf9f3d2 ana::exploded_graph::process_worklist()
| 	???:0
| 0xfa14e2 ana::impl_run_checkers(ana::logger*)
| 	???:0
| 0xfa29df ana::run_checkers()
| 	???:0
| Please submit a full bug report, with preprocessed source (by using -freport-bug).
| Please include the complete backtrace with any bug report.
| See <https://gcc.gnu.org/bugs/> for instructions.
@priv-kweihmann priv-kweihmann added bug Something isn't working Not our bug Bug is not caused by sca implementation labels May 27, 2023
priv-kweihmann added a commit that referenced this issue May 27, 2023
as there's an apparent bug in new GCC 13 release,
that keeps crashing when running on busybox

Relates to #11285

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Not our bug Bug is not caused by sca implementation
Projects
None yet
Development

No branches or pull requests

1 participant