On Fri, 23 May 2025, Yuyi Wang wrote:

> On Fri, 23 May 2025, Jeremy Drake wrote:
> > Maybe.  MSYS2 doesn't generally advise to rebase on x86_64, but I think
> > Cygwin does as part of its setup/postinstall hooks.  As a hack, I was able
> > to work around this by setting the "dynamicbase" flag on the dlls (it's a
> > long story about why this helps rather than hurts in this particular case)
>
> I believe it is ASLR right? I thought cygwin doesn't support such DLLs on 
> fork.

Right

> If it helps here, should I add this flag for all DLLs & EXEs compiled by Rust?

No.

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to