DragonFly kernel List (threaded) for 2007-08
DragonFly BSD
DragonFly kernel List (threaded) for 2007-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: error in creating amd64 port rtld modules


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Fri, 31 Aug 2007 15:31:16 +0200

Noah yan wrote:
thanks Joerg, you are right. I checked with freebsd kmod.mk, amd64
module linking is special. After merged it in dfly, it is something
like this, i.e. use objcopy to create the rtld module:

[btw, it is "kld", not "rtld"]


ld  -r -d -o scsi_low.ko.debug scsi_low.o scsi_low_pisa.o
awk -f /home/yanyh/gitscm/dragonfly.cvs2git/sys/bus/cam/scsi/../../../conf/kmod_syms.awk
scsi_low.ko.debug  export_syms | xargs -J% objcopy % scsi_low.ko.debug
objcopy --only-keep-debug scsi_low.ko.debug scsi_low.ko.symbols
objcopy --strip-debug --add-gnu-debuglink=scsi_low.ko.symbols
scsi_low.ko.debug scsi_low.ko

could you please change this so that all modules per default carry debug info, i.e. don't get stripped?


thanks
 simon



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]