Skip to content

GHDL build fails on Ubuntu 25.10 due to LLVM 20 incompatibility#489

Open
RISHABH12005 wants to merge 11 commits intoFOSSEE:masterfrom
RISHABH12005:eSim-2.5-Fellowship
Open

GHDL build fails on Ubuntu 25.10 due to LLVM 20 incompatibility#489
RISHABH12005 wants to merge 11 commits intoFOSSEE:masterfrom
RISHABH12005:eSim-2.5-Fellowship

Conversation

@RISHABH12005
Copy link
Copy Markdown

System Information

  • OS: Ubuntu 25.10 (64-bit)
  • eSim Version: 2.5
  • Installation Script: install-eSim.sh
  • Component: NGHDL / GHDL
  • Environment: Oracle VirtualBox 7.2.4

Description

While installing eSim 2.5 on Ubuntu 25.10, the installation fails during the NGHDL setup phase when building GHDL. The installer aborts during the configuration step.

Steps to Reproduce

  1. Clone the eSim repository
  2. Run ./install-eSim.sh --install
  3. Continue with default options
  4. Installation fails during GHDL configuration

Error Output

546763059-ffdf8554-3a61-42d7-b7df-b852dbf6da05

Expected Behavior

The installer should either select a supported LLVM version automatically or notify the user about LLVM incompatibility and suggest a compatible version.

Analysis

Ubuntu 25.10 ships with LLVM 20 by default. GHDL 4.1.0 does not currently support LLVM 20. Even after installing LLVM 17 manually, the build process continues to invoke the default llvm-config, which corresponds to LLVM 20. This suggests that the installer does not explicitly enforce a supported LLVM version.

Attempts Made

  • Installed LLVM 17 manually
  • Verified availability of llvm-config-17
  • Investigated installer scripts related to GHDL configuration
  • Attempted to override LLVM selection using environment variables

Current Status

This issue remains unresolved and appears to require changes in the installer or upstream GHDL support for newer LLVM versions.

@RISHABH12005 RISHABH12005 changed the title E sim 2.5 fellowship GHDL build fails on Ubuntu 25.10 due to LLVM 20 incompatibility Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant