[Rebuild Kernel] Part of the kernel functions are not recompiled when rebuilding the kernel
Hans Petter Selasky
hps at selasky.org
Tue Mar 10 07:52:58 UTC 2015
On 03/09/15 21:18, Yue Chen wrote:
> Hi all,
>
> When I used my customized LLVM (insert some instructions after each basic
> block) to rebuild the 10.1-RELEASE kernel, I found that about 10% of the
> kernel functions (in a continuous address range, in "objdump -S kernel",
> about 79%-88%) are not recompiled with my LLVM (does not have the feature
> of my customized LLVM). For example, these functions:
>
> calc_rebuild_progress
> ID_TO_VDEV
> ldm_spinup_vdev
> hpt27xx_ldm_suspend
> ldm_start_rebuild
> hptnr_ldm_acquire_lock
> __ldm_finish_cmd
>
> I believe the rebuilding process would do a CLEAN first. Maybe something is
> wrong with my building process? I followed the instructions here:
> https://www.freebsd.org/doc/en/books/handbook/kernelconfig-building.html
>
> Or these functions are in kernel modules that are statically linked?
>
> Best regards and thanks,
> Yue
Hi,
Is your source tree is clean from object files?
--HPS
More information about the freebsd-hackers
mailing list