Opened 3 years ago

Closed 2 years ago

#64642 closed defect (fixed)

gcc-11: Internal compiler error when building from source

Reported by: jlries61 (John L. Ries) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: cjones051073 (Chris Jones)
Port: gcc11

Description

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.

Attachments (1)

main.log.gz (1.4 MB) - added by jlries61 (John L. Ries) 3 years ago.
Build log (compressed)

Download all attachments as: .zip

Change History (6)

Changed 3 years ago by jlries61 (John L. Ries)

Attachment: main.log.gz added

Build log (compressed)

comment:1 Changed 3 years ago by jlries61 (John L. Ries)

Get the same when building with gcc-devel; and rebuilding gmp from source (see https://trac.macports.org/ticket/48004) makes no difference.

comment:2 Changed 2 years ago by cjones051073 (Chris Jones)

Do you still see this with the lafest version ?

Version 0, edited 2 years ago by cjones051073 (Chris Jones) (next)

comment:3 Changed 2 years ago by cjones051073 (Chris Jones)

Cc: cjones051073 added

comment:4 Changed 2 years ago by jlries61 (John L. Ries)

Build ran normally. I think this can probably now be closed.

comment:5 Changed 2 years ago by cjones051073 (Chris Jones)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.