Skip to content

compilation error: specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 #390

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

Open
gav2xlin opened this issue May 23, 2025 · 0 comments

Comments

@gav2xlin
Copy link

gav2xlin commented May 23, 2025

Hello.

I tried updating the version here conan-io/conan-center-index#27507 and got his compilation error:

In function ‘void* memcpy(void*, const void*, size_t)’,
inlined from ‘fastring::fastring(const void*, size_t)’ at /home/agavrilin/.conan2/p/b/coost990fc061ba698/b/src/include/co/fastring.h:37:15,
inlined from ‘fastring fastring::substr(size_t) const’ at /home/agavrilin/.conan2/p/b/coost990fc061ba698/b/src/include/co/fastring.h:400:73,
inlined from ‘co::vector flag::xx::Mod::analyze_args(co::vector&, co::map<fastring, fastring>&, co::vector&)’ at /home/agavrilin/.conan2/p/b/coost990fc061ba698/b/src/src/flag.cc:472:41:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:33: warning: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
gmake[1]: *** [CMakeFiles/Makefile2:106: src/CMakeFiles/co.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2

Why did you decide not to use semantic versions? It makes difficult to compare versions.

3.0.1 < 3.0.2 < 2025_05_23 (?)

Ubuntu 25.04 x86_64 GCC 15.0.1

@gav2xlin gav2xlin changed the title compilation error: specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 compilation warning: specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 May 23, 2025
@gav2xlin gav2xlin changed the title compilation warning: specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 compilation error: specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 May 23, 2025
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