Re: git: 2c7d84795628 - main - libkldelf: add elf_lookup_symbol function

From: Baptiste Daroussin <bapt_at_freebsd.org>
Date: Tue, 08 Oct 2024 07:36:43 UTC
On Tue 08 Oct 04:29, Ka Ho Ng wrote:
> The branch main has been updated by khng:
> 
> URL: https://cgit.FreeBSD.org/src/commit/?id=2c7d84795628cb9c7a266718b99b6bca68e0a135
> 
> commit 2c7d84795628cb9c7a266718b99b6bca68e0a135
> Author:     Ka Ho Ng <khng@FreeBSD.org>
> AuthorDate: 2024-10-08 04:24:37 +0000
> Commit:     Ka Ho Ng <khng@FreeBSD.org>
> CommitDate: 2024-10-08 04:29:10 +0000
> 
>     libkldelf: add elf_lookup_symbol function
>     
>     The elf_lookup_symbol function looks up the symbol with a given symbol
>     name. A pointer to the GElf_Sym of the symbol is returned if the symbol
>     exists in the opened ELF file.
>     
>     Sponsored by:   Juniper Networks, Inc.
>     Reviewed by:    markj
>     Differential Revision:  https://reviews.freebsd.org/D46764

Taking this mail, but I am not sure this is the commit which causes the issue.
Since this set of commits, incremental building of packages fail!

It seems the linker.hints if not produces anymore:
pkg: Unable to access file
/home/pkgbuild/obj/home/pkgbuild/worktrees/main/amd64.amd64/kernelstage/kernel.MINIMAL/boot/kernel.MINIMAL/linker.hints:No
such file or directory

I can see the kldxref command being run earlier: 

Best regards,
Bapt