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

[BUG]: Facing Issue while compiling vsomeip in gcc version 12.2.0 (Debian 12.2.0-14) #715

Open
itsavi7879 opened this issue May 31, 2024 · 2 comments
Labels

Comments

@itsavi7879
Copy link

vSomeip Version

#6c0e9db

Boost Version

1.74

Environment

GCC version 12.2.0 (debian 12.2.0-14)

Describe the bug

When i am trying to compile the vsomeip library in gcc 9.4.0 (ubuntu 9.4.0-1ubuntu1~20.04.2) i am able to compile vsomeip with below mentioned commands:-
cd vsomeip
rm -rf build
mkdir build
cd build
cmake ..
make -j $(nproc)
make install

it is compiling without throwing any error.
But when i try to run the same set of command in gcc version 12.2.0(Debian 12.2.0-14) , i am getting the error for which i have attached the screenshots.
ERROR:
inlined from 'bool vsomeip_v3::policy::deserialize(const vsomeip_v3::byte_t&, uint32_t&)' at /tmp/vsomeip/implementation/security/src/policy.cpp:71:23:
/usr/include/boost/icl/detail/interval_set_algo.hpp:358:5: error: writing 9 bytes into a region of size 8 [-Werror=stringop-overflow=]
358 | const_cast<value_type&>(key_value(first_))
*

Reproduction Steps

cd vsomeip
rm -rf build
mkdir build
cd build
cmake ..
make -j $(nproc)
make install

Expected behaviour

It should build successfully.
image

Logs and Screenshots

vsomeip_error(1)
vsomeip_error(2)

@itsavi7879 itsavi7879 added the bug label May 31, 2024
@phongt
Copy link

phongt commented Jun 14, 2024

seem like same problem #688

@duartenfonseca
Copy link
Collaborator

@itsavi7879 can you retry with a more recent version? thanks

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

No branches or pull requests

3 participants