On 17 Nov 2024, Simon Wright wrote...
(in article <lyserpq5wi.fsf@pushface.org>):
Available at [1]. Included tools at v25.0.0.
[1] https://github.com/simonjwright/distributing-gcc/releases/tag/gcc-14.2.0-3
-aarch64
Hi Simon, many thanks for that.
I note that 14.2.0-3 has the same issue as all previous 14.2 versions:
a spurious error message on a simple string concatenation,
which appears only when link-time optimization is called for:
lto-wrapper: note: see the '-flto' option documentation for more information /Users/wf/KDF9/emulation/Source/posix.adb: In function 'posix__output_line': /Users/wf/KDF9/emulation/Source/posix.adb:277:49: warning: '__builtin_memcpy' writing between 1 and 2147483647 bytes into a region of size 0
[-Wstringop-overflow=]
277 | message_line : constant String := message & NL;
| ^
Available at [1]. Included tools at v25.0.0.
[1] https://github.com/simonjwright/distributing-gcc/releases/tag/gcc-14.2.0-3
-aarch64
I can't reproduce.
The only change made to the 14.2.0 compiler release are to do with fixincludes vs SDK16.
-1: gcc-14.2-darwin-r1
-2, -3: gcc-14.2-darwin-r2
warning: '__builtin_memcpy' writing between 1 and 2147483647 bytes
into a region of size 0 [-Wstringop-overflow=]
Bill Findlay wrote:
warning: '__builtin_memcpy' writing between 1 and 2147483647 bytes
into a region of size 0 [-Wstringop-overflow=]
I've seen many occurrences of that bogus warning in Fedora, so it's not unique to Simon's build. Thus the place to report it would
be https://gcc.gnu.org/bugzilla/.
Björn Persson
On 22/11/2024 10:02, Björn Persson wrote:
Bill Findlay wrote:Do you get it only in 14.2.0-*, Björn?
warning: '__builtin_memcpy' writing between 1 and 2147483647 bytesI've seen many occurrences of that bogus warning in Fedora, so it's
into a region of size 0 [-Wstringop-overflow=]
not unique to Simon's build. Thus the place to report it would be
https://gcc.gnu.org/bugzilla/.
Björn Persson
On 22/11/2024 10:02, Björn Persson wrote:
Bill Findlay wrote:
warning: '__builtin_memcpy' writing between 1 and 2147483647 bytes
into a region of size 0 [-Wstringop-overflow=]
I've seen many occurrences of that bogus warning in Fedora, so it's not unique to Simon's build. Thus the place to report it would
be https://gcc.gnu.org/bugzilla/.
Björn PerssonDo you get it only in 14.2.0-*, Björn?
On 22/11/2024 10:02, Björn Persson wrote:
Bill Findlay wrote:
warning: '__builtin_memcpy' writing between 1 and 2147483647 bytes
into a region of size 0 [-Wstringop-overflow=]
I've seen many occurrences of that bogus warning in Fedora, so it's not unique to Simon's build. Thus the place to report it would
be https://gcc.gnu.org/bugzilla/.
Björn PerssonDo you get it only in 14.2.0-*, Björn?
It happened today in GCC 14.2.1 (as packaged in Fedora 41), so no, not
only in 14.2.0.
Simon Wright <simon@pushface.org> writes:
Björn Persson <Bjorn@rombobjörn.se> writes:
It happened today in GCC 14.2.1 (as packaged in Fedora 41), so no, not
only in 14.2.0.
There's no official FSF 14.2.1 release - it may just be like Alire,
which only handles 3 levels, so they call the first packaging of 14.2.0
14.2.1. If you say 'gcc -v' it'll probably say 14.2.0.
Of course I could be completely wrong and Fedora have added lots of
value!
I see some potential for confusion, since there almost certainly will be
an official gcc 14.2.1 release in the near future. That official
release will include code that's not included in what Fedora calls gcc 14.2.1. It's a point release, so I wouldn't expect substantial changes,
but still, I think Fedora should use a different naming scheme.
Simon Wright <simon@pushface.org> writes:
Björn Persson <Bjorn@rombobjörn.se> writes:
It happened today in GCC 14.2.1 (as packaged in Fedora 41), so no, not
only in 14.2.0.
There's no official FSF 14.2.1 release - it may just be like Alire,
which only handles 3 levels, so they call the first packaging of 14.2.0 14.2.1. If you say 'gcc -v' it'll probably say 14.2.0.
I see some potential for confusion, since there almost certainly will be
an official gcc 14.2.1 release in the near future. That official
release will include code that's not included in what Fedora calls gcc 14.2.1. It's a point release, so I wouldn't expect substantial changes,
but still, I think Fedora should use a different naming scheme.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 399 |
Nodes: | 16 (2 / 14) |
Uptime: | 87:56:18 |
Calls: | 8,359 |
Calls today: | 4 |
Files: | 13,162 |
Messages: | 5,896,848 |