Skip to content

fix:ldflags -ldl for earlier glibc version#1274

Merged
xushiwei merged 1 commit intogoplus:mainfrom
luoliwoshang:fix/ldl
Sep 8, 2025
Merged

fix:ldflags -ldl for earlier glibc version#1274
xushiwei merged 1 commit intogoplus:mainfrom
luoliwoshang:fix/ldl

Conversation

@luoliwoshang
Copy link
Member

@luoliwoshang luoliwoshang commented Sep 6, 2025

fixed #1273

root@7387dedfb2ce:~/llgo# llgo run _demo/hello/hello.go 
hello world by println
hello world by fmt.Println
Hello world by c.Printf
root@7387dedfb2ce:~/llgo# cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.6 LTS"

@codecov
Copy link

codecov bot commented Sep 6, 2025

Codecov Report

❌ Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.26%. Comparing base (f41badd) to head (054591c).
⚠️ Report is 37 commits behind head on main.

Files with missing lines Patch % Lines
internal/crosscompile/crosscompile.go 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1274      +/-   ##
==========================================
- Coverage   90.28%   90.26%   -0.02%     
==========================================
  Files          40       40              
  Lines       11704    11706       +2     
==========================================
  Hits        10567    10567              
- Misses       1010     1012       +2     
  Partials      127      127              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@xushiwei xushiwei merged commit 16b3473 into goplus:main Sep 8, 2025
31 of 34 checks passed
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.

llgo v0.11.5: undefined symbol: dladdr at ubuntu20

3 participants