Re: fusefs-kmod does not work on 8-STABLE?

看板FB_stable作者時間12年前 (2013/04/27 13:33), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串14/14 (看更多)
On Apr 12, 2013, at 16:28, Alexey Dokuchaev <danfe@nsu.ru> wrote: .... > I've found the culprit: the problem is in this command of the build: > > ld -Bshareable -d -warn-common -o hello.ko.debug hello.kld > > I had put /usr/local/bin in my $PATH before /usr/bin for a reason I don't > currently recall, and have binutils-2.23.1 installed. As a result, ld(1) > in the quoted line above was called from /usr/local/bin/ld, which brought > in all the weird things I was observing: failure of fusefs-kmod, failure > of simple "hello world" KLD, "link_elf: symbol <blah> undefined" messages > when loading snd_hda(4) and nvidia(4) drivers. > > How, does anyone have a clue why new ld(1) plays so badly with our system > toolchain on 8.x (at least)? Maybe because there is almost 10 years difference between those implementations? :-) In any case, to figure out what is different, just try linking the kernel module with the system ld and the ports ld, and comparing "readelf -a" output. Or upload both module versions somewhere, so we can all have a look. _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
文章代碼(AID): #1HUsCTn_ (FB_stable)
討論串 (同標題文章)
文章代碼(AID): #1HUsCTn_ (FB_stable)