Skip to content

Commit

Permalink
patch the output binary for glibc 2.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
MrNavaStar committed May 18, 2024
1 parent 1df2711 commit 59c43f8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ on:

jobs:
compile:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4

- name: Compile GDMP
run : make
run : make
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: GDMP
path: ${{ github.workspace }}/gdmp
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ all: gdmp

gdmp: $(SRC)
$(CC) -o $@ $(CFLAGS) $^
./tools/polyfill --target-glibc=2.2.5 gdmp || make clean

install: gdmp
cp gdmp /usr/local/bin
Expand Down
6 changes: 6 additions & 0 deletions tools/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Compiled tools
These tools that aren't present on most linux systems, but are required to build gdmp.

### [Polyfill Glibc](https://github.com/corsix/polyfill-glibc)
This tool patches the compiled binary to be compatible with older versions of glibc, allowing the project to be compiled
on modern systems without containerization.
Binary file added tools/polyfill
Binary file not shown.

0 comments on commit 59c43f8

Please sign in to comment.