Skip to content

Commit

Permalink
sulong: CHANGELOG entry about lazy libsulong++
Browse files Browse the repository at this point in the history
  • Loading branch information
zapster committed Mar 25, 2020
1 parent f50655c commit 9f76be7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions sulong/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

Changes:

* C++ support (libsulong++) is no longer loaded by default. Instead, it is
enabled if `libc++abi` is loaded. Executables (ELF, Mach-O) compiled with
the toolchain usually have a dependency on this library and will continue
to work. Plain bitcode files, which do not allow to specify dependencies,
may fail with an error similar to the following:
```
Global variable _ZNSt3__15ctypeIcE2idE is declared but not defined.
```
This can be solved by either compiling it into a proper executable, or by
specifying the depdendency on the command line (e.g., `lli --lib libc++.so.1 ...`
on Linux or `lib --lib libc++.1.dylib` on macOS).

* Module initialization order is now only based on the dependencies recorded in the
ELF/Mach-O file instead of looking at imported symbols. Consequently, the order
plain bitcode files are initialized might change since they do not allow recording
Expand Down

0 comments on commit 9f76be7

Please sign in to comment.