Bug 29251 - The kernel compilation failed because the symbol of the pci_find_host_bridge function could not be found
Summary: The kernel compilation failed because the symbol of the pci_find_host_bridge ...
Status: NEW
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: drivers (show other bugs) drivers
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: GuixinLiu
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-05 13:56 UTC by xyzhou
Modified: 2026-01-05 14:13 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xyzhou 2026-01-05 13:56:48 UTC
Description of problem: 
    编译内核时出现pci_find_host_bridge函数符号找不到。

Version-Release number of selected component (if applicable):
    devel-5.10

How reproducible:
    参考https://openanolis.cn/sig/Hygon-Arch/doc/865622260278236994的编译内核章节,使用https://gitee.com/anolis/hygon-devkit仓库的build_kernel.sh脚本编译内核。

Steps to Reproduce:
1. 拷贝https://gitee.com/anolis/hygon-devkit仓库
2. 在devel-5.10内核源码目录执行上述仓库中的build_kernel.sh脚本即可
3. 编译过程中出现错误日志,找不到pci_find_host_bridge函数符号

Actual results:
    内核编译失败,找不到pci_find_host_bridge函数符号。

Expected results:
   内核编译成功,并输出产物。

Additional info:
    暂无。
Comment 1 小龙 admin 2026-01-05 14:00:57 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/6292
Comment 2 小龙 admin 2026-01-05 14:13:35 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/6293