From owner-freebsd-amd64@FreeBSD.ORG Thu Apr 20 02:37:17 2006 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81D3416A400; Thu, 20 Apr 2006 02:37:17 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AA4C43D46; Thu, 20 Apr 2006 02:37:17 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.199] ([10.0.0.199]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id k3K2bFoX089515 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 19 Apr 2006 19:37:16 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <4446F3DC.2030802@errno.com> Date: Wed, 19 Apr 2006 19:37:16 -0700 From: Sam Leffler Organization: Errno Consulting User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: JoaoBR References: <200604191857.22240.joao@matik.com.br> In-Reply-To: <200604191857.22240.joao@matik.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: ath compile error on releng_5 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Apr 2006 02:37:17 -0000 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 > > Stop in /usr/src/sys/modules/ath_hal. releng5 only has i386 support I believe. Trying to use a 32-bit build in a 64-bit kernel will not work. I'm not sure what you're trying to do but wireless support in releng5 is unlikely to be very satisfying; switch to releng6. Sam