public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/26293] New: [ada] FAIL: gdb.ada/mi_prot.exp: compilation prot.adb (gcc 7.5.0)
@ 2020-07-23 12:58 vries at gcc dot gnu.org
  2020-07-23 12:58 ` [Bug testsuite/26293] " vries at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2020-07-23 12:58 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=26293

            Bug ID: 26293
           Summary: [ada] FAIL: gdb.ada/mi_prot.exp: compilation prot.adb
                    (gcc 7.5.0)
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

With gcc 7.5.0, I run into:
...
gcc -c -I./ -gnata
-I/home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.ada/mi_prot -g -lm -I-
/home/vries/gdb_versions/devel/binutils-gdb.git/gdb/testsuite/gdb.ada/mi_prot/prot.adb^M
prot.adb:21:04: info: "Obj_Type" is frozen here, aspects evaluated at this
point^M
prot.adb:23:09: visibility of aspect for "Obj_Type" changes after freeze
point^M
gnatmake:
"/home/vries/gdb_versions/devel/binutils-gdb.git/gdb/testsuite/gdb.ada/mi_prot/prot.adb"
compilation error^M
compiler exited with status 1
compilation failed: gcc -c -I./ -gnata
-I/home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.ada/mi_prot -g -lm -I-
/home/vries/gdb_versions/devel/binutils-gdb.git/gdb/testsuite/gdb.ada/mi_prot/prot.adb
prot.adb:21:04: info: "Obj_Type" is frozen here, aspects evaluated at this
point
prot.adb:23:09: visibility of aspect for "Obj_Type" changes after freeze point
gnatmake:
"/home/vries/gdb_versions/devel/binutils-gdb.git/gdb/testsuite/gdb.ada/mi_prot/prot.adb"
compilation error

FAIL: gdb.ada/mi_prot.exp: compilation prot.adb
...

Works fine with 8.4.0.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug testsuite/26293] [ada] FAIL: gdb.ada/mi_prot.exp: compilation prot.adb (gcc 7.5.0)
  2020-07-23 12:58 [Bug testsuite/26293] New: [ada] FAIL: gdb.ada/mi_prot.exp: compilation prot.adb (gcc 7.5.0) vries at gcc dot gnu.org
@ 2020-07-23 12:58 ` vries at gcc dot gnu.org
  2020-07-23 13:10 ` vries at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2020-07-23 12:58 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=26293

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at sourceware dot org

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug testsuite/26293] [ada] FAIL: gdb.ada/mi_prot.exp: compilation prot.adb (gcc 7.5.0)
  2020-07-23 12:58 [Bug testsuite/26293] New: [ada] FAIL: gdb.ada/mi_prot.exp: compilation prot.adb (gcc 7.5.0) vries at gcc dot gnu.org
  2020-07-23 12:58 ` [Bug testsuite/26293] " vries at gcc dot gnu.org
@ 2020-07-23 13:10 ` vries at gcc dot gnu.org
  2020-07-24 12:10 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2020-07-23 13:10 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=26293

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Can probably be fixed using gnatmake_version_at_least 8.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug testsuite/26293] [ada] FAIL: gdb.ada/mi_prot.exp: compilation prot.adb (gcc 7.5.0)
  2020-07-23 12:58 [Bug testsuite/26293] New: [ada] FAIL: gdb.ada/mi_prot.exp: compilation prot.adb (gcc 7.5.0) vries at gcc dot gnu.org
  2020-07-23 12:58 ` [Bug testsuite/26293] " vries at gcc dot gnu.org
  2020-07-23 13:10 ` vries at gcc dot gnu.org
@ 2020-07-24 12:10 ` cvs-commit at gcc dot gnu.org
  2020-07-24 12:12 ` vries at gcc dot gnu.org
  2020-07-24 12:12 ` vries at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-07-24 12:10 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=26293

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom de Vries <vries@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6dcfb80a28a571999a8cf2346bfc4665d56912ae

commit 6dcfb80a28a571999a8cf2346bfc4665d56912ae
Author: Tom de Vries <tdevries@suse.de>
Date:   Fri Jul 24 14:10:50 2020 +0200

    [gdb/testsuite] Require gnatmake-8 for gdb.ada/mi_prot.exp

    With gcc-7, I run into:
    ...
    gcc -c -I./ -gnata -Isrc/gdb/testsuite/gdb.ada/mi_prot -g -lm -I- \
      src/gdb/testsuite/gdb.ada/mi_prot/prot.adb^M
    prot.adb:21:04: info: "Obj_Type" is frozen here, aspects evaluated at this
\
      point^M
    prot.adb:23:09: visibility of aspect for "Obj_Type" changes after freeze \
      point^M
    gnatmake: "src/gdb/testsuite/gdb.ada/mi_prot/prot.adb" compilation error^M
    compiler exited with status 1
      ...
    FAIL: gdb.ada/mi_prot.exp: compilation prot.adb
    ...

    Fix this by requiring gnatmake-8 for this test-case.

    Tested on x86_64-linux, with gnatmake-7, gnatmake-8 and gnatmake-11.

    gdb/testsuite/ChangeLog:

    2020-07-24  Tom de Vries  <tdevries@suse.de>

            PR testsuite/26293
            * gdb.ada/mi_prot.exp: Require gnatmake-8.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug testsuite/26293] [ada] FAIL: gdb.ada/mi_prot.exp: compilation prot.adb (gcc 7.5.0)
  2020-07-23 12:58 [Bug testsuite/26293] New: [ada] FAIL: gdb.ada/mi_prot.exp: compilation prot.adb (gcc 7.5.0) vries at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2020-07-24 12:10 ` cvs-commit at gcc dot gnu.org
@ 2020-07-24 12:12 ` vries at gcc dot gnu.org
  2020-07-24 12:12 ` vries at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2020-07-24 12:12 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=26293

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |10.1

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug testsuite/26293] [ada] FAIL: gdb.ada/mi_prot.exp: compilation prot.adb (gcc 7.5.0)
  2020-07-23 12:58 [Bug testsuite/26293] New: [ada] FAIL: gdb.ada/mi_prot.exp: compilation prot.adb (gcc 7.5.0) vries at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2020-07-24 12:12 ` vries at gcc dot gnu.org
@ 2020-07-24 12:12 ` vries at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2020-07-24 12:12 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=26293

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> ---
Patch fixing test-case committed, marking resolved-fixed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-07-24 12:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-23 12:58 [Bug testsuite/26293] New: [ada] FAIL: gdb.ada/mi_prot.exp: compilation prot.adb (gcc 7.5.0) vries at gcc dot gnu.org
2020-07-23 12:58 ` [Bug testsuite/26293] " vries at gcc dot gnu.org
2020-07-23 13:10 ` vries at gcc dot gnu.org
2020-07-24 12:10 ` cvs-commit at gcc dot gnu.org
2020-07-24 12:12 ` vries at gcc dot gnu.org
2020-07-24 12:12 ` vries at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).