Opened 12 years ago

Last modified 12 years ago

#36656 closed defect

qemu +target_arm doesn't build with Xcode 4.4.1, Version 4F1003 — at Version 2

Reported by: tom.mcreynolds@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: qemu

Description (last modified by mf2k (Frank Schima))

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

Change History (3)

Changed 12 years ago by tom.mcreynolds@…

Attachment: main.log added

Macports log file

comment:1 Changed 12 years ago by tom.mcreynolds@…

Forgot to mention, sudo port install qemu (i.e. without the +target_arm) seems to build without errors

comment:2 Changed 12 years ago by mf2k (Frank Schima)

Description: modified (diff)
Port: qemu added

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

Note: See TracTickets for help on using tickets.