-
Notifications
You must be signed in to change notification settings - Fork 267
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 failure: x86_64-apple-darwin18.7.0 -> mipsel-linux-muslsf #157
Comments
what's gcc version, etc, you're building? best to paste entire config. |
So whatever the current defaults are. Looks like gcc 9.4.0. |
i tried default config with TARGET=mipsel-linux-muslsf on linux, and it builds without issue. so it appears to be a mac specific issue. |
Okay I'll try again and post the rest of the logs. It looks like this is a longstanding issue with gcc. Sigh. https://www.spinics.net/lists/gcchelp/msg42102.html https://devel.rtems.org/ticket/2300?cversion=0&cnum_hist=4 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62097 There's a patch here to use (GNU) awk instead of GNU sed: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66032 The next error is:
|
Correction, with that patch applied it's possible to build a |
does the patch require gawk, or does it work with posix awk too ?
this seems to suggest the patch didn't declare its prerequisites/dependencies in the Makefile right, as the build without works fine with multiple processes. |
It works with BSD awk (unsure if it deviates from the POSIX spec) since that's what Apple ships by default. Honestly I think the more elegant solution would be to parameterize sed and just set SED=gsed on OSX and require GNU sed to be installed. I don't know enough about MIPS to say, but is there anything that could be taken from the big endian targets instead? |
I should also add I'm not 100% sure that the parallel build was the issue, but I can't think of how my build env would've gotten corrupted otherwise. At this point though it should be easy enough to test on a non-Mac. |
Note: mips-linux-muslsf builds successfully.
The text was updated successfully, but these errors were encountered: