Skip to content

libcxxabi: Bump version to 21.1.8 and fix patches - #8

Open
CristianAndrei1423 wants to merge 1 commit into
unikraft:stagingfrom
CristianAndrei1423:staging
Open

CristianAndrei1423 wants to merge 1 commit into
unikraft:stagingfrom
CristianAndrei1423:staging

Conversation

@CristianAndrei1423

@CristianAndrei1423 CristianAndrei1423 commented Aug 10, 2026 •

Copy link
Copy Markdown
Member

Make both version selectable through menuconfig in Makefile.uk and Config.uk.

When using new version, make it run with C++23 because of new keyword constinit.

Changed patch context means the old patch does not work with the new version. Make versioned sub-directories where each patch lives. Make them get selected with the corresponding version.

Tested functionalities through a minimal C++ app.

Depends-On: unikraft/unikraft#1832
Depends-On: unikraft/unikraft#1876
Depends-On: unikraft/unikraft#1875
Depends-On: unikraft/unikraft#1879
Depends-On: unikraft/unikraft#1856

Make both version selectable through menuconfig in Makefile.uk
and Config.uk.

When using new version, make it run with C++20 because of new
keyword constinit.

Change patches context means the old patch does not work with
the new version. Make versioned sub-directories where each
patch lives. Make them get selected with the coresponding version.

Signed-off-by: Cristian Andrei <cristian.andrei1423@gmail.com>
@razvand
razvand requested a lite review from Copilot August 20, 2026 15:17

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the libcxxabi Unikraft library packaging to support selecting between LLVM upstream releases 14.0.6 and 21.1.8, and adjusts patching and build flags to accommodate the newer version.

Changes:

  • Added a Kconfig choice to select between libcxxabi 14.0.6 and 21.1.8.
  • Updated the build to fetch/apply patches from versioned patch subdirectories.
  • Added a C++ standard flag override for the 21.1.8 build.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
patches/21.1.8/0001-cxa_guard_impl_syscall.patch Adds the 21.1.8-specific syscall-to-uk_syscall_static patch.
patches/14.0.6/0001-cxa_guard_impl_syscall.patch Moves/updates the 14.0.6-specific syscall-to-uk_syscall_static patch into a versioned directory.
Makefile.uk Selects libcxxabi version, updates patch directory to be version-specific, and adds a per-version C++ standard flag.
Config.uk Introduces a menuconfig choice to select the libcxxabi upstream version.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread Makefile.uk
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.

2 participants