[Bug middle-end/118939] [14/15/16 Regression] ada: executable segfaults on arm-linux-gnueabi when assigning an access to controlled type since r14-2653-g2971ff7b1d564a

2025-04-20 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118939 --- Comment #21 from Nicolas Boulenguez --- Created attachment 61162 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61162&action=edit assembly file with 8 combinations of options Hello. Probably too late, but just in case… Here are the as

[Bug ada/81087] array index out of range in gnatlink, making test always false

2025-04-15 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81087 Nicolas Boulenguez changed: What|Removed |Added Attachment #58152|0 |1 is obsolete|

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2025-04-13 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 Nicolas Boulenguez changed: What|Removed |Added Attachment #61037|0 |1 is obsolete|

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2025-04-11 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 --- Comment #38 from Nicolas Boulenguez --- Created attachment 61085 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61085&action=edit variant of v14 patch 2 defining the link symbols in System.OS_Constants This variant of patch 2 in v14 d

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2025-04-08 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 Nicolas Boulenguez changed: What|Removed |Added Attachment #59360|0 |1 is obsolete|

[Bug ada/118939] [14 Regression] ada: executable segfaults on arm-linux-gnueabi when assigning an access to controlled type

2025-02-21 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118939 --- Comment #3 from Nicolas Boulenguez --- The segmentation fault disappears if either -fstack-check or -O1 is removed. (gdb) run Starting program: /home/nicolas/runner [Thread debugging using libthread_db enabled] Using host libthread_db libr

[Bug ada/118939] New: ada: executable segfaults on arm-linux-gnueabi when assigning an access to controlled type

2025-02-19 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118939 Bug ID: 118939 Summary: ada: executable segfaults on arm-linux-gnueabi when assigning an access to controlled type Product: gcc Version: 14.2.0 Status: UNCONFIRMED

[Bug target/118164] executable fails with storage_error on arm when built with -O1 -fstack-clash-protection

2025-02-02 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118164 --- Comment #4 from Nicolas Boulenguez --- Hello. The symptom is similar, but I have no way to tell if it this the same bug. Seen with 14.2.0. cat > main.adb <

[Bug target/118164] executable fails with storage_error on arm when built with -O1 -fstack-clash-protection

2024-12-21 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118164 --- Comment #2 from Nicolas Boulenguez --- As the title says, this issue seems specific to ARM. The full build log for the GCC I have tested is here: https://buildd.debian.org/status/fetch.php?pkg=gcc-14&arch=armel&ver=14.2.0-11&stamp=173422819

[Bug ada/118164] New: executable fails with storage_error on arm when built with -O1 -fstack-clash-protection

2024-12-21 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118164 Bug ID: 118164 Summary: executable fails with storage_error on arm when built with -O1 -fstack-clash-protection Product: gcc Version: 14.2.0 Status: UNCONFIRMED

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2024-11-20 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 --- Comment #32 from Nicolas Boulenguez --- Created attachment 59645 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59645&action=edit Differences between v12 and v13

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2024-11-20 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 --- Comment #31 from Nicolas Boulenguez --- Created attachment 59644 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59644&action=edit version 13 for gcc-15 Here is a version rebase on current HEAD. I have simply reverted commit 093894ad,

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2024-10-16 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 Nicolas Boulenguez changed: What|Removed |Added Attachment #58252|0 |1 is obsolete|

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2024-07-04 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 --- Comment #28 from Nicolas Boulenguez --- Created attachment 58591 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58591&action=edit version 11 of patch 2/8 Version 11 changes a line at the end of patch 2/8, for compatibility for latest

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2024-05-20 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 Nicolas Boulenguez changed: What|Removed |Added Attachment #58060|0 |1 is obsolete|

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2024-05-11 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 --- Comment #26 from Nicolas Boulenguez --- Created attachment 58181 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58181&action=edit v9 fixing a typo in patch 9/9 "select 32 or 64 bits variants" The "select 32 or 64 bits variants" patch

[Bug ada/81087] array index out of range in gnatlink, making test always false

2024-05-09 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81087 Nicolas Boulenguez changed: What|Removed |Added Attachment #41577|0 |1 is obsolete|

[Bug ada/87778] Remove -q quiet option from some GNAT bootstrap command lines

2024-05-08 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87778 Nicolas Boulenguez changed: What|Removed |Added Attachment #44951|0 |1 is obsolete|

[Bug ada/15614] Illegal program not detected, RM 12.1(11)

2024-05-08 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15614 --- Comment #7 from Nicolas Boulenguez --- Hello. First reported as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=244970. This seems fixed in gnat-14, snapshot from the 20240429 in Debian.

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2024-05-02 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 --- Comment #25 from Nicolas Boulenguez --- The suggested changes for libgnat slightly affect gprbuild. https://salsa.debian.org/debian/gprbuild/-/blob/debian/master/debian/patches/adapt-to-private-time-t.diff https://salsa.debian.org/debian/gpr

[Bug ada/81087] array index out of range in gnatlink, making test always false

