Error Failed To Install Arm-elf-binutils
SCAP-on-Apple SmartCard Services WebKit XQuartz Contact Terms of Use Privacy Policy All user-submitted text and content on this website is licensed under a Creative Commons Attribution 2.5 License unless otherwise noted. Copyright © 2011 Apple Inc. All rights reserved. New Ticket Tickets Wiki Browse Source Timeline Roadmap Ticket Reports Search Search: Context Navigation ← Previous TicketNext Ticket → Ticket #45948 (closed defect: fixed) Opened 23 months ago Last modified 19 months ago arm-elf-binutils @2.21.52.0.2_1: build failure Reported by: uwe2@… Owned by: stuartwesterman@… Priority: Normal Milestone: Component: ports Version: 2.3.2 Keywords: Cc: Port: arm-elf-binutils Description (last modified by larryv@…) (diff) I am trying to install the arm-elf-gcc utilities for compiling a camera firmware The installation fails. Please help! OSX 10.10.1 MacPorts 2.3.2 XCODE 6.1 port install arm-elf-gcc +interwork ---> Computing dependencies for arm-elf-gcc ---> Dependencies to be installed: arm-elf-binutils ---> Building arm-elf-binutils Error: org.macports.build for port arm-elf-binutils returned: command execution failed Error: Failed to install arm-elf-binutils Please see the log file for port arm-elf-binutils for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-binutils/arm-elf-binutils/main.log Error: The following dependencies were not installed: arm-elf-binutils To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port arm-elf-gcc failed Attachments main.log (9.2 KB) - added by uwe2@… 23 months ago. main.log main.2.log (239.7 KB) - added by uwe2@… 23 months ago. main log after clean Change History Changed 23 months ago by uwe2@… Attachment main.log added main.log comment:1 Changed 23 months ago by larryv@… Keywords arm elf gcc binutils removed Summary changed from arm-elf-gcc @4.7.3 (cross, devel) Failed to install arm-elf-binutils to arm-elf-binutils: build failure Description modified (diff) Port changed from arm-elf-gcc @4.7.3 to arm-elf-binutils This log isn’t complete. Could you clean, build again, and attach the new log? % sudo port clean arm-elf-binutils % sudo port install arm-elf-binutils Changed 23 months ago by uwe2@… Attachment main.2.log added main log after clean comment:2 Changed 23 months ago by uwe2@… Thank you fo
Sign in Pricing Blog Support Search GitHub This repository Watch 7 Star 5 Fork 6 iDroid-Project/OpeniBoot-toolchain Code Issues 1 Pull requests 0 Projects 0 Pulse Graphs Permalink Branch: master Switch branches/tags Branches Tags master Nothing to show Nothing to show Find file Copy path OpeniBoot-toolchain/build-toolchain.sh Fetching contributors… Cannot retrieve contributors at this time Raw Blame History executable file 341 lines (276 sloc) 7.34 KB #!/bin/bash # # OpeniBoot Toolchain builder # ######### Setup Variables ########### MYDIR="$PWD/`dirname $0`" if uname | grep -iq "darwin"; then declare -i CPU="$(sysctl -an hw.logicalcpu) https://trac.macports.org/ticket/45948 +1" else declare -i CPU="$(cat /proc/cpuinfo | grep processor | wc -l) + 1" fi # Package Verions PKG_NAMES[0]="binutils-2.17.tar.bz2" PKG_NAMES[1]="gcc-4.1.1.tar.bz2" PKG_NAMES[2]="newlib-1.14.0.tar.gz" # Package URLs PKG_URLS[0]="http://ftp.gnu.org/gnu/binutils/binutils-2.17.tar.bz2" PKG_URLS[1]="http://ftp.gnu.org/gnu/gcc/gcc-4.1.1/gcc-4.1.1.tar.bz2" PKG_URLS[2]="ftp://sourceware.org/pub/newlib/newlib-1.14.0.tar.gz" # Package Patches PATCH_GCC411_ARMELF="t-arm-elf.patch" PATCH_NEWLIB_MAKEINFO="newlib-1.14.0-missing-makeinfo.patch" if [ -z "$IPHONELINUXDEV" ]; then PREFIX=/usr/local if uname | grep -iq "darwin"; then NEEDROOT=0 else NEEDROOT=1 fi else PREFIX="$IPHONELINUXDEV" NEEDROOT=0 fi export PATH="$PATH:$PREFIX/bin" # Check for different toolchain prefix if https://github.com/iDroid-Project/OpeniBoot-toolchain/blob/master/build-toolchain.sh [ -z "$TOOLCHAIN_PATH" ]; then TOOLCHAIN_PATH="/tmp/ipl-toolchain" fi #LOG FILE BUILDLOG=build.log ######### Helper functions ########### usage() { echo "Usage: ./build-toolchain.sh clean | make [stage]" echo " if stage is included the build will begin from" echo " there instead of from the beginning" exit 1 } # Holds the value of the current stage so that checkRet can echo it if it fails CURRENT_STAGE="" checkRet() { # Die if return code != 0 if [ $? -ne 0 ]; then if [ -n "$CURRENT_STAGE" ]; then echo "$1 (stage: $CURRENT_STAGE)" else echo "$1" fi exit 1 fi } log() { #execute command redirecting to the log file "$@" >> $TOOLCHAIN_PATH/$BUILDLOG 2>&1 } # Create log file echo > $TOOLCHAIN_PATH/$BUILDLOG STAGE=$2 STAGE_MSG="" stage() { # if $STAGE is not empty then only execute stage if it matches, clearing afterwards # Sets $CURRENT_STAGE and executes the stage if [ -n "$STAGE" -a "$STAGE" != "$1" ]; then STAGE_MSG="" return 0 fi STAGE="" CURRENT_STAGE="$1" echo -en "$STAGE_MSG" STAGE_MSG="" stage_$1 } #Stores a message that will be printed before the next stage #if the next stage is run msg() {
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting http://stackoverflow.com/questions/2231698/how-can-i-easily-install-arm-elf-gcc-on-os-x ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up How can I easily install arm-elf-gcc on OS X? up vote 4 down vote favorite 1 Please let me know if this should be on Server Fault... I've got some code I want to compile which requires error failed arm-elf-gcc. I'm not an embedded programmer, so all this is new to me. My development machine is a Mac and I use fink pretty often, so I'd love to be able to install it that way. However, fink doesn't know of any package with that name. I see that gnuarm.org has some binaries for OS X but their packages seem to also include a bunch of stuff (e.g. gcc) I already have. Am I correct in believing that I need to install error failed to binutils, newlib and a file called t-arm-elf? osx compiler-construction arm gnu share|improve this question asked Feb 9 '10 at 19:05 pr1001 10.7k125299 add a comment| 1 Answer 1 active oldest votes up vote 7 down vote accepted MacPorts supports arm-elf-gcc. $ port search arm-elf arm-elf-binutils @2.20.51.0.2 (cross, devel) FSF Binutils for arm-elf cross development arm-elf-gcc @4.3.2 (cross, devel) gcc cross-compilers for arm-elf, with newlib runtime library. arm-elf-gcc3 @3.4.6 (cross, devel) gcc 3.x cross-compilers for arm-elf, with newlib runtime library. Found 3 ports. Once you install MacPorts, all it would take is: $ sudo port install arm-elf-gcc share|improve this answer answered Feb 9 '10 at 19:09 Ferruccio 67.1k29169259 Ok, thanks. Can MacPorts and Fink play nice together? –pr1001 Feb 9 '10 at 19:24 I've never tried fink, but macports puts everything in /opt/local and updates PATH and MANPATH environment variables. I don't think it has any other impact on the system. –Ferruccio Feb 9 '10 at 19:52 I seem to have problems with it on snow leopard constantly gives me architecture errors on build –xster Apr 23 '10 at 6:08 1 I had the same problem on Snow Leopard a while ago. Running 'port selfupdate' and then retrying the install of arm-elf-gcc worked, so they must have fixed it. –Hudson May 30 '10 at 23:25 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Fa