freebsd amr driver for x86_64 on 5.2.1
Prabhakaran, Rajesh
rajeshpr at lsil.com
Wed Oct 6 13:55:36 PDT 2004
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 at freebsd.org) for platform porting related
questions.
Thanks
-Atul
More information about the freebsd-scsi
mailing list