-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Compiling error on ubuntu jammy #231
Comments
Hello, Since we cannot reproduce this error, could you please share more details about the compiler and how do you compile the program? Thanks |
Hello, Thanks for your response, I built an erlang/elixir port for libsvm and travis failes on ubuntu jammy. The build report you can find here: https://app.travis-ci.com/github/silviucpp/esvm/jobs/631001690 it has all the necessary information including OS version compiler version: Operating System Details
Description: Ubuntu 22.04.5 LTS
Release: 22.04
Codename: jammy
gcc version
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Here is the verbose compiler flags:
|
Sorry for late reply. |
After more study, we attempt to reproduce the warning with the following code snippets on Ubuntu 22.04 (gcc version 11.4.0):
On another Arch-linux machine with latest gcc 14.2.1, the example can even be more simple:
We regard this as a bug from gcc because the number of bytes in the warning message is unreasonable, showing that gcc somehow wrongly estimates the size we're going to write. |
Nice ! If you report this bug will be nice if you can add here the link to the bug report Silviu |
See the page on GCC Bugzilla: |
So basically from what I understand there are two potential fixes:
Right ? |
Tested on on tag v335
The text was updated successfully, but these errors were encountered: