Re: [MacPorts] #33862: qemu: error: redefinition of ‘flush_icache_range’

MacPorts noreply at macports.org
Fri Aug 3 13:54:18 PDT 2012


#33862: qemu: error: redefinition of ‘flush_icache_range’
--------------------------------+-------------------------------------------
 Reporter:  trog24@…            |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  2.0.4                                
 Keywords:                      |        Port:  qemu                                 
--------------------------------+-------------------------------------------

Comment(by ironstorm@…):

 Was looking to get qemu 1.1.1/arm running to try to work on some Raspberry
 Pi images.

 Found the Portfile attached here (thanks btw),  looks like the patch-tcg-
 target-h.diff patch needs to be skipped on OSX 10.8/intel.

 When it's included you get this:
 {{{
   LINK  arm-softmmu/qemu-system-arm
 Undefined symbols for architecture x86_64:
   "_flush_icache_range", referenced from:
       _tcg_prologue_init in tcg.o
       _tcg_gen_code in tcg.o
 ld: symbol(s) not found for architecture x86_64
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 make[1]: *** [qemu-system-arm] Error 1
 make: *** [subdir-arm-softmmu] Error 2
 }}}

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


More information about the macports-tickets mailing list