-
Notifications
You must be signed in to change notification settings - Fork 54
Description
Product
Amazon Linux 2023
What is your question?
We have golang Lambda Functions built on AWS' arm64v8/amazonlinux:latest. Last week, we started seeing a runtime error on cold start saying GLIBCXX_3.4.30 not found. Despite reverting our Lambda changes to the last known successful deployment, it still gave the same error.
So, we looked into the container we use for building the Lambda, and saw there was an update to arm64v8/amazonlinux:latest . We then tried to pin our build container to the previous tagged version of that container (arm64v8/amazonlinux:2023.6.20250317.2) and it is now working again without the glibc error on cold start.
Given the only difference is in our build container (arm64v8/amazonlinux:latest vs arm64v8/amazonlinux:2023.6.20250317.2), I would like to think there is something in the latest updates that caused the glibc issue. Could this be a potential regression on the latest image?
Reproducible repo using CDK is available at https://github.com/noel-ooh/amazonlinux-glib-issue.