[MacPorts] #24609: arm-elf-binutil architecture error on build

MacPorts noreply at macports.org
Fri Apr 23 08:10:47 PDT 2010


#24609: arm-elf-binutil architecture error on build
------------------------------+---------------------------------------------
 Reporter:  news@…            |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  ports             |     Version:  1.8.2                                
 Keywords:                    |        Port:  arm-elf-binutils                     
------------------------------+---------------------------------------------
Changes (by jmr@…):

 * cc: nomaintainer@…, news@… (removed)
  * port:  arm-elf-binutil => arm-elf-binutils


Old description:

> Building arm-elf-binutils
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-binutils/work/build" && /usr/bin/make
> -j2 all " returned error 2
> Command output:
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.20.51.0.2/binutils/readelf.c: In function
> 'get_elf_section_flags':
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3994: warning:
> large integer implicitly truncated to unsigned type
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3995: warning:
> large integer implicitly truncated to unsigned type
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3995: error:
> duplicate case value
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3994: error:
> previously used here
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3996: warning:
> large integer implicitly truncated to unsigned type
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3996: error:
> duplicate case value
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3994: error:
> previously used here
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3997: warning:
> large integer implicitly truncated to unsigned type
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3997: error:
> duplicate case value
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3994: error:
> previously used here
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3998: warning:
> large integer implicitly truncated to unsigned type
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3998: error:
> duplicate case value
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3994: error:
> previously used here
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3999: warning:
> large integer implicitly truncated to unsigned type
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3999: error:
> duplicate case value
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3994: error:
> previously used here
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.20.51.0.2/binutils/readelf.c: In function
> 'dump_ia64_unwind':
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:5204: warning:
> right shift count >= width of type
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:5210: warning:
> right shift count >= width of type
> lipo: can't figure out the architecture type of:
> /var/folders/Vx/VxZOwU4NGyOjWC8GXIoZnk+++TI/-Tmp-//ccxSAlOK.out
> make[4]: *** [readelf.o] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-binutils] Error 2
> make[1]: *** Waiting for unfinished jobs....
> cc -no-cpp-precomp -I/opt/local/include -DHAVE_CONFIG_H -I.
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-binutils/work/binutils-2.20.51.0.2/gas
> -I.
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-binutils/work/binutils-2.20.51.0.2/gas
> -I../bfd
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.20.51.0.2/gas/config
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.20.51.0.2/gas/../include
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.20.51.0.2/gas/..
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.20.51.0.2/gas/../bfd -I./../intl
> -DLOCALEDIR="\"/opt/local/share/locale\""  -W -Wall -Wstrict-prototypes
> -Wmissing-prototypes -O2 -arch x86_64 -arch i386 -c -o atof-ieee.o `test
> -f 'config/atof-ieee.c' || echo
> '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.20.51.0.2/gas/'`config/atof-ieee.c
> /bin/sh ./libtool --tag=CC   --mode=link cc -no-cpp-precomp
> -I/opt/local/include -W -Wall -Wstrict-prototypes -Wmissing-prototypes
> -O2 -arch x86_64 -arch i386  -L/opt/local/lib -arch x86_64 -arch i386 -o
> as-new app.o as.o atof-generic.o cond.o depend.o dwarf2dbg.o dw2gencfi.o
> ecoff.o ehopt.o expr.o flonum-copy.o flonum-konst.o flonum-mult.o frags.o
> hash.o input-file.o input-scrub.o listing.o literal.o macro.o messages.o
> output-file.o read.o remap.o sb.o stabs.o subsegs.o symbols.o write.o tc-
> arm.o obj-elf.o atof-ieee.o  ../opcodes/libopcodes.la ../bfd/libbfd.la
> ../libiberty/libiberty.a ./../intl/libintl.a
> libtool: link: cc -no-cpp-precomp -I/opt/local/include -W -Wall -Wstrict-
> prototypes -Wmissing-prototypes -O2 -arch x86_64 -arch i386 -arch x86_64
> -arch i386 -o as-new app.o as.o atof-generic.o cond.o depend.o
> dwarf2dbg.o dw2gencfi.o ecoff.o ehopt.o expr.o flonum-copy.o flonum-
> konst.o flonum-mult.o frags.o hash.o input-file.o input-scrub.o listing.o
> literal.o macro.o messages.o output-file.o read.o remap.o sb.o stabs.o
> subsegs.o symbols.o write.o tc-arm.o obj-elf.o atof-ieee.o
> -L/opt/local/lib ../opcodes/.libs/libopcodes.a ../bfd/.libs/libbfd.a
> ../libiberty/libiberty.a ./../intl/libintl.a
> make: *** [all] Error 2
> Error: Status 1 encountered during processing.
> Before reporting a bug, first run the command again with the -d flag to
> get complete output.
> Executing: /opt/local/bin/port install arm-elf-binutils +universal

New description:

 {{{
 Building arm-elf-binutils
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-binutils/work/build" && /usr/bin/make -j2
 all " returned error 2
 Command output:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-
 binutils/work/binutils-2.20.51.0.2/binutils/readelf.c: In function
 'get_elf_section_flags':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-
 binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3994: warning: large
 integer implicitly truncated to unsigned type
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-
 binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3995: warning: large
 integer implicitly truncated to unsigned type
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-
 binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3995: error:
 duplicate case value
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-
 binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3994: error:
 previously used here
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-
 binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3996: warning: large
 integer implicitly truncated to unsigned type
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-
 binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3996: error:
 duplicate case value
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-
 binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3994: error:
 previously used here
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-
 binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3997: warning: large
 integer implicitly truncated to unsigned type
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-
 binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3997: error:
 duplicate case value
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-
 binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3994: error:
 previously used here
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-
 binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3998: warning: large
 integer implicitly truncated to unsigned type
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-
 binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3998: error:
 duplicate case value
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-
 binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3994: error:
 previously used here
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-
 binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3999: warning: large
 integer implicitly truncated to unsigned type
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-
 binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3999: error:
 duplicate case value
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-
 binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:3994: error:
 previously used here
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-
 binutils/work/binutils-2.20.51.0.2/binutils/readelf.c: In function
 'dump_ia64_unwind':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-
 binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:5204: warning: right
 shift count >= width of type
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-
 binutils/work/binutils-2.20.51.0.2/binutils/readelf.c:5210: warning: right
 shift count >= width of type
 lipo: can't figure out the architecture type of:
 /var/folders/Vx/VxZOwU4NGyOjWC8GXIoZnk+++TI/-Tmp-//ccxSAlOK.out
 make[4]: *** [readelf.o] Error 1
 make[3]: *** [all-recursive] Error 1
 make[2]: *** [all] Error 2
 make[1]: *** [all-binutils] Error 2
 make[1]: *** Waiting for unfinished jobs....
 cc -no-cpp-precomp -I/opt/local/include -DHAVE_CONFIG_H -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-binutils/work/binutils-2.20.51.0.2/gas
 -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-binutils/work/binutils-2.20.51.0.2/gas
 -I../bfd
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-
 binutils/work/binutils-2.20.51.0.2/gas/config
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-
 binutils/work/binutils-2.20.51.0.2/gas/../include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-binutils/work/binutils-2.20.51.0.2/gas/..
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-
 binutils/work/binutils-2.20.51.0.2/gas/../bfd -I./../intl
 -DLOCALEDIR="\"/opt/local/share/locale\""  -W -Wall -Wstrict-prototypes
 -Wmissing-prototypes -O2 -arch x86_64 -arch i386 -c -o atof-ieee.o `test
 -f 'config/atof-ieee.c' || echo
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_arm-elf-
 binutils/work/binutils-2.20.51.0.2/gas/'`config/atof-ieee.c
 /bin/sh ./libtool --tag=CC   --mode=link cc -no-cpp-precomp
 -I/opt/local/include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O2
 -arch x86_64 -arch i386  -L/opt/local/lib -arch x86_64 -arch i386 -o as-
 new app.o as.o atof-generic.o cond.o depend.o dwarf2dbg.o dw2gencfi.o
 ecoff.o ehopt.o expr.o flonum-copy.o flonum-konst.o flonum-mult.o frags.o
 hash.o input-file.o input-scrub.o listing.o literal.o macro.o messages.o
 output-file.o read.o remap.o sb.o stabs.o subsegs.o symbols.o write.o tc-
 arm.o obj-elf.o atof-ieee.o  ../opcodes/libopcodes.la ../bfd/libbfd.la
 ../libiberty/libiberty.a ./../intl/libintl.a
 libtool: link: cc -no-cpp-precomp -I/opt/local/include -W -Wall -Wstrict-
 prototypes -Wmissing-prototypes -O2 -arch x86_64 -arch i386 -arch x86_64
 -arch i386 -o as-new app.o as.o atof-generic.o cond.o depend.o dwarf2dbg.o
 dw2gencfi.o ecoff.o ehopt.o expr.o flonum-copy.o flonum-konst.o flonum-
 mult.o frags.o hash.o input-file.o input-scrub.o listing.o literal.o
 macro.o messages.o output-file.o read.o remap.o sb.o stabs.o subsegs.o
 symbols.o write.o tc-arm.o obj-elf.o atof-ieee.o  -L/opt/local/lib
 ../opcodes/.libs/libopcodes.a ../bfd/.libs/libbfd.a
 ../libiberty/libiberty.a ./../intl/libintl.a
 make: *** [all] Error 2
 Error: Status 1 encountered during processing.
 Before reporting a bug, first run the command again with the -d flag to
 get complete output.
 Executing: /opt/local/bin/port install arm-elf-binutils +universal
 }}}

--

Comment:

 Please use attachments for such lengthy output in future. Note that mail
 sent to nomaintainer does not reach anyone, and you do not need to be in
 cc when you are the reporter.

-- 
Ticket URL: <http://trac.macports.org/ticket/24609#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list