Opened 3 years ago

Last modified 22 months ago

#62662 closed defect

gcc10 10.3.0 fail to compile on Lion 10.7.5 — at Version 2

Reported by: YesNo801 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: lion Cc:
Port: gcc10

Description (last modified by kencu (Ken))

gcc10 fail to build in Lion 10.7.5

info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10/gcc10/work/gcc-10.3.0/libgcc/libgcc2.c: In function '__mulxc3':
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10/gcc10/work/gcc-10.3.0/libgcc/libgcc2.c:1989:10: internal compiler error: Illegal
 instruction: 4
:info:build  1989 |       if (isinf (a) || isinf (b))
:info:build       |          ^
:info:build libbacktrace could not find executable to open
:info:build Please submit a full bug report,
:info:build with preprocessed source if appropriate.
:info:build See <https://trac.macports.org/newticket> for instructions.
:info:build make[3]: *** [_mulxc3_s.o] Error 1
:info:build make[3]: *** Waiting for unfinished jobs....
:info:build 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/x86_64-apple-darwin11/libgcc'
:info:build make[2]: *** [all-stage1-target-libgcc] Error 2
:info:build 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'
:info:build make[1]: *** [stage1-bubble] Error 2
:info:build 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'
:info:build make: *** [bootstrap-lean] Error 2

Change History (3)

Changed 3 years ago by YesNo801

Attachment: main.log.gz added

comment:1 Changed 3 years ago by kencu (Ken)

It did build on the buildbot.

http://packages.macports.org/gcc10/gcc10-10.3.0_0.darwin_11.x86_64.tbz2

I ran into this on one of my 10.7 machines while building gcc-10.2 as well. It then did build from a clean slate by deactivating all ports first.

gcc is a bit delicate; on MacPorts we have a bit of a problem specifying the assembler, which somewhat is random for complicated reasons...I think that might be relevant to this.

Last edited 3 years ago by kencu (Ken) (previous) (diff)

comment:2 Changed 3 years ago by kencu (Ken)

Description: modified (diff)
Note: See TracTickets for help on using tickets.