gcc4.8 - MacPorts: Installing arm-none-linux-gnueabi-* fails -


i'm trying install toolchain arm cross-compilation. installed gcc 4.8.

the installation of arm-none-linux-gnueabi-gcc fails following output:

$ sudo port install arm-none-linux-gnueabi-* --->  cleaning arm-none-linux-gnueabi-binutils --->  computing dependencies arm-none-linux-gnueabi-gcc --->  fetching archive arm-none-linux-gnueabi-gcc --->  attempting fetch arm-none-linux-gnueabi-gcc-2005q3-2_0.darwin_12.x86_64.tbz2 http://lil.fr.packages.macports.org/arm-none-linux-gnueabi-gcc --->  attempting fetch arm-none-linux-gnueabi-gcc-2005q3-2_0.darwin_12.x86_64.tbz2 http://mse.uk.packages.macports.org/sites/packages.macports.org/arm-none-linux-gnueabi-gcc --->  attempting fetch arm-none-linux-gnueabi-gcc-2005q3-2_0.darwin_12.x86_64.tbz2 http://packages.macports.org/arm-none-linux-gnueabi-gcc --->  fetching distfiles arm-none-linux-gnueabi-gcc --->  verifying checksums arm-none-linux-gnueabi-gcc --->  extracting arm-none-linux-gnueabi-gcc --->  applying patches arm-none-linux-gnueabi-gcc --->  configuring arm-none-linux-gnueabi-gcc --->  building arm-none-linux-gnueabi-gcc error: org.macports.build port arm-none-linux-gnueabi-gcc returned: command execution failed please see log file port arm-none-linux-gnueabi-gcc details:     /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-linux-gnueabi-gcc/arm-none-linux-gnueabi-gcc/main.log report bug, follow instructions in guide: http://guide.macports.org/#project.tickets error: processing of port arm-none-linux-gnueabi-gcc failed 

the content of log file:

version:1 ... :info:build make[1]: *** [cp/decl.o] error 1 :info:build make[1]: *** waiting unfinished jobs.... ... :info:build 10 warnings generated. :info:build 7 warnings generated. :info:build 5 warnings generated. :info:build 60 warnings generated. :info:build 6 warnings generated. :info:build 125 warnings generated. :info:build 20 warnings generated. :info:build rm arm-none-linux-gnueabi-cpp.pod fsf-funding.pod gcov.pod arm-none-linux-gnueabi-gcc.pod gfdl.pod gpl.pod :info:build make[1]: leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-linux-gnueabi-gcc/arm-none-linux-gnueabi-gcc/work/build/gcc' :info:build make: *** [all-gcc] error 2 :info:build make: leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-linux-gnueabi-gcc/arm-none-linux-gnueabi-gcc/work/build' :info:build command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-linux-gnueabi-gcc/arm-none-linux-gnueabi-gcc/work/build" && /usr/bin/make -j8 -w ar_for_target=arm-none-linux-gnueabi-ar as_for_target=arm-none-linux-gnueabi-as ld_for_target=arm-none-linux-gnueabi-ld nm_for_target=arm-none-linux-gnueabi-nm ranlib_for_target=arm-none-linux-gnueabi-ranlib  :info:build exit code: 2 :error:build org.macports.build port arm-none-linux-gnueabi-gcc returned: command execution failed :debug:build error code: childstatus 20512 2 :debug:build backtrace: command execution failed     while executing "system -nice 0 $fullcmdstring"     ("eval" body line 1)     invoked within "eval system $notty $nice \$fullcmdstring"     invoked within "command_exec build"     (procedure "portbuild::build_main" line 8)     invoked within "$procedure $targetname" :info:build warning: targets not executed arm-none-linux-gnueabi-gcc: org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build please see log file port arm-none-linux-gnueabi-gcc details:     /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-linux-gnueabi-gcc/arm-none-linux-gnueabi-gcc/main.log 

thank sharing ideas.

build fsf gcc.

e.g.

    port install arm-none-linux-gnueabi-gcc  configure.compiler=macports-gcc-4.8 

p.s. make sure u have gcc-4.8 installed.

this issue caused command:

    cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-linux-gnueabi-gcc/arm-none-linux-gnueabi-gcc/work/build" && /usr/bin/make -j8 -w ar_for_target=arm-none-linux-gnueabi-ar as_for_target=arm-none-linux-gnueabi-as ld_for_target=arm-none-linux-gnueabi-ld nm_for_target=arm-none-linux-gnueabi-nm ranlib_for_target=arm-none-linux-gnueabi-ranlib  

issueing command output clang:

    ...     in file included /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-linux-gnueabi-gcc/arm-none-linux-gnueabi-gcc/work/gcc-2005q3/gcc/cp/decl.c:11405:     ./gtype-cp.h:410:7: warning: switch condition has boolean value           switch (((*x).u).h.is_lang_type_class)           ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     ./gtype-cp.h:412:14: warning: overflow converting case value switch condition type (2 0) [-wswitch]             case 2:                  ^     ./gtype-cp.h:431:14: error: duplicate case value '0'             case 0:                  ^     ./gtype-cp.h:412:14: note: previous case defined here             case 2:                  ^     ./gtype-cp.h:857:7: warning: switch condition has boolean value           switch (((*x).u).h.is_lang_type_class)           ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     ./gtype-cp.h:859:14: warning: overflow converting case value switch condition type (2 0) [-wswitch]             case 2:                  ^     ./gtype-cp.h:879:14: error: duplicate case value '0'             case 0:                  ^     ./gtype-cp.h:859:14: note: previous case defined here             case 2:                  ^     ./gtype-cp.h:1475:3: warning: switch condition has boolean value       switch (((*x).u).h.is_lang_type_class)       ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     ./gtype-cp.h:1477:10: warning: overflow converting case value switch condition type (2 0) [-wswitch]         case 2:              ^     ./gtype-cp.h:1511:10: error: duplicate case value '0'         case 0:              ^     ./gtype-cp.h:1477:10: note: previous case defined here         case 2: 

Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -