Skip to content

Commit d3e9632

Browse files
M-ElsaeedMohammed Ehab
andauthored
fix: support building on Alpine Linux 3.17+ (musl) without libexecinfo-dev (#204)
* fix: support building on Alpine Linux 3.17+ without libexecinfo-dev Co-authored-by: Mohammed Ehab <moehabe@amazon.com>
1 parent 3c864c8 commit d3e9632

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

deps/aws-lambda-cpp-0.2.6.tar.gz

617 Bytes
Binary file not shown.

tests/integration/docker/Dockerfile.echo.alpine

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,18 @@ RUN apk add --no-cache \
1313

1414
# Stage 2 - build function and dependencies
1515
FROM python-alpine AS build-image
16-
# Install aws-lambda-cpp build dependencies
16+
# Install aws-lambda-cpp build dependencies.
17+
# NOTE: this is the minimal toolchain a customer needs to build awslambdaric
18+
# from source on Alpine. We intentionally do NOT install elfutils-dev: with
19+
# libdw present, the bundled backward-cpp uses the DWARF backend and never
20+
# includes execinfo.h, which would mask the musl/Alpine build issue (#128).
21+
# Without it, backward-cpp falls back to the execinfo.h path - exactly what
22+
# customers hit - so this test genuinely exercises the fix.
1723
RUN apk add --no-cache \
1824
build-base \
1925
libtool \
2026
autoconf \
2127
automake \
22-
elfutils-dev \
2328
make \
2429
cmake \
2530
libcurl

0 commit comments

Comments
 (0)