On 8/24/14 10:54 AM, Joerg Sonnenberger wrote:
On Sun, Aug 24, 2014 at 04:42:46PM +0000, Matt Thomas wrote:Module Name: src Committed By: matt Date: Sun Aug 24 16:42:46 UTC 2014 Modified Files: src/sys/conf: files Log Message: Add entry for kern/kern_ksyms_buf.cThis is wrong, the file is explicitly compiled as part of the kernel linking step and must *not* appear separately on the object list. Joerg
...except that, without this, many arm kernel builds (BEAGLEBONE, MIRABOX, probably others) fail with:
kern_ksyms.o: In function `ksyms_init': /home/riz/src/sys/kern/kern_ksyms.c:224: undefined reference to `db_symtab' /home/riz/src/sys/kern/kern_ksyms.c:224: undefined reference to `db_symtab'/home/riz/src/sys/kern/kern_ksyms.c:225: undefined reference to `db_symtabsize' /home/riz/src/sys/kern/kern_ksyms.c:225: undefined reference to `db_symtabsize'