From owner-freebsd-sparc64@FreeBSD.ORG Fri Dec 17 12:56:05 2010 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54C3B1065670 for ; Fri, 17 Dec 2010 12:56:05 +0000 (UTC) (envelope-from mcalderara@phys.ethz.ch) Received: from phd-imap.ethz.ch (phd-imap.ethz.ch [129.132.80.51]) by mx1.freebsd.org (Postfix) with ESMTP id 107618FC1C for ; Fri, 17 Dec 2010 12:56:05 +0000 (UTC) Received: from localhost (phd-mailscan.ethz.ch [192.168.127.2]) by phd-imap.ethz.ch (Postfix) with ESMTP id 1E6BE1612D for ; Fri, 17 Dec 2010 13:38:30 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at phys.ethz.ch Received: from phd-mxin.ethz.ch ([192.168.127.53]) by localhost (phd-mailscan.ethz.ch [192.168.127.2]) (amavisd-new, port 10024) with LMTP id 7ale2BYgFUQ1 for ; Fri, 17 Dec 2010 13:38:30 +0100 (CET) Received: from [10.143.121.104] (gprs55.swisscom-mobile.ch [193.247.250.55]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: camauro@phd-mxin.ethz.ch) by phd-mxin.ethz.ch (Postfix) with ESMTPSA id 6D353E072 for ; Fri, 17 Dec 2010 13:38:29 +0100 (CET) Message-Id: <9992D608-038D-49BE-9E60-C206DB3A2D45@phys.ethz.ch> From: Mauro Calderara To: freebsd-sparc64@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Fri, 17 Dec 2010 13:38:27 +0100 X-Mailer: Apple Mail (2.936) Subject: Unbound from ports: __sparc_utrap: fatal illegal instruction X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Dec 2010 12:56:05 -0000 Hi everybody I'm trying to get a DNS name resolver running on a sparc64 FreeBSD 8.1 within a jail. After having failed with powerdns-recursor (doesn't even compile) I tried unbound from /usr/ports/dns/unbound. That one compiles, but it dies with the following error: /usr/local/etc/rc.d/unbound onestart Starting unbound. __sparc_utrap: fatal illegal instruction __sparc_utrap: fatal illegal instruction Bus error (core dumped) /var/log/messages contains: pid 36192 (unbound), uid 0: exited on signal 10 (core dumped) The error message seems to come from lib/libc/sparc64/sys/ __sparc_utrap.c. The main question is whether this is more of a FreeBSD/sparc64 issue or whether that's a software problem. If it is a FreeBSD/sparc64 problem: what should I try? The error kind of suggests that the binary contains illegal instructions, which would be a compiler issue but I can't tell. Any hints? Best, mauro