public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/31576]  New: [regression] bootstrap error on sparc-linux-gnu
@ 2007-04-15  6:40 debian-gcc at lists dot debian dot org
  2007-04-16 11:38 ` [Bug ada/31576] [regression] Ada bootstrap error krebbel at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2007-04-15  6:40 UTC (permalink / raw)
  To: gcc-bugs

SVN 20070414, fails building gnatlib.

  Matthias

/build/buildd/gcc-snapshot-20070414/build/./gcc/xgcc
-B/build/buildd/gcc-snapshot-20070414/build/./gcc/
-B/usr/lib/gcc-snapshot/sparc-linux-gnu/bin/
-B/usr/lib/gcc-snapshot/sparc-linux-gnu/lib/ -isystem
/usr/lib/gcc-snapshot/sparc-linux-gnu/include -isystem
/usr/lib/gcc-snapshot/sparc-linux-gnu/sys-include -c -g -O2 -fPIC      -W -Wall
-gnatpg  g-altcon.adb -o g-altcon.o
g-altcon.adb:131:28: warning: condition is always True
g-altcon.adb:146:28: warning: condition is always True
g-altcon.adb:166:28: warning: condition is always True
g-altcon.adb:181:28: warning: condition is always True
g-altcon.adb:201:28: warning: condition is always True
g-altcon.adb:216:28: warning: condition is always True
g-altcon.adb:238:28: warning: condition is always True
g-altcon.adb:253:28: warning: condition is always True
g-altcon.adb:273:28: warning: condition is always True
g-altcon.adb:288:28: warning: condition is always True
g-altcon.adb:308:28: warning: condition is always True
g-altcon.adb:323:28: warning: condition is always True
g-altcon.adb:345:28: warning: condition is always True
g-altcon.adb:360:28: warning: condition is always True
g-altcon.adb:380:28: warning: condition is always True
g-altcon.adb:395:28: warning: condition is always True
g-altcon.adb:415:28: warning: condition is always True
g-altcon.adb:430:28: warning: condition is always True
g-altcon.adb:452:28: warning: condition is always True
g-altcon.adb:467:28: warning: condition is always True
g-altcon.adb:489:28: warning: condition is always True
g-altcon.adb:504:28: warning: condition is always True
make[9]: *** [g-altcon.o] Error 1
make[9]: Leaving directory
`/build/buildd/gcc-snapshot-20070414/build/gcc/ada/rts'
make[8]: *** [gnatlib] Error 2
make[8]: Leaving directory `/build/buildd/gcc-snapshot-20070414/build/gcc/ada'
make[7]: *** [gnatlib-shared-default] Error 2
make[7]: Leaving directory `/build/buildd/gcc-snapshot-20070414/build/gcc/ada'
make[6]: *** [gnatlib-shared-dual] Error 2
make[6]: Leaving directory `/build/buildd/gcc-snapshot-20070414/build/gcc/ada'
make[5]: *** [gnatlib-shared] Error 2
make[5]: Leaving directory `/build/buildd/gcc-snapshot-20070414/build/gcc/ada'
make[4]: *** [gnatlib-shared] Error 2
make[4]: Leaving directory
`/build/buildd/gcc-snapshot-20070414/build/sparc-linux-gnu/libada'
make[3]: *** [all-target-libada] Error 2
make[3]: Leaving directory `/build/buildd/gcc-snapshot-20070414/build'
make[2]: *** [bootstrap-lean] Error 2
make[2]: Leaving directory `/build/buildd/gcc-snapshot-20070414/build'


-- 
           Summary: [regression] bootstrap error on sparc-linux-gnu
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org
GCC target triplet: sparc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31576


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

* [Bug ada/31576] [regression] Ada bootstrap error
  2007-04-15  6:40 [Bug ada/31576] New: [regression] bootstrap error on sparc-linux-gnu debian-gcc at lists dot debian dot org
@ 2007-04-16 11:38 ` krebbel at gcc dot gnu dot org
  2007-04-16 18:37 ` [Bug ada/31576] [4.3 regression] " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: krebbel at gcc dot gnu dot org @ 2007-04-16 11:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from krebbel at gcc dot gnu dot org  2007-04-16 12:38 -------
The same happens on s390 and s390x.  The constant Default_Bit_Order is definded
in system.ads:

   --  Other System-Dependent Declarations

   type Bit_Order is (High_Order_First, Low_Order_First);
   Default_Bit_Order : constant Bit_Order := High_Order_First;

With the -gnupg option gnat compains about all checks like:
 if Default_Bit_Order = High_Order_First then ...
with
 warning: condition is always True

I'm by far not an Ada expert but I would say that warning isn't very helpful
and in that case and should simply be omitted.


-- 

krebbel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |krebbel at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   GCC host triplet|                            |sparc-linux-gnu, s390-ibm-
                   |                            |linux
 GCC target triplet|sparc-linux-gnu             |sparc-linux-gnu, s390-ibm-
                   |                            |linux
           Keywords|                            |build
   Last reconfirmed|0000-00-00 00:00:00         |2007-04-16 12:38:14
               date|                            |
            Summary|[regression] bootstrap error|[regression] Ada bootstrap
                   |on sparc-linux-gnu          |error


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31576


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

* [Bug ada/31576] [4.3 regression] Ada bootstrap error
  2007-04-15  6:40 [Bug ada/31576] New: [regression] bootstrap error on sparc-linux-gnu debian-gcc at lists dot debian dot org
  2007-04-16 11:38 ` [Bug ada/31576] [regression] Ada bootstrap error krebbel at gcc dot gnu dot org
@ 2007-04-16 18:37 ` pinskia at gcc dot gnu dot org
  2007-04-17 12:06 ` charlet at adacore dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-04-16 18:37 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.3.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31576


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

* [Bug ada/31576] [4.3 regression] Ada bootstrap error
  2007-04-15  6:40 [Bug ada/31576] New: [regression] bootstrap error on sparc-linux-gnu debian-gcc at lists dot debian dot org
  2007-04-16 11:38 ` [Bug ada/31576] [regression] Ada bootstrap error krebbel at gcc dot gnu dot org
  2007-04-16 18:37 ` [Bug ada/31576] [4.3 regression] " pinskia at gcc dot gnu dot org
@ 2007-04-17 12:06 ` charlet at adacore dot com
  2007-04-17 15:59 ` krebbel at gcc dot gnu dot org
  2007-04-21 21:12 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: charlet at adacore dot com @ 2007-04-17 12:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from charlet at adacore dot com  2007-04-17 13:06 -------
Subject: Re:  [regression] Ada bootstrap error

You need to add the following in system-xxx.ads:

   pragma Warnings (Off, Default_Bit_Order); -- kill constant condition warning

as done in other system-* files, after Default_Bit_Order definition.

Patch is preapproved.

Arno


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31576


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

* [Bug ada/31576] [4.3 regression] Ada bootstrap error
  2007-04-15  6:40 [Bug ada/31576] New: [regression] bootstrap error on sparc-linux-gnu debian-gcc at lists dot debian dot org
                   ` (2 preceding siblings ...)
  2007-04-17 12:06 ` charlet at adacore dot com
@ 2007-04-17 15:59 ` krebbel at gcc dot gnu dot org
  2007-04-21 21:12 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: krebbel at gcc dot gnu dot org @ 2007-04-17 15:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from krebbel at gcc dot gnu dot org  2007-04-17 16:59 -------
Subject: Bug 31576

Author: krebbel
Date: Tue Apr 17 16:59:24 2007
New Revision: 123915

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123915
Log:
2007-04-17  Andreas Krebbel  <krebbel1@de.ibm.com>

        PR ada/31576
        * system-linux-alpha.ads: Disable constant condition warning for the
        Default_Bit_Order variable.
        * system-linux-s390.ads: Likewise.
        * system-linux-s390x.ads: Likewise.
        * system-linux-sparc.ads: Likewise.


Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/system-linux-alpha.ads
    trunk/gcc/ada/system-linux-s390.ads
    trunk/gcc/ada/system-linux-s390x.ads
    trunk/gcc/ada/system-linux-sparc.ads


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31576


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

* [Bug ada/31576] [4.3 regression] Ada bootstrap error
  2007-04-15  6:40 [Bug ada/31576] New: [regression] bootstrap error on sparc-linux-gnu debian-gcc at lists dot debian dot org
                   ` (3 preceding siblings ...)
  2007-04-17 15:59 ` krebbel at gcc dot gnu dot org
@ 2007-04-21 21:12 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-04-21 21:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2007-04-21 22:12 -------
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

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


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31576


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

end of thread, other threads:[~2007-04-21 21:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-15  6:40 [Bug ada/31576] New: [regression] bootstrap error on sparc-linux-gnu debian-gcc at lists dot debian dot org
2007-04-16 11:38 ` [Bug ada/31576] [regression] Ada bootstrap error krebbel at gcc dot gnu dot org
2007-04-16 18:37 ` [Bug ada/31576] [4.3 regression] " pinskia at gcc dot gnu dot org
2007-04-17 12:06 ` charlet at adacore dot com
2007-04-17 15:59 ` krebbel at gcc dot gnu dot org
2007-04-21 21:12 ` pinskia at gcc dot gnu dot 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).