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

P4-SDE build gets failed in openSUSE Tumbleweed #416

Open
Duraisankarp opened this issue Nov 11, 2024 · 0 comments
Open

P4-SDE build gets failed in openSUSE Tumbleweed #416

Duraisankarp opened this issue Nov 11, 2024 · 0 comments

Comments

@Duraisankarp
Copy link

I am trying to build ipdk on openSUSE Tumbleweed and I am getting below error,

I am using GCC14 and the same issue did not happen with GCC-7.5.

In file included from /root/ipdk_build/p4-sde/install/include/tdi/common/tdi_attributes.hpp:35,
from /root/ipdk_build/p4-sde/install/include/tdi/common/tdi_table.hpp:32,
from /root/ipdk_build/p4-sde/install/include/tdi/common/tdi_utils.hpp:28,
from tdi_rt/tdi_port/dpdk/tdi_port_table_impl.cpp:21:
/root/ipdk_build/p4-sde/install/include/tdi/common/tdi_table_key.hpp:198:24: error: 'virtual tdi_status_t tdi::TableKey::getValue(const tdi_id_t&, tdi::KeyFieldValue*) const' was hidden [-Werror=overloaded-virtual=]
198 | virtual tdi_status_t getValue(const tdi_id_t &field_id,
| ^~~~~~~~
In file included from ./tdi_rt/tdi_port/dpdk/tdi_port_table_impl.hpp:22,
from tdi_rt/tdi_port/dpdk/tdi_port_table_impl.cpp:23:
./tdi_rt/tdi_port/tdi_port_table_key_impl.hpp:101:16: note: by 'tdi::PortHdlInfoTableKey::getValue'
101 | tdi_status_t getValue(const tdi_id_t &field_id,
| ^~~~~~~~
/root/ipdk_build/p4-sde/install/include/tdi/common/tdi_table_key.hpp:187:24: error: 'virtual tdi_status_t tdi::TableKey::setValue(const tdi_id_t&, const tdi::KeyFieldValue&)' was hidden [-Werror=overloaded-virtual=]
187 | virtual tdi_status_t setValue(const tdi_id_t &field_id,
| ^~~~~~~~
./tdi_rt/tdi_port/tdi_port_table_key_impl.hpp:95:16: note: by 'tdi::PortHdlInfoTableKey::setValue'
95 | tdi_status_t setValue(const tdi_id_t &field_id,
| ^~~~~~~~

Can we fix the same as GCC-14 mandates the same ?

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