-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: fixed cygwin build with malloc wrap #27473
Conversation
fixes dual allocation heap bug See https://cygwin.com/pipermail/cygwin/2000-July/038916.html
fixes dual allocation heap bug See https://cygwin.com/pipermail/cygwin/2000-July/038916.html
@tridge thanks for the fix! |
4d942f4
to
5ac71d4
Compare
it starts and runs for me fine. |
At the moment I tried with the copter, compiling the master right, it runs it but closes it right away. #!/bin/bash |
I've put working copter here: |
Thanks, indeed yours works, mine doesn't but it doesn't give any error in compilation, nice mystery! |
I deleted Cygwin completely and reinstalled from scratch with the wiki options, compiled the exe all the time with no problems but it keeps closing. |
@robustini I have tested the version built by CI which is what we distribute, and it works, so I will merge so SITL works again |
I'm continuing to investigate because what I've described is happening here, but I'm not coming out of it, and I won't be I think the only one with this problem. |
on Cygwin we need to wrap _malloc_r not malloc
See https://cygwin.com/pipermail/cygwin/2000-July/038916.html
fixes #27197