Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@
instead of rejecting the default stop position. [#2801]

### Packages & Distribution
- Lower the Linux glibc floor from 2.31 to 2.28 so released binaries run on
OracleLinux 8 / RHEL 8 (and Debian 10, Ubuntu 18.04+). The target is set via
Zig's `-target <arch>-linux-gnu.2.28`, so the floor is independent of the build
host's glibc; the existing `make ldd` check verifies the maximum required GLIBC
symbol stays within the target for `acton`, `lsp-server-acton`, and `actondb`.
- Change x86_64 Linux builds from statically linked GNU libc to dynamically
linked GNU libc while keeping other libraries statically linked. [#2774,
#2781]
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ endif
# -- Linux ---------------------------------------------------------------------
ifeq ($(shell uname -s),Linux)
OS:=linux
ACTON_ZIG_GLIBC_VERSION ?= 2.31
ACTON_ZIG_GLIBC_VERSION ?= 2.28
export ACTON_ZIG_GLIBC_VERSION
ACTON_STACK_NEEDS_ZIG=1
STACK=CC="$(ACTON_STACK_CC)" CXX="$(ACTON_STACK_CXX)" CFLAGS= CPPFLAGS= LDFLAGS= ACTON_REAL_LD="$(ACTON_STACK_CC)" stack --with-gcc="$(ACTON_STACK_CC)"
Expand Down
2 changes: 1 addition & 1 deletion compiler/tools/zig-cc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ case "$(uname -s)" in
aarch64|arm64) ZIG_ARCH=aarch64 ;;
*) echo "Unsupported architecture for Linux: ${ARCH}" >&2; exit 1 ;;
esac
GLIBC_VERSION="${ACTON_ZIG_GLIBC_VERSION:-2.31}"
GLIBC_VERSION="${ACTON_ZIG_GLIBC_VERSION:-2.28}"
args=()
add_bdeps_include_dirs
add_system_include_dirs
Expand Down
2 changes: 1 addition & 1 deletion compiler/tools/zig-cxx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ case "$(uname -s)" in
aarch64|arm64) ZIG_ARCH=aarch64 ;;
*) echo "Unsupported architecture for Linux: ${ARCH}" >&2; exit 1 ;;
esac
GLIBC_VERSION="${ACTON_ZIG_GLIBC_VERSION:-2.31}"
GLIBC_VERSION="${ACTON_ZIG_GLIBC_VERSION:-2.28}"
args=()
add_bdeps_include_dirs
add_system_include_dirs
Expand Down