From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Sep 8 12:40:06 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5962716A420 for ; Sat, 8 Sep 2007 12:40:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 29CB113C46A for ; Sat, 8 Sep 2007 12:40:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l88Ce6ow045903 for ; Sat, 8 Sep 2007 12:40:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l88Ce5Vh045902; Sat, 8 Sep 2007 12:40:06 GMT (envelope-from gnats) Date: Sat, 8 Sep 2007 12:40:06 GMT Message-Id: <200709081240.l88Ce5Vh045902@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: ports/115517: commit references a PR X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Sep 2007 12:40:06 -0000 The following reply was made to PR ports/115517; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/115517: commit references a PR Date: Sat, 8 Sep 2007 12:31:23 +0000 (UTC) edwin 2007-09-08 12:31:14 UTC FreeBSD ports repository Modified files: palm/uppc-kmod Makefile Log: uppc kmod installation problem on amd64 Please see a discussion thread starting with the following message: http://lists.freebsd.org/pipermail/freebsd-ports/2007-August/042999.html It seems that installation action of uppc-kmod port (do-install target) uses incorrect tool to put uppc.ko in its destination. It seems that the tool (${INSTALL_PROGRAM}) corrupts the .ko, so that it is not a valid kernel module anymore. If I put uppc.ko into /boot/kernel and do kldxref then kldxref complains about missing symbol table in uppc.ko and dumps core. If the module is loaded then it crashes my system. On the other hand, if I simply copy uppc.ko from work directory then it works ok. Essentially this is the same issue as described in the following PR only with another port: http://www.freebsd.org/cgi/query-pr.cgi?pr=100703 Kostik Belousov confirms the issue with stripping kernel modules on amd64: 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. PR: ports/115517 Submitted by: Andriy Gapon Revision Changes Path 1.19 +5 -0 ports/palm/uppc-kmod/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"