openharmony-4.0-Release版本代码,linux5.10内核编译报错:ld.lld: error: undefined symbol: __ubsan_handle_cfi_check_fail_abort

ppinger 显示全部楼层 发表于 2024-1-8 11:02:08

环境变量已经配置,内核里增加驱动勾选CONFIG_ROCKCHIP_DW_DP后,使用./make-ohos.sh TB-RK3568X0编译内核报:ld.lld: error: undefined symbol: __ubsan_handle_cfi_check_fail_abort,貌似与hdf_test有关,请教一下这个是什么原因导致的?如何解决?

image.png

您尚未登录,无法参与评论,登录后可以:
参与开源共建问题交流
认同或收藏高质量问答
获取积分成为开源共建先驱

精彩评论2

yyn1994

沙发 发表于 2024-1-25 09:50:16
OpenHarmony-3.2.1-Release  版本也有类似的问题,defconfig  配置 CONFIG_DRIVERS_HDF_PLATFORM_SDIO 后会有 链接报错的问题
ld.lld: error: undefined symbol: SdioClaimHost
>>> referenced by sdio_test.c:341 (drivers/hdf/khdf/test/../../framework/test/unittest/platform/common/sdio_test.c:341)
>>>               hdf/framework/test/unittest/platform/common/sdio_test.oTestSdioDisableFunc) in archive drivers/built-in.a
>>> referenced by sdio_test.c:326 (drivers/hdf/khdf/test/../../framework/test/unittest/platform/common/sdio_test.c:326)
>>>               hdf/framework/test/unittest/platform/common/sdio_test.oTestSdioEnableFunc) in archive drivers/built-in.a
>>> referenced by sdio_test.c:311 (drivers/hdf/khdf/test/../../framework/test/unittest/platform/common/sdio_test.c:311)
>>>               hdf/framework/test/unittest/platform/common/sdio_test.oTestSdioSetBlockSize) in archive drivers/built-in.a
>>> referenced 6 more times

Copyright   ©2023  OpenHarmony开发者论坛  京ICP备2020036654号-3 |技术支持 Discuz!

返回顶部