Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22040

Why does gcc keep failing to build within MXE for Apple Silicon?

$
0
0

I used this command to initiate the build after cloning the mxe git:

make gcc MXE_TARGETS=x86_64-w64-mingw32.static

It ran smoothly, until it hit this error:

[build]       gcc                    x86_64-w64-mingw32.staticFailed to build package gcc for target x86_64-w64-mingw32.static!------------------------------------------------------------make[3]: *** Waiting for unfinished jobs....make[3]: *** [lto-dump] Error 1make[3]: *** [f951] Error 1rm gfortran.pod gcc.podmake[2]: *** [all-gcc] Error 2make[1]: *** [build-only-gcc_x86_64-w64-mingw32.static] Error 2real    1m53.069suser    1m54.982ssys 1m14.915s------------------------------------------------------------[log]      /Users/[user]/mxe/log/gcc_x86_64-w64-mingw32.staticmake: *** [/Users/[user]/mxe/usr/x86_64-w64-mingw32.static/installed/gcc] Error 1

I disregarded the error and ran the make command again, and then it gave me this error:

[build]       gcc                    x86_64-w64-mingw32.staticFailed to build package gcc for target x86_64-w64-mingw32.static!------------------------------------------------------------config.status: executing default commandsconfig.status: creating Makefileconfig.status: creating testsuite/Makefileconfig.status: creating config.hconfig.status: executing default commandsmake[1]: *** [build-only-gcc_x86_64-w64-mingw32.static] Error 2real    0m52.300suser    0m35.289ssys 0m35.757s------------------------------------------------------------[log]      /Users/[user]/mxe/log/gcc_x86_64-w64-mingw32.staticmake: *** [/Users/[user]/mxe/usr/x86_64-w64-mingw32.static/installed/gcc] Error 1

I've tried running make clear and restarting the terminal, but to no avail.


Viewing all articles
Browse latest Browse all 22040

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>