[MacPorts] #64642: gcc-11: Internal compiler error when building from source

MacPorts noreply at macports.org
Fri Feb 11 02:11:25 UTC 2022


#64642: gcc-11: Internal compiler error when building from source
----------------------+--------------------
 Reporter:  jlries61  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.7.1
 Keywords:            |       Port:  gcc11
----------------------+--------------------
 We run the following command:


 {{{
 sudo port -s install gcc11

 }}}

 And we get:

 ->  Computing dependencies for gcc11
 --->  Fetching distfiles for gcc11
 --->  Verifying checksums for gcc11
 --->  Extracting gcc11
 --->  Applying patches to gcc11
 --->  Configuring gcc11
 --->  Building gcc11
 Error: Failed to build gcc11: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc11/gcc11/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is
 a bug.
 Error: Processing of port gcc11 failed

 According to the log file, the build fails as follows:

 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macp
 orts.org_release_tarballs_ports_lang_gcc11/gcc11/work/gcc-11.2.0/libgcc/libgcc2.c:
 I
 n function '__mulxc3':
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macp
 orts.org_release_tarballs_ports_lang_gcc11/gcc11/work/gcc-11.2.0/libgcc/libgcc2.c:19
 47:10: internal compiler error: Illegal instruction: 4
 :info:build  1947 |       if (isinf (a) || isinf (b))
 :info:build       |          ^
 :info:build Please submit a full bug report,

 Log is attached.

-- 
Ticket URL: <https://trac.macports.org/ticket/64642>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list