From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Sep 12 19:40:05 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4D31106568D for ; Sat, 12 Sep 2009 19:40:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4A7A48FC1C for ; Sat, 12 Sep 2009 19:40:05 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8CJe5I4070987 for ; Sat, 12 Sep 2009 19:40:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8CJe5wk070986; Sat, 12 Sep 2009 19:40:05 GMT (envelope-from gnats) Resent-Date: Sat, 12 Sep 2009 19:40:05 GMT Resent-Message-Id: <200909121940.n8CJe5wk070986@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nathaniel Filardo Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6F95106568F for ; Sat, 12 Sep 2009 19:30:56 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id D6D678FC13 for ; Sat, 12 Sep 2009 19:30:56 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n8CJUuVp047877 for ; Sat, 12 Sep 2009 19:30:56 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n8CJUuSP047876; Sat, 12 Sep 2009 19:30:56 GMT (envelope-from nobody) Message-Id: <200909121930.n8CJUuSP047876@www.freebsd.org> Date: Sat, 12 Sep 2009 19:30:56 GMT From: Nathaniel Filardo To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/138772: emulators/qemu should build on SPARC X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 19:40:05 -0000 >Number: 138772 >Category: ports >Synopsis: emulators/qemu should build on SPARC >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 12 19:40:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Nathaniel Filardo >Release: CURRENT >Organization: >Environment: FreeBSD nwf 8.0-BETA2 FreeBSD 8.0-BETA2 #2: Sun Aug 16 13:00:36 EDT 2009 root@hydra.priv.oc.ietfng.org:/systank/obj/systank/src/sys/NWFKERN sparc64 >Description: emulators/qemu excludes sparc64 via ONLY_FOR_ARCH but there's relatively little that seems to need to change to fix that. >How-To-Repeat: >Fix: Relaxen and watchen das blinkenlights for libmath; this hack for i386 and x68_64 is unneded on sparc64. dyngen-exec.h needs to be told that we define {u,}int64_t already cpu-exec.c needed to include sys/ucontext.h on FreeBSD too, not just Linux cpu-exec.c:cpu_signal_handler needed to be told in the right spot : #elif defined(__FreeBSD__) ucontext_t *uc = puc; void *sigmask = &uc->sigmask; unsigned long pc = uc->uc_mcontext.mc_tpc; How much of this should be worked around in ports vs. how much should go upstream I am not sure. I'm also not sufficiently familiar with the workings of ports to propose a patch, sorry. :) >Release-Note: >Audit-Trail: >Unformatted: