Opened 8 years ago

Last modified 8 years ago

#49310 new defect

m68k-elf-gcc fails to install on 10.10

Reported by: zeroblue00@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: m68k-elf-gcc

Description

Running Yosemite 10.10.5, sudo port -b install m68k-elf-gcc results in:

--->  Computing dependencies for m68k-elf-gcc
--->  Dependencies to be installed: m68k-elf-binutils
--->  Fetching archive for m68k-elf-binutils
--->  Attempting to fetch m68k-elf-binutils-2.17_0.darwin_14.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/m68k-elf-binutils
--->  Attempting to fetch m68k-elf-binutils-2.17_0.darwin_14.x86_64.tbz2.rmd160 from http://nue.de.packages.macports.org/macports/packages/m68k-elf-binutils
--->  Installing m68k-elf-binutils @2.17_0
--->  Activating m68k-elf-binutils @2.17_0
--->  Cleaning m68k-elf-binutils
--->  Building m68k-elf-gcc
Error: org.macports.build for port m68k-elf-gcc returned: command execution failed

I've tried cleaning and rebuilding several times, and building from source, but it will not complete. All the dependencies seem to build and install fine, though. I've attached the full log as a file.

Attachments (1)

main.log (1.3 MB) - added by zeroblue00@… 8 years ago.
Clean log

Download all attachments as: .zip

Change History (3)

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

The log shows this was not a clean attempt of building m68k-elf-gcc. To generate a clean log, run "sudo port clean m68k-elf-gcc", then try just one more to build it.

The error message shown is:

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_m68k-elf-gcc/m68k-elf-gcc/work/gcc-3.4.6/gcc/libgcc2.c:1277: internal compiler error: in do_SUBST, at combine.c:447
:info:build Please submit a full bug report,
:info:build with preprocessed source if appropriate.
:info:build See <URL:http://gcc.gnu.org/bugs.html> for instructions.

However, 3.4.6 is a really old version of gcc, so they probably aren't interested in hearing about bugs in software that old. Someone with interest in this port should try building a newer version of it and submitting an update to us.

Changed 8 years ago by zeroblue00@…

Attachment: main.log added

Clean log

comment:2 Changed 8 years ago by zeroblue00@…

Thanks for your help, Ryan.

sudo port clean m68k-elf-gcc
sudo port install m68k-elf-gcc

generates the same error. I've replaced the previously attached log. "Internal compiler error" sounds to me like there's a problem with clang. If I use MacPorts to install a more recent GCC, can I then tell MacPorts to try building with that GCC instead of clang?

Note: See TracTickets for help on using tickets.