From owner-freebsd-scsi@FreeBSD.ORG Wed Oct 6 20:55:35 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D259116A4CE for ; Wed, 6 Oct 2004 20:55:35 +0000 (GMT) Received: from mail0.lsil.com (mail0.lsil.com [147.145.40.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A34443D39 for ; Wed, 6 Oct 2004 20:55:31 +0000 (GMT) (envelope-from rajeshpr@lsil.com) Received: from milmhbs0.lsil.com (mhbs.lsil.com [147.145.1.30]) by mail0.lsil.com (8.12.8/8.12.8) with ESMTP id i96KsFcq005320 for ; Wed, 6 Oct 2004 13:54:15 -0700 (PDT) Received: from EXA-ATLANTA.se.lsil.com (atl1.se.lsil.com [147.145.16.4]) by milmhbs0.lsil.com (8.12.11/8.12.11) with ESMTP id i96KtTFc010355 for ; Wed, 6 Oct 2004 13:55:30 -0700 Received: by exa-atlanta with Internet Mail Service (5.5.2657.72) id ; Wed, 6 Oct 2004 16:55:29 -0400 Message-ID: <0E3FA95632D6D047BA649F95DAB60E570345E09D@exa-atlanta> From: "Prabhakaran, Rajesh" To: "'freebsd-scsi@freebsd.org'" Date: Wed, 6 Oct 2004 16:55:28 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain X-Scanned-By: MIMEDefang 2.39 Subject: freebsd amr driver for x86_64 on 5.2.1 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Oct 2004 20:55:36 -0000 5.2.1 release for x86_64, has issues in creating kernel loadable module for amr driver. c -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/../include -I/usr/include -finline-limit=20000 -fno-common -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /usr/src/sys/modules/amr/../../dev/amr/amr_cam.c ld -d -warn-common -r -d -o amr.kld amr.o amr_pci.o amr_disk.o amr_cam.o touch /usr/src/sys/modules/amr/export_syms awk -f /usr/src/sys/modules/amr/../../conf/kmod_syms.awk amr.kld /usr/src/sys/modules/amr/export_syms | xargs -J% objcopy % amr.kld ld -Bshareable -d -warn-common -o amr.ko amr.kld ld: amr.kld: relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC amr.kld: could not read symbols: Bad value Is their any workaround to create amr.ko Thanks Rajesh. ________________________________ From: Mukker, Atul Sent: Wednesday, October 06, 2004 12:29 PM To: Doelfel, Hardy; Ju, Seokmann Cc: Prabhakaran, Rajesh Subject: freebsd contact for x86_64 port Please contact Scott Long (scottl@freebsd.org) for platform porting related questions. Thanks -Atul