Date: Mon, 10 Sep 2007 09:07:13 +1000 From: Edwin Groothuis <edwin@mavetju.org> To: ports@freebsd.org Subject: Installing KLD modules on AMD64 Message-ID: <20070909230713.GJ1390@k7.mavetju>
next in thread | raw e-mail | index | archive | help
FYI: According to ports/100703 and ports/115517, the macro INSTALL_PROGRAM corrupts .ko files on AMD64 machines: You cannot strip kernel modules on amd64, because modules are elf object files, as opposed to shared objects on all other archs. Strip strips the object file symbol table, that is used by the static linker and in-kernel linker on amd64. On the other hand, shared object contains also a dynamic symbol table, that is not stripped and used by in-kernel linker on !amd64. To overcome this problem I have submitted ports/116200 which adds the INSTALL_KLD command which can be used to properly install .ko files without the fear of them being stripped. Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070909230713.GJ1390>