Opened 14 years ago

Closed 14 years ago

#22285 closed defect (fixed)

Dynamips fails to build with build_arch=x86_64

Reported by: pho@… Owned by: jstrine@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: x86_64 Cc:
Port: dynamips

Description (last modified by blb@…)

The 64 bit SLnow Leopard 10.6.1 compile fails

Compiling mips64_jit.c
mips64_jit.c:258: warning: 'insn_jump_find' defined but not used
/var/tmp//ccPjqv0Y.s:1323:suffix or operands invalid for `mov'
make: *** [mips64_jit.o] Error 1
make: *** Waiting for unfinished jobs....

This is a Dynamips problem, but a workaround when compiling by hand is to set the DYNAMIPS_ARCH to nojit in the make file and change the sources for includes and libs to /opt/local instead of /usr/local. This may be the patch needed for SL users of Port.

I have seen some advice on using amd_64 as the ARCH, and this does compile successfully, but seg faults (for me) when loading any IOS image. Using the NOJIT option works fine so far.

Change History (3)

comment:1 Changed 14 years ago by blb@…

Description: modified (diff)
Keywords: snowleopard added
Owner: changed from macports-tickets@… to jstrine@…
Port: dynamips added

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Keywords: x86_64 added; snowleopard removed
Summary: Dynamips fails to install under Snow LeopardDynamips fails to build with build_arch=x86_64

comment:3 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.