fusefs-kmod does not work on 8-STABLE?

Alexey Dokuchaev danfe at nsu.ru
Sat Apr 13 06:42:05 UTC 2013


On Fri, Apr 12, 2013 at 07:12:39PM +0200, Dimitry Andric wrote:
> > 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.

Good idea.  I've uploaded both outputs if someone wants to take a look.
Not surprisingly, "bad" output is shorter: readelf(1) reported only 16
section headers vs. "good" 18 (missing .got, .gnu_debuglink, and empty
.bss, yet having .eh_frame instead).  Haven't look more closely yet:

    http://193.124.210.26/readelf.bad
    http://193.124.210.26/readelf.good

> Or upload both module versions somewhere, so we can all have a look.

Sure, at the same URL, hello{.c,_bad.ko,_good.ko}.  Although it should be
pretty easy to reproduce locally: just install fresh devel/binutils, put
$localbase/bin in front of your $path, and rebuild hello.ko (or any your
favorite module).

./danfe


More information about the freebsd-stable mailing list