Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Oct 2004 16:55:28 -0400 
From:      "Prabhakaran, Rajesh" <rajeshpr@lsil.com>
To:        "'freebsd-scsi@freebsd.org'" <freebsd-scsi@freebsd.org>
Subject:   freebsd amr driver for x86_64 on 5.2.1
Message-ID:  <0E3FA95632D6D047BA649F95DAB60E570345E09D@exa-atlanta>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0E3FA95632D6D047BA649F95DAB60E570345E09D>