PhantomRun: Auto Repair of Compilation Errors in Embedded Open Source Software

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Fu, Han, Ermedahl, Andreas, Eldh, Sigrid, Wiklund, Kristian, Haller, Philipp, Artho, Cyrille
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866908849636638720
author Fu, Han
Ermedahl, Andreas
Eldh, Sigrid
Wiklund, Kristian
Haller, Philipp
Artho, Cyrille
author_facet Fu, Han
Ermedahl, Andreas
Eldh, Sigrid
Wiklund, Kristian
Haller, Philipp
Artho, Cyrille
contents Continuous Integration (CI) pipelines for embedded software sometimes fail during compilation, consuming significant developer time for debugging. We study four major open-source embedded system projects, spanning over 4000 build failures from the project's CI runs. We find that hardware dependencies account for the majority of compilation failures, followed by syntax errors and build-script issues. Most repairs need relatively small changes, making automated repair potentially suitable as long as the diverse setups and lack of test data can be handled. In this paper, we present PhantomRun, an automated framework that leverages large language models (LLMs) to generate and validate fixes for CI compilation failures. The framework addresses the challenge of diverse build infrastructures and tool chains across embedded system projects by providing an adaptation layer for GitHub Actions and GitLab CI and four different build systems. PhantomRun utilizes build logs, source code, historical fixes, and compiler error messages to synthesize fixes using LLMs. Our evaluations show that PhantomRun successfully repairs up to 45% of CI compilation failures across the targeted projects, demonstrating the viability of LLM-based repairs for embedded-system CI pipelines.
format Preprint
id arxiv_https___arxiv_org_abs_2602_20284
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle PhantomRun: Auto Repair of Compilation Errors in Embedded Open Source Software
Fu, Han
Ermedahl, Andreas
Eldh, Sigrid
Wiklund, Kristian
Haller, Philipp
Artho, Cyrille
Software Engineering
Continuous Integration (CI) pipelines for embedded software sometimes fail during compilation, consuming significant developer time for debugging. We study four major open-source embedded system projects, spanning over 4000 build failures from the project's CI runs. We find that hardware dependencies account for the majority of compilation failures, followed by syntax errors and build-script issues. Most repairs need relatively small changes, making automated repair potentially suitable as long as the diverse setups and lack of test data can be handled. In this paper, we present PhantomRun, an automated framework that leverages large language models (LLMs) to generate and validate fixes for CI compilation failures. The framework addresses the challenge of diverse build infrastructures and tool chains across embedded system projects by providing an adaptation layer for GitHub Actions and GitLab CI and four different build systems. PhantomRun utilizes build logs, source code, historical fixes, and compiler error messages to synthesize fixes using LLMs. Our evaluations show that PhantomRun successfully repairs up to 45% of CI compilation failures across the targeted projects, demonstrating the viability of LLM-based repairs for embedded-system CI pipelines.
title PhantomRun: Auto Repair of Compilation Errors in Embedded Open Source Software
topic Software Engineering
url https://arxiv.org/abs/2602.20284