-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
libc-provided malloc and free need to be replaced by os_malloc and os_free #11
Comments
Running into the same issue here. Error output:
|
I did try disabling built-in malloc and free in ulibc at some point. But I guess I wasn't able to pass correct parameters via crosstool-NG because the resulting library still had malloc and free. |
Also make sure you use os_sprintf instead of sprintf. |
Add Python3 dir to .gitignore (esp8266#6474)
References to malloc and other functions that use malloc (like sprintf) pull in _sbrk, which isn't available.
Need to tweak libc build so that it would use os_malloc and os_free instead.
The text was updated successfully, but these errors were encountered: