Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make target/debs/bookworm/sonic-platform-rd98dx35xx-x86_1.0_amd64.deb fails on master for marvell amd64 #20613

Open
CraftyChimera opened this issue Oct 25, 2024 · 0 comments

Comments

@CraftyChimera
Copy link

Description

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:

  1. make init
  2. make configure BLDENV=bookworm DOCKER_BUILDKIT=0 PLATFORM=marvell
  3. 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):

output_make.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant