Opened 4 years ago
Last modified 4 years ago
#61991 closed defect
Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port gcc10 failed — at Initial Version
Reported by: | neuronphysics | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | gcc10 |
Description
I installed Big Sur on my macos laptop and now I can not compile and build my make file for my c++ code. I am following all the instructions in the internet and I decided to install gcc10 using port. Half way through the installation, I got the following error messages:
sudo port -v -s install gcc1/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10/gcc10/work/gcc-10.2.0/gcc/rtl.h:1229:38: note: expanded from macro 'RTL_CHECK2' #define RTL_CHECK2(RTX, N, C1, C2) ((RTX)->u.fld[N])
~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10/gcc10/work/gcc-10.2.0/gcc/rtl.h:444:5: note: array 'fld' declared here
rtunion fld[1];
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10/gcc10/work/gcc-10.2.0/gcc/config/i386/i386.md:1230:25: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
x11 = XEXP (x10, 1);
~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10/gcc10/work/gcc-10.2.0/gcc/rtl.h:1341:23: note: expanded from macro 'XEXP' #define XEXP(RTX, N) (RTL_CHECK2 (RTX, N, 'e', 'u').rt_rtx)
~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10/gcc10/work/gcc-10.2.0/gcc/rtl.h:1229:38: note: expanded from macro 'RTL_CHECK2' #define RTL_CHECK2(RTX, N, C1, C2) ((RTX)->u.fld[N])
~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10/gcc10/work/gcc-10.2.0/gcc/rtl.h:444:5: note: array 'fld' declared here
rtunion fld[1];
3606 warnings generated. /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10/gcc10/work/gcc-10.2.0/gcc/../move-if-change tmp-automata.c insn-automata.c echo timestamp > s-automata make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10/gcc10/work/build/gcc' make[2]: * [all-stage1-gcc] Error 2 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10/gcc10/work/build' make[1]: * [stage1-bubble] Error 2 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10/gcc10/work/build' make: * [bootstrap-lean] Error 2 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10/gcc10/work/build' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10/gcc10/work/build" && /usr/bin/make -j12 -w bootstrap-lean Exit code: 2 Error: Failed to build gcc10: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10/gcc10/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port gcc10 failed
How can I download gcc10 on my laptop? thanks