From owner-freebsd-stable@FreeBSD.ORG Thu Apr 20 00:18:26 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7011C16A404; Thu, 20 Apr 2006 00:18:26 +0000 (UTC) (envelope-from peter@wemm.org) Received: from daintree.corp.yahoo.com (daintree.corp.yahoo.com [216.145.52.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id 413B843D45; Thu, 20 Apr 2006 00:18:26 +0000 (GMT) (envelope-from peter@wemm.org) Received: by daintree.corp.yahoo.com (Postfix, from userid 2154) id EB06819770; Wed, 19 Apr 2006 17:18:25 -0700 (PDT) From: Peter Wemm To: freebsd-amd64@freebsd.org Date: Wed, 19 Apr 2006 17:18:25 -0700 User-Agent: KMail/1.9.1 References: <200604191857.22240.joao@matik.com.br> In-Reply-To: <200604191857.22240.joao@matik.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200604191718.25783.peter@wemm.org> Cc: freebsd-stable@freebsd.org, JoaoBR Subject: Re: ath compile error on releng_5 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Apr 2006 00:18:26 -0000 On Wednesday 19 April 2006 14:57, JoaoBR wrote: > seems the ath_hal source on releng_5 is i386 and does not compile as > module neither as kernel configuration on amd64 > > ath compiles as module but can not be loaded (exec error) > > I suppose this is a known issue or some needs details? > > ld -d -warn-common -r -d -o ath_hal.ko hal.o ah_osdep.o > ld: Relocatable linking with relocations from format > elf32-i386-freebsd (hal.o) to format elf64-x86-64 (ath_hal.ko) is not ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ > supported *** Error code 1 Something isn't right there. You can't mix 32 and 64 bit binaries. Myy recollection is that on 5.x, the only hal is for i386. Assuming that my recollection is right, you'd have to go to 6.x. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5