You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to build sonic-platform-rd98dx35xx-x86_1.0_amd64.deb fails on master for marvell amd 64 with the following error:
/sonic/platform/marvell/sonic-platform-marvell/rd98dx35xx-x86/mrvl-modules/cpssEnabler/linuxNoKernelModule/drivers/dmaDriver2.c: In function 'mvdma_free_dma_mapping':
/sonic/platform/marvell/sonic-platform-marvell/rd98dx35xx-x86/mrvl-modules/cpssEnabler/linuxNoKernelModule/drivers/dmaDriver2.c:219:49: error: implicit declaration of function 'phys_to_page'; did you mean 'pmd_to_page'? [-Werror=implicit-function-declaration]
219 | if (PageReserved((struct page *)phys_to_page(p))) {
| ^~~~~~~~~~~~
| pmd_to_page
/sonic/platform/marvell/sonic-platform-marvell/rd98dx35xx-x86/mrvl-modules/cpssEnabler/linuxNoKernelModule/drivers/dmaDriver2.c:219:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
219 | if (PageReserved((struct page *)phys_to_page(p))) {
| ^
cc1: some warnings being treated as errors
Steps to reproduce the issue:
make init
make configure BLDENV=bookworm DOCKER_BUILDKIT=0 PLATFORM=marvell
make target/debs/bookworm/sonic-platform-rd98dx35xx-x86_1.0_amd64.deb SONIC_BUILD_JOBS=15 NOBUSTER=1 NOBULLSEYE=1 BLDENV=bookworm PLATFORM=marvell
Describe the results you received:
Build failed with a implicit-function-declaration error
Describe the results you expected:
Build to succeed
Output of show version:
NA
Output of show techsupport:
NA
Additional information you deem important (e.g. issue happens only occasionally):
Description
Trying to build sonic-platform-rd98dx35xx-x86_1.0_amd64.deb fails on master for marvell amd 64 with the following error:
Steps to reproduce the issue:
Describe the results you received:
Build failed with a implicit-function-declaration error
Describe the results you expected:
Build to succeed
Output of
show version
:NA
Output of
show techsupport
:NA
Additional information you deem important (e.g. issue happens only occasionally):
output_make.txt
The text was updated successfully, but these errors were encountered: