[MacPorts] #36656: qemu +target_arm doesn't build with Xcode 4.4.1, Version 4F1003

MacPorts noreply at macports.org
Mon Oct 22 09:38:02 PDT 2012


#36656: qemu +target_arm doesn't build with Xcode 4.4.1, Version 4F1003
-------------------------------+--------------------------------
  Reporter:  tom.mcreynolds@…  |      Owner:  macports-tickets@…
      Type:  defect            |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.1.2
Resolution:                    |   Keywords:
      Port:  qemu              |
-------------------------------+--------------------------------
Changes (by macsforever2000@…):

 * port:   => qemu


Old description:

> Running Macbook pro, mid 2010 with Lion; 10.7.5
> Xcode 4.4.1, version 4F1003, as mentioned above.
>
> Error:
>
> sudo port install qemu +target_arm
> --->  Computing dependencies for qemu
> --->  Fetching archive for qemu
> --->  Attempting to fetch
> qemu-1.2.0_2+target_arm+target_i386+target_x86_64.darwin_11.x86_64.tbz2
> from http://packages.macports.org/qemu
> --->  Attempting to fetch
> qemu-1.2.0_2+target_arm+target_i386+target_x86_64.darwin_11.x86_64.tbz2
> from http://lil.fr.packages.macports.org/qemu
> --->  Attempting to fetch
> qemu-1.2.0_2+target_arm+target_i386+target_x86_64.darwin_11.x86_64.tbz2
> from http://mse.uk.packages.macports.org/sites/packages.macports.org/qemu
> --->  Fetching distfiles for qemu
> --->  Verifying checksum(s) for qemu
> --->  Extracting qemu
> --->  Applying patches to qemu
> --->  Configuring qemu
> --->  Building qemu
> Error: org.macports.build for port qemu returned: command execution
> failed
> Please see the log file for port qemu for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_qemu/qemu/main.log
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: Processing of port qemu failed
>
> Error excerpt from log:
>
> :info:build In file included from
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_qemu/qemu/work/qemu-1.2.0
> /target-arm/op_helper.c:20:
> :info:build
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_qemu/qemu/work/qemu-1.2.0
> /dyngen-exec.h:64:24: error: global register variables are not supported
> :info:build register CPUArchState *env asm(AREG0);
> :info:build                        ^
> :info:build 1 error generated.
> :info:build make[1]: *** [target-arm/op_helper.o] Error 1
> :info:build make[1]: *** Waiting for unfinished jobs....
> :info:build make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_qemu/qemu/work/qemu-1.2.0
> /arm-softmmu'
> :info:build make: *** [subdir-arm-softmmu] Error 2
>

>

>

> Can build and run with older compiler:
>
> sudo port install qemu +target_arm configure.compiler=llvm-gcc-4.2

New description:

 Running Macbook pro, mid 2010 with Lion; 10.7.5
 Xcode 4.4.1, version 4F1003, as mentioned above.

 Error:

 {{{
 sudo port install qemu +target_arm
 --->  Computing dependencies for qemu
 --->  Fetching archive for qemu
 --->  Attempting to fetch
 qemu-1.2.0_2+target_arm+target_i386+target_x86_64.darwin_11.x86_64.tbz2
 from http://packages.macports.org/qemu
 --->  Attempting to fetch
 qemu-1.2.0_2+target_arm+target_i386+target_x86_64.darwin_11.x86_64.tbz2
 from http://lil.fr.packages.macports.org/qemu
 --->  Attempting to fetch
 qemu-1.2.0_2+target_arm+target_i386+target_x86_64.darwin_11.x86_64.tbz2
 from http://mse.uk.packages.macports.org/sites/packages.macports.org/qemu
 --->  Fetching distfiles for qemu
 --->  Verifying checksum(s) for qemu
 --->  Extracting qemu
 --->  Applying patches to qemu
 --->  Configuring qemu
 --->  Building qemu
 Error: org.macports.build for port qemu returned: command execution failed
 Please see the log file for port qemu for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_qemu/qemu/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port qemu failed
 }}}

 Error excerpt from log:

 {{{
 :info:build In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_qemu/qemu/work/qemu-1.2.0
 /target-arm/op_helper.c:20:
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_qemu/qemu/work/qemu-1.2.0
 /dyngen-exec.h:64:24: error: global register variables are not supported
 :info:build register CPUArchState *env asm(AREG0);
 :info:build                        ^
 :info:build 1 error generated.
 :info:build make[1]: *** [target-arm/op_helper.o] Error 1
 :info:build make[1]: *** Waiting for unfinished jobs....
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_qemu/qemu/work/qemu-1.2.0
 /arm-softmmu'
 :info:build make: *** [subdir-arm-softmmu] Error 2
 }}}

 Can build and run with older compiler:

 {{{
 sudo port install qemu +target_arm configure.compiler=llvm-gcc-4.2
 }}}

--

Comment:

 In the future, please use WikiFormatting and fill in the port field.

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


More information about the macports-tickets mailing list