2024-04-30 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81087 --- Comment #5 from Nicolas Boulenguez --- Ping? If the patch is eventually applied, the similar conditions that have been added during the last seven years should probably also call Starts_With.

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2024-04-28 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 Nicolas Boulenguez changed: What|Removed |Added Attachment #58028|0 |1 is obsolete|

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2024-04-24 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 --- Comment #23 from Nicolas Boulenguez --- Always with gcc-13.2.0+Debian patches on arm-linux-gnueabihf, if s-osprim__posix.adb imports and calls int __gnat_gettimeofday(struct timeval *restrict tv, struct timezone *restri

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2024-04-24 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 Nicolas Boulenguez changed: What|Removed |Added Attachment #57926|0 |1 is obsolete|

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2024-04-11 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 Nicolas Boulenguez changed: What|Removed |Added Attachment #57890|0 |1 is obsolete|

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2024-04-08 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 --- Comment #18 from Nicolas Boulenguez --- Created attachment 57897 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57897&action=edit rewrite commit 3/8 so that Duration'Size may be 32 Would version 4 of commit 3/8 be OK? It only modifies

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2024-04-05 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 --- Comment #16 from Nicolas Boulenguez --- This 3rd attempt does the requested split. It fixes all build errors on Debian/amd64. The new Ada.Calendar.Clock returns sensible results. In other words, it seems ready for review.

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2024-04-05 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 Nicolas Boulenguez changed: What|Removed |Added Attachment #57866|0 |1 is obsolete|

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2024-04-04 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 --- Comment #14 from Nicolas Boulenguez --- The new version does not change much, but I am only posting it in order to prevent duplicated work. I will try to split the timespec changes and the timeval+Sockets changes, then attempt a build.

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2024-04-04 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 Nicolas Boulenguez changed: What|Removed |Added Attachment #57865|0 |1 is obsolete|

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2024-04-03 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 --- Comment #11 from Nicolas Boulenguez --- Created attachment 57869 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57869&action=edit Ada: import nanosleep from System.OS_Primitives.Timed_Delay

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2024-04-03 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 --- Comment #10 from Nicolas Boulenguez --- Created attachment 57868 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57868&action=edit Ada: drop unneeded darwin, solaris, x32 variants of System.OS_Primitives

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2024-04-03 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 --- Comment #9 from Nicolas Boulenguez --- Created attachment 57867 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57867&action=edit Ada: drop unneeded posix2008 variant of System.Parameters

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2024-04-03 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 --- Comment #8 from Nicolas Boulenguez --- Created attachment 57866 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57866&action=edit Ada: drop unneeded x32 variant of System.Linux

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2024-04-03 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 --- Comment #7 from Nicolas Boulenguez --- Hello. The attached suggestions (based on gcc-13/13.2.0) might solve the current issue, or at least simplify the investigation, but they are so intrusive that I would like a quick review by experts bef

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2024-04-03 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 Nicolas Boulenguez changed: What|Removed |Added CC||nicolas at debian dot org --- Comm

[Bug ada/113195] New: gnat bug box when comparing access to subtype with access inside record

2024-01-01 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113195 Bug ID: 113195 Summary: gnat bug box when comparing access to subtype with access inside record Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: norm

[Bug bootstrap/100932] autoconf error: possibly undefined macro: GCC_AC_ENABLE_DECIMAL_FLOAT

2023-08-28 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100932 Nicolas Boulenguez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug bootstrap/100932] autoconf error: possibly undefined macro: GCC_AC_ENABLE_DECIMAL_FLOAT

2022-05-15 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100932 --- Comment #2 from Nicolas Boulenguez --- I fail to understand how your answer helps anyone. Currently, 'autoconf' fails and 'autoconf -I../config' succeeds. With the change, both would succeed and be equivalent. What is the benefit of requiri

[Bug ada/79724] GNAT tools do not respect --program-suffix and --program-prefix

2022-04-06 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79724 --- Comment #10 from Nicolas Boulenguez --- Hello. I suggest that Homebrew adopt a solution tested for years by Debian: * install the executables as TARGET-gcc-VERSION * add symbolic links if necessary (gcc, gcc-VERSION, TARGET-gcc) * apply the

[Bug ada/67837] Ada ATC with delay abort syscalls not working

2022-04-05 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67837 Nicolas Boulenguez changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #2 from Nicolas

[Bug ada/103014] New: gnat1 segfaults in tree_could_trap_p when C double parameter, -O2 -gnatn -gnatVa

2021-10-31 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103014 Bug ID: 103014 Summary: gnat1 segfaults in tree_could_trap_p when C double parameter, -O2 -gnatn -gnatVa Product: gcc Version: 11.2.0 Status: UNCONFIRMED Sever

[Bug other/100933] New: install cannot stat include-fixed/limits.h

2021-06-06 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100933 Bug ID: 100933 Summary: install cannot stat include-fixed/limits.h Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: oth

[Bug other/100932] New: autoconf error: possibly undefined macro: GCC_AC_ENABLE_DECIMAL_FLOAT

2021-06-06 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100932 Bug ID: 100932 Summary: autoconf error: possibly undefined macro: GCC_AC_ENABLE_DECIMAL_FLOAT Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal

[Bug bootstrap/29482] libcpp/configure - no usable dependency style found

2021-06-06 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29482 Nicolas Boulenguez changed: What|Removed |Added CC||nicolas at debian dot org --- Comme