[MacPorts] #20197: Binutils 2.19 fails to build on Snow Leopard (10.6) x86_64

MacPorts noreply at macports.org
Mon Sep 7 13:42:32 PDT 2009


#20197: Binutils 2.19 fails to build on Snow Leopard (10.6) x86_64
-------------------------------+--------------------------------------------
 Reporter:  sparcdr@…          |       Owner:  pguyot@…           
     Type:  defect             |      Status:  new                
 Priority:  Normal             |   Milestone:                     
Component:  ports              |     Version:  1.8.0              
 Keywords:                     |        Port:  binutils           
-------------------------------+--------------------------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)


Comment:

 Thanks, Mark. I added `--disable-werror` in r57223 which fixes the x86_64
 build on Snow Leopard. Unfortunately the x86_64/i386 universal build is
 still broken:

 {{{
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
 -I.././binutils -I../bfd -I.././binutils/../bfd -I.././binutils/../include
 -DLOCALEDIR="\"/opt/local/share/locale\""
 -Dbin_dummy_emulation=bin_vanilla_emulation  -I/opt/local/include -W -Wall
 -Wstrict-prototypes -Wmissing-prototypes -O2 -arch x86_64 -arch i386 -c
 readelf.c
 readelf.c: In function 'slurp_rela_relocs':
 readelf.c:724: warning: left shift count >= width of type
 readelf.c:725: warning: right shift count >= width of type
 readelf.c:726: warning: right shift count >= width of type
 readelf.c: In function 'slurp_rel_relocs':
 readelf.c:818: warning: left shift count >= width of type
 readelf.c:819: warning: right shift count >= width of type
 readelf.c:820: warning: right shift count >= width of type
 readelf.c: In function 'get_reloc_symindex':
 readelf.c:862: warning: right shift count >= width of type
 readelf.c: In function 'get_elf_section_flags':
 readelf.c:3995: warning: large integer implicitly truncated to unsigned
 type
 readelf.c:3996: warning: large integer implicitly truncated to unsigned
 type
 readelf.c:3996: error: duplicate case value
 readelf.c:3995: error: previously used here
 readelf.c:3997: warning: large integer implicitly truncated to unsigned
 type
 readelf.c:3997: error: duplicate case value
 readelf.c:3995: error: previously used here
 readelf.c:3998: warning: large integer implicitly truncated to unsigned
 type
 readelf.c:3998: error: duplicate case value
 readelf.c:3995: error: previously used here
 readelf.c:3999: warning: large integer implicitly truncated to unsigned
 type
 readelf.c:3999: error: duplicate case value
 readelf.c:3995: error: previously used here
 readelf.c:4000: warning: large integer implicitly truncated to unsigned
 type
 readelf.c:4000: error: duplicate case value
 readelf.c:3995: error: previously used here
 readelf.c: In function 'dump_ia64_unwind':
 readelf.c:5019: warning: right shift count >= width of type
 readelf.c:5025: warning: right shift count >= width of type
 lipo: can't figure out the architecture type of: /var/tmp//cccfiZDb.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: *** [all] Error 2
 }}}

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


More information about the macports-tickets mailing list