From owner-freebsd-mips@FreeBSD.ORG Thu Dec 9 09:49:20 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D73781065693 for ; Thu, 9 Dec 2010 09:49:20 +0000 (UTC) (envelope-from freebsd-mips@dino.sk) Received: from loki.netlab.sk (loki.netlab.sk [84.245.65.11]) by mx1.freebsd.org (Postfix) with ESMTP id 571358FC12 for ; Thu, 9 Dec 2010 09:49:19 +0000 (UTC) Received: from door.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: PLAIN milan, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by loki.netlab.sk with esmtp; Thu, 09 Dec 2010 10:48:57 +0100 id 00033C18.4D00A609.00012981 From: Milan Obuch To: freebsd-mips@freebsd.org Date: Thu, 9 Dec 2010 10:49:12 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.5.4; i386; ; ) References: <201012052310.37998.freebsd-mips@dino.sk> <4CFC1B01.4010009@bsdimp.com> In-Reply-To: <4CFC1B01.4010009@bsdimp.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201012091049.14626.freebsd-mips@dino.sk> Cc: Subject: Re: xz in base system trouble on MIPS X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2010 09:49:20 -0000 On Monday 06 December 2010 00:06:41 Warner Losh wrote: > On 12/05/2010 15:10, Milan Obuch wrote: > > Hi, > > > > I am trying to test various system parts and ports building on my RSPRO. > > There is a problem with xz as compiled with base system - trying to > > build misc/mc gives 'unknown file format' error on > > /usr/ports/distfiles/mc-4.7.4.tar.lzma tarball. After commenting out > > IGNORE line in archive/xz Makefile, compilling, installing the port and > > 'cp /usr/local/bin/xz /usr/bin/xz' this error is gone. > > > > What could be root cause of this? As both base system and ports xz is > > version 5.0, I think there must be some error in base system integration > > or some tweaking is not done... > > I always guess endian problems on MIPS or big endian ARM when things > don't work quite right. But I don't see any errors there... I would expect something similar, too. I just asked if somebody encountered this error already so maybe an answer could be known... > First step: diff the sources? No difference found in souces (*.c, *.h), so maybe make infrastructure is different. I will try to compare build process if there are differences. > also, current or stable? current. Milan