FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update Golang version to fix RIE debugging by joe4dev · Pull Request #74 · localstack/lambda-runtime-init · GitHub

Update Golang version to fix RIE debugging - #74

Merged
joe4dev merged 1 commit into
localstackfrom
update-golang-for-rie-debug
Jan 27, 2026
Merged

Update Golang version to fix RIE debugging#74
joe4dev merged 1 commit into
localstackfrom
update-golang-for-rie-debug

Conversation

joe4dev commented Jan 27, 2026

Copy link
Copy Markdown
Member

@drauedo discovered a RIE debugging issue and fixed it by upgrading the Golang version 🙇‍♂️ 👏

drauedo commented Jan 27, 2026

Copy link
Copy Markdown

This lgmt 🚀

Some context of what happened:
Basically the make build command was failing with the following error:

cd .. && GC_FLAGS="all=-N -l" make ARCH=x86_64 compile-lambda-linux
make[1]: Entering directory '/home/eduardo/lambda-runtime-init'
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -buildvcs=false -ldflags "" -gcflags="all=-N -l" -o bin/aws-lambda-rie-x86_64 ./cmd/localstack
make[1]: Leaving directory '/home/eduardo/lambda-runtime-init'
docker run --rm -v $(pwd)/build-delve/:/app/ golang:1.20-bullseye \
        bash -c "cd /app && export GOARCH=amd64 && ./build.sh"
Cloning into 'delve'...
pkg/logflags/logflags.go:10:2: package log/slog is not in GOROOT (/usr/local/go/src/log/slog)
note: imported by a module that requires go 1.24
make: *** [Makefile:10: build] Error 1
mv: cannot stat 'dlv': No such file or directory
make: *** [Makefile:32: build-delve/dlv] Error 1

I believe this was failing because I'm using go 1.25. Updating the image fixed the issue. However, I'm not sure if this is something we want to do.

gregfurman left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Neat!

joe4dev merged commit f385253 into localstack Jan 27, 2026
2 checks passed
joe4dev deleted the update-golang-for-rie-debug branch January 27, 2026 10:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL