Opened 11 years ago

Closed 2 years ago

#41917 closed defect (fixed)

libgcc-devel @4.9-20131215: internal compiler error: Illegal instruction

Reported by: stavros.vagionitis@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: platipodium (Carsten Lemmen)
Port: libgcc-devel

Description

When I try the sudo port -v upgrade outdated I get the following error

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc49/libgcc-devel/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc49/libgcc-devel/work/build/./gcc/ -B/opt/local/x86_64-apple-darwin10/bin/ -B/opt/local/x86_64-apple-darwin10/lib/ -isystem /opt/local/x86_64-apple-darwin10/include -isystem /opt/local/x86_64-apple-darwin10/sys-include    -g -O2 -Os -O2  -g -O2 -Os -DIN_GCC    -W -Wall -Wwrite-strings -Wcast-qual -Wno-format -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -pipe -fno-common -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -pipe -fno-common -I. -I. -I../.././gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc49/libgcc-devel/work/gcc-4.9-20131215/libgcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc49/libgcc-devel/work/gcc-4.9-20131215/libgcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc49/libgcc-devel/work/gcc-4.9-20131215/libgcc/../gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc49/libgcc-devel/work/gcc-4.9-20131215/libgcc/../include  -DHAVE_CC_TLS -DUSE_EMUTLS -o _multc3_s.o -MT _multc3_s.o -MD -MP -MF _multc3_s.dep -DSHARED -DL_multc3 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc49/libgcc-devel/work/gcc-4.9-20131215/libgcc/libgcc2.c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc49/libgcc-devel/work/gcc-4.9-20131215/libgcc/libgcc2.c: In function '__mulxc3':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc49/libgcc-devel/work/gcc-4.9-20131215/libgcc/libgcc2.c:1966:21: internal compiler error: Illegal instruction
    if (isnan (c)) c = COPYSIGN (0, c);
                     ^
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://trac.macports.org/newticket> for instructions.
make[3]: *** [_mulxc3_s.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc49/libgcc-devel/work/build/x86_64-apple-darwin10/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc49/libgcc-devel/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_release_ports_lang_gcc49/libgcc-devel/work/build'
make: *** [bootstrap] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc49/libgcc-devel/work/build'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc49/libgcc-devel/work/build" && /usr/bin/make -j2 -w bootstrap 
Exit code: 2
Error: org.macports.build for port libgcc-devel returned: command execution failed
Warning: targets not executed for libgcc-devel: org.macports.install org.macports.build org.macports.destroot
Please see the log file for port libgcc-devel for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc49/libgcc-devel/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

Any clues? The current version of gcc is 4.2. I have a MacOSX 10.6.8 64 bit. Following the output of uname -a

Darwin stavrosmac-6.lan 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386 i386 MacBookPro5,5 Darwin

Attachments (1)

main.log (1.3 MB) - added by stavros.vagionitis@… 11 years ago.
Log file for building libgcc-dev

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by stavros.vagionitis@…

Attachment: main.log added

Log file for building libgcc-dev

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: libgcc-dev removed
Owner: changed from macports-tickets@… to mww@…
Port: libgcc-devel added; libgcc-dev removed
Summary: Get error updating to gcc 4.9-20131215libgcc-devel @4.9-20131215: internal compiler error: Illegal instruction

comment:2 Changed 11 years ago by bdm@…

For the same port, compiling in 10.9.1, I get the error that the function darwin_function_section( ) in file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc-devel/work/gcc-4.9-20131222/gcc/config/darwin.c erroneously reaches the end of the function without a return statement, even though it is supposed to return a value.

comment:3 Changed 10 years ago by platipodium (Carsten Lemmen)

Cc: carsten@… added

Cc Me!

Version 0, edited 10 years ago by platipodium (Carsten Lemmen) (next)

comment:4 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from mww@… to macports-tickets@…
Status: newassigned

comment:5 Changed 3 years ago by michaelld (Michael Dickens)

Is this still relevant with gcc-devel now at 12-20210801? I'll take me some effort to get MacOS 10.6 running for testing / debugging.

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

Resolution: fixed
Status: assignedclosed

Latest version builds fine in buildbots.

Note: See TracTickets for help on using tickets.