]> xenbits.xensource.com Git - unikraft/libs/libcxxabi.git/log
unikraft/libs/libcxxabi.git
18 months agoIntroduce `Library.uk` stable staging RELEASE-0.15.0 RELEASE-0.16.0
Alexander Jung [Tue, 11 Jul 2023 21:25:56 +0000 (21:25 +0000)]
Introduce `Library.uk`

This new file represents the first step towards proper versioning support of
external microlibrary in Unikraft.  The file itself acts as mechanism for
holding metadata-only values about the microlibrary.  This metadata is designed
to be compatible with GNU Make whilst simultaneously being human-readable and
readable by programs that are not GNU Make (e.g. tools such as KraftKit).

An important feature of this file is the inclusion of microlibrary versions.
In a later step, once relevant integrations have been made to Unikrat's core
build system and to relevant tools such as KraftKit, the user will be able to
see and select from different versions of the microlibrary.

In this initial commit, the relevant metadata is absorbed from both Makefile.uk,
Config.uk, but also includes new information such as SPDX License identifier.

Signed-off-by: Alexander Jung <alex@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #5

23 months agopatches: Use unikraft syscall in cxa_guard RELEASE-0.14.0
Andrei Tatar [Fri, 5 May 2023 18:29:23 +0000 (20:29 +0200)]
patches: Use unikraft syscall in cxa_guard

This patch replaces calls to libc syscall() with short-circuited
unikraft-specific static implementations of these syscalls.

Co-authored-by: Marco Schlumpp <marco@unikraft.io>
Signed-off-by: Marco Schlumpp <marco@unikraft.io>
Signed-off-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Maria Sfiraiala <maria.sfiraiala@gmail.com>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Approved-by: Eduard Vintilă <eduard.vintila47@gmail.com>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #4

23 months agoUpdate to LLVM 14.0.6
Andrei Tatar [Fri, 5 May 2023 18:26:38 +0000 (20:26 +0200)]
Update to LLVM 14.0.6

Co-authored-by: Marco Schlumpp <marco@unikraft.io>
Signed-off-by: Marco Schlumpp <marco@unikraft.io>
Signed-off-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Maria Sfiraiala <maria.sfiraiala@gmail.com>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Approved-by: Eduard Vintilă <eduard.vintila47@gmail.com>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #4

23 months agoMakefile.uk: Sort library sources
Andrei Tatar [Fri, 5 May 2023 19:23:42 +0000 (21:23 +0200)]
Makefile.uk: Sort library sources

Signed-off-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Maria Sfiraiala <maria.sfiraiala@gmail.com>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Approved-by: Eduard Vintilă <eduard.vintila47@gmail.com>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #4

2 years agoConfig.uk: Fix dependencies with libunwind RELEASE-0.11.0 RELEASE-0.12.0 RELEASE-0.13.0 RELEASE-0.13.1
Stefan Jumarea [Sat, 10 Sep 2022 16:26:22 +0000 (19:26 +0300)]
Config.uk: Fix dependencies with libunwind

`libcxxabi` and `libunwind` create circular
dependencies. Since libraries like `libcompiler-rt`
and `cxx` depend on `libunwind`, it's more intuitive
to remove the `libcxxabi` requirement of `libunwind`
and make `libunwind` select `libcxxabi`.

Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Razvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Reviewed-by: Sergiu Moga <sergiu.moga@protonmail.com>
Approved-by: Razvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #2

3 years agoCorrect license headers introduced by University Politehnica of Bucharest RELEASE-0.10.0 RELEASE-0.6 RELEASE-0.7.0 RELEASE-0.8.0 RELEASE-0.9.0
Simon Kuenzer [Tue, 13 Jul 2021 19:14:11 +0000 (21:14 +0200)]
Correct license headers introduced by University Politehnica of Bucharest

This commit removes the additional clause
"THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY"
from BSD license headers that got introduced by mistake
with the following commits:
 2142245 - Initial public release: configuration and build files (Vlad-Andrei BĂDOIU (78692))

On the one hand, this additional clause is redundant because
the BSD license already states that it must remain and the
copyright notice must be kept.
On the other hand, the clause freezes the file header
and prohibits future contributors from extending the
copyright notice for their contributions. This additional
clause is not part of the official BSD 3-clause.

The original author(s) or an authorized representative from
the author's affiliation consents to the change with a
`Reviewed-by` tag to this commit.

Signed-off-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Reviewed-by: Razvan Deaconescu <razvan.deaconescu@cs.pub.ro>
5 years agoAdd supress flags for cleaner build. RELEASE-0.4 RELEASE-0.5
Felipe Huici [Thu, 13 Feb 2020 20:45:33 +0000 (21:45 +0100)]
Add supress flags for cleaner build.

Signed-off-by: Felipe Huici <felipe.huici@neclab.eu>
Reviewed-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
5 years agoUncomment thread option checks
Vlad-Andrei BĂDOIU (78692) [Tue, 14 Jan 2020 16:16:14 +0000 (16:16 +0000)]
Uncomment thread option checks

Commit 84107fa4 added an option for thread support but the Makefile
toggle was commented.

Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@stud.acs.upb.ro>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
5 years agoConfig.uk: Remove CXX_THREADS dependency for LIBCXXABI_THREADS
Costin Lupu [Wed, 4 Dec 2019 11:18:04 +0000 (13:18 +0200)]
Config.uk: Remove CXX_THREADS dependency for LIBCXXABI_THREADS

... because LIBCXX depends on LIBCXXABI.

Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@stud.acs.upb.ro>
5 years agoWe add a config option to toggle the thread support. This means adding the
Felipe Huici [Mon, 11 Nov 2019 13:37:06 +0000 (14:37 +0100)]
We add a config option to toggle the thread support. This means adding the
source cxa_thread_atexit.cpp and not defining _LIBCXXABI_HAS_NO_THREADS.

Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@stud.acs.upb.ro>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
5 years agoMakefile.uk: Rename SUPPRESS_FLAGS to LIBCXXABI_SUPPRESS_FLAGS
Costin Lupu [Sat, 12 Oct 2019 12:27:48 +0000 (15:27 +0300)]
Makefile.uk: Rename SUPPRESS_FLAGS to LIBCXXABI_SUPPRESS_FLAGS

Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
5 years agoRemove exportsyms.uk
Vlad-Andrei BĂDOIU (78692) [Wed, 9 Oct 2019 14:22:37 +0000 (14:22 +0000)]
Remove exportsyms.uk

We remove the exportsyms.uk file due to issues with name mangling.

Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@stud.acs.upb.ro>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
5 years agoSupress unused-parameter warnings
Costin Lupu [Sun, 2 Jun 2019 13:27:44 +0000 (16:27 +0300)]
Supress unused-parameter warnings

Origin code generates "unused-parameter" warnings.

Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
6 years agoAdd exported symbols
Vlad-Andrei BĂDOIU (78692) [Sun, 7 Apr 2019 11:34:50 +0000 (11:34 +0000)]
Add exported symbols

This patch adds the mangled functions to
exportsyms.uk. Due to the high number of symbols
this is a separate patch.

Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@stud.acs.upb.ro>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
6 years agoInitial public release: configuration and build files
Vlad-Andrei BĂDOIU (78692) [Sun, 7 Apr 2019 11:34:48 +0000 (11:34 +0000)]
Initial public release: configuration and build files

This is our initial port of libcxxabi to Unikraft as an external
library. The Makefile should include the following library
dependencies:

...:$(UK_LIBS)/libunwind:$(UK_LIBS)/compiler-rt:
$(UK_LIBS)/libcxxabi:$(UK_LIBS)/libcxx:$(UK_LIBS)/newlib:...

Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@stud.acs.upb.ro>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
6 years agoAdd .gitignore
Vlad-Andrei BĂDOIU (78692) [Sun, 7 Apr 2019 11:34:47 +0000 (11:34 +0000)]
Add .gitignore

Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@stud.acs.upb.ro>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
6 years agoInitial commit (empty)
Vlad-Andrei Badoiu [Thu, 28 Mar 2019 18:08:14 +0000 (20:08 +0200)]
Initial commit (empty)