Closed darcagn closed 8 months ago
I guess this could be submitted to the micropython project directly? Or we can maybe add a sed
thing in the port itself..
Damn, what do you guys think? Gotta get this one taken care of... honestly this is kind of their bad, and surely they want to have their own codebase building for FreeBSD? Somebody wanna try PRing this upstream?
Yes I think it’s best to submit a PR to them. It needs to be fixed properly imo.
Alrighty, I mentioned this to @darcagn. He's going to look into submitting a PR upstream, once he verifies that he has a fix that doesn't break micropython for the other platforms... That would be an unwelcome surprise from the Dreamcast scene. lmao.
Submitted a fix upstream based on similar PRs submitted to handle alloca()
for other micropython ports in their tree.
My PR was accepted upstream. micropython now builds fine under FreeBSD. Closing issue as solved.
This error is given on FreeBSD
This header isn't required though, as
alloca
is provided bystdlib.h
. Editingdist/micropython-1.21.0/ports/embed/port/mpconfigport_common.h
and changingalloca.h
tostdlib.h
will fix compilation.