Skip to content

Commit c01a235

Browse files
committed
fixup! build-and-deploy(i686): rebase the .dll base addresses
Let's try this. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent aec0d91 commit c01a235

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,19 +162,22 @@ jobs:
162162
cd C:\git-sdk-32-full
163163
if (!$?) { exit(1); }
164164
165-
$env:PATH += ";$(Get-Location)\usr\bin"
166-
usr\bin\sh.exe -lc "find /usr/lib/perl5/*_perl -name \*.dll >perl-dlls.txt"
165+
$env:MSYSTEM = "MINGW32"
166+
$env:PATH = "$(Get-Location)\usr\bin;" + $env:PATH
167+
sh.exe -lc "set -x && find /usr/lib/perl5/*_perl -name \*.dll >perl-dlls.txt"
167168
type perl-dlls.txt
168-
usr\bin\dash /usr/bin/rebaseall -p -T perl-dlls.txt
169+
dash -x /usr/bin/rebaseall -p -T perl-dlls.txt
169170
170171
# Work around for:
171172
# - address space needed by 'Cwd.dll' is already occupied
172173
# - address space needed by 'Dumper.dll' is already occupied
173174
# etc
174-
usr\bin\bash -lc "/usr/bin/rebase -b 0x61500000 /usr/lib/perl5/core_perl/auto/*/{*,*/*}.dll"
175+
bash -lc "set -x && rebase -b 0x61500000 /usr/lib/perl5/core_perl/auto/*/{*,*/*}.dll"
175176
# Work around for:
176177
# - address space needed by 'Cwd.dll' is already occupied
177-
usr\bin\bash -lc "/usr/bin/rebase -v -b 0x63f00000 /usr/lib/perl5/core_perl/auto/Cwd/Cwd.dll"
178+
bash -lc "set -x && rebase -v -b 0x63f00000 /usr/lib/perl5/core_perl/auto/Cwd/Cwd.dll"
179+
# verify the base address
180+
bash -lc "set -x && rebase -v -i /usr/lib/perl5/core_perl/auto/Cwd/Cwd.dll"
178181
179182
- name: Get GPG key(s)
180183
shell: bash

0 commit comments

Comments
 (0)