public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/44458]  New: Bootstrap fails on arm_float_words_big_endian implicit declaration when Ada on arm-linux
@ 2010-06-07 21:44 laurent at guerby dot net
  2010-06-07 22:25 ` [Bug bootstrap/44458] " ebotcazou at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: laurent at guerby dot net @ 2010-06-07 21:44 UTC (permalink / raw)
  To: gcc-bugs

/home/guerby/build-37/./prev-gcc/xgcc -B/home/guerby/build-37/./prev-gcc/
-B/n/37/guerby/install-trunk-37-160037/armv7l-unknown-linux-gnueabi/bin/
-B/n/37/guerby/install-trunk-37-160037/armv7l-unknown-linux-gnueabi/bin/
-B/n/37/guerby/i\
nstall-trunk-37-160037/armv7l-unknown-linux-gnueabi/lib/ -isystem
/n/37/guerby/install-trunk-37-160037/armv7l-unknown-linux-gnueabi/include
-isystem
/n/37/guerby/install-trunk-37-160037/armv7l-unknown-linux-gnueabi/sys-include  
 -c   -\
g -O2 -gtoggle -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes  -Wmissing-format-attribute
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror
-Wold-style-definition -Wc++-compat \
-fno-common  -DHAVE_CONFIG_H -I.. -I. -Iada -I../../trunk/gcc
-I../../trunk/gcc/ada -I../../trunk/gcc/../include
-I../../trunk/gcc/../libcpp/include -I/opt/cfarm/gmp-4.2.4/include
-I/opt/cfarm/mpfr-2.4.2/include -I/opt/cfarm/mpc-0.8/inc\
lude  -I../../trunk/gcc/../libdecnumber -I../../trunk/gcc/../libdecnumber/dpd
-I../libdecnumber     ../../trunk/gcc/ada/gcc-interface/targtyps.c -o
ada/targtyps.o
../../trunk/gcc/ada/gcc-interface/targtyps.c: In function 'get_float_words_be':
../../trunk/gcc/ada/gcc-interface/targtyps.c:208:3: error: implicit declaration
of function 'arm_float_words_big_endian'
[-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors

make[3]: *** [ada/targtyps.o] Error 1
make[3]: Leaving directory `/home/guerby/build-37/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/home/guerby/build-37'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/home/guerby/build-37'
make: *** [bootstrap] Error 2


-- 
           Summary: Bootstrap fails on arm_float_words_big_endian implicit
                    declaration when Ada on arm-linux
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: laurent at guerby dot net
 GCC build triplet: arm-linux-gnueabi
  GCC host triplet: arm-linux-gnueabi
GCC target triplet: arm-linux-gnueabi


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


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

* [Bug bootstrap/44458] Bootstrap fails on arm_float_words_big_endian implicit declaration when Ada on arm-linux
  2010-06-07 21:44 [Bug bootstrap/44458] New: Bootstrap fails on arm_float_words_big_endian implicit declaration when Ada on arm-linux laurent at guerby dot net
@ 2010-06-07 22:25 ` ebotcazou at gcc dot gnu dot org
  2010-06-08  8:19 ` mikpe at it dot uu dot se
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2010-06-07 22:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from ebotcazou at gcc dot gnu dot org  2010-06-07 22:25 -------
Very likely:

2010-05-25  Steven Bosscher  <steven@gcc.gnu.org>

        * gcc-interface/targtyps.c: Do not include tm_p.h

        * gcc-interface/Make-lang.in: Update dependencies.


-- 


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


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

* [Bug bootstrap/44458] Bootstrap fails on arm_float_words_big_endian implicit declaration when Ada on arm-linux
  2010-06-07 21:44 [Bug bootstrap/44458] New: Bootstrap fails on arm_float_words_big_endian implicit declaration when Ada on arm-linux laurent at guerby dot net
  2010-06-07 22:25 ` [Bug bootstrap/44458] " ebotcazou at gcc dot gnu dot org
@ 2010-06-08  8:19 ` mikpe at it dot uu dot se
  2010-06-08 21:51 ` steven at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: mikpe at it dot uu dot se @ 2010-06-08  8:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from mikpe at it dot uu dot se  2010-06-08 08:19 -------
The same error occurs for java on ARM, see PR44335.  I posted a patch to fix
that one (must include both tm.h and tm_p.h in jcf-parse.c) that but so far has
gotten no response to it.


-- 

mikpe at it dot uu dot se changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpe at it dot uu dot se


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


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

* [Bug bootstrap/44458] Bootstrap fails on arm_float_words_big_endian implicit declaration when Ada on arm-linux
  2010-06-07 21:44 [Bug bootstrap/44458] New: Bootstrap fails on arm_float_words_big_endian implicit declaration when Ada on arm-linux laurent at guerby dot net
  2010-06-07 22:25 ` [Bug bootstrap/44458] " ebotcazou at gcc dot gnu dot org
  2010-06-08  8:19 ` mikpe at it dot uu dot se
@ 2010-06-08 21:51 ` steven at gcc dot gnu dot org
  2010-06-12 14:40 ` [Bug bootstrap/44458] [4.6 Regression] " laurent at guerby dot net
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: steven at gcc dot gnu dot org @ 2010-06-08 21:51 UTC (permalink / raw)
  To: gcc-bugs



-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |steven at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-06-08 21:51:28
               date|                            |


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


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

* [Bug bootstrap/44458] [4.6 Regression] Bootstrap fails on arm_float_words_big_endian implicit declaration when Ada on arm-linux
  2010-06-07 21:44 [Bug bootstrap/44458] New: Bootstrap fails on arm_float_words_big_endian implicit declaration when Ada on arm-linux laurent at guerby dot net
                   ` (2 preceding siblings ...)
  2010-06-08 21:51 ` steven at gcc dot gnu dot org
@ 2010-06-12 14:40 ` laurent at guerby dot net
  2010-06-12 21:26 ` mikpe at it dot uu dot se
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: laurent at guerby dot net @ 2010-06-12 14:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from laurent at guerby dot net  2010-06-12 14:39 -------
Fixing by reverting Steven patch is not enough to regain bootstrap on arm, here
is the error during stage2:

/home/guerby/build/./prev-gcc/xgcc -B/home/guerby/build/./prev-gcc/
-B/n/57/guerby/install-trunk-160646/armv5tel-unknown-linux-gnueabi/bin/
-B/n/57/guerby/install-trunk-160646/armv5tel-unknown-linux-gnueabi/bin/
-B/n/57/guerby/install-t\
runk-160646/armv5tel-unknown-linux-gnueabi/lib/ -isystem
/n/57/guerby/install-trunk-160646/armv5tel-unknown-linux-gnueabi/include
-isystem
/n/57/guerby/install-trunk-160646/armv5tel-unknown-linux-gnueabi/sys-include   
-c   -g -O2 -gtog\
gle -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition
-Wc++-compat -f\
no-common  -DHAVE_CONFIG_H -I. -I. -I../../trunk/gcc -I../../trunk/gcc/.
-I../../trunk/gcc/../include -I../../trunk/gcc/../libcpp/include 
-I../../trunk/gcc/../libdecnumber -I../../trunk/gcc/../libdecnumber/dpd
-I../libdecnumber     \
                ../../trunk/gcc/config/arm/arm.c -o arm.o
../../trunk/gcc/config/arm/arm.c: In function 'thumb2_reorg':
../../trunk/gcc/config/arm/arm.c:11466:19: error: initialization from
incompatible pointer type [-Werror]
../../trunk/gcc/config/arm/arm.c:11467:9: error: passing argument 3 of
'gen_rtx_fmt_E_stat' from incompatible pointer type [-Werror]
./genrtl.h:60:1: note: expected 'rtvec' but argument is of type 'rtx'
../../trunk/gcc/config/arm/arm.c:11460:9: error: unused variable 'op1'
[-Werror=unused-variable]
cc1: all warnings being treated as errors

make[3]: *** [arm.o] Error 1
make[3]: Leaving directory `/home/guerby/build/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/home/guerby/build'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/home/guerby/build'
make: *** [bootstrap] Error 2


-- 


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


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

* [Bug bootstrap/44458] [4.6 Regression] Bootstrap fails on arm_float_words_big_endian implicit declaration when Ada on arm-linux
  2010-06-07 21:44 [Bug bootstrap/44458] New: Bootstrap fails on arm_float_words_big_endian implicit declaration when Ada on arm-linux laurent at guerby dot net
                   ` (3 preceding siblings ...)
  2010-06-12 14:40 ` [Bug bootstrap/44458] [4.6 Regression] " laurent at guerby dot net
@ 2010-06-12 21:26 ` mikpe at it dot uu dot se
  2010-06-15  9:58 ` laurent at guerby dot net
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: mikpe at it dot uu dot se @ 2010-06-12 21:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from mikpe at it dot uu dot se  2010-06-12 21:26 -------
(In reply to comment #3)
> Fixing by reverting Steven patch is not enough to regain bootstrap on arm, here
> is the error during stage2:

This is a new unrelated error caused by r160458.  You should IMO have opened a
new PR for it.  Anyway, the patch below should fix it.  Tested in a cross so
far, I'll do a native bootstrap of 4.6 head + this tomorrow.  The declaration
bug for 'vec' is obvious.  The fact that 'op1' is extracted but unused makes me
a bit nervous.

--- gcc-4.6-r160458/gcc/config/arm/arm.c.~1~
+++ gcc-4.6-r160458/gcc/config/arm/arm.c
@@ -11457,13 +11457,12 @@ thumb2_reorg (void)
                  rtx dst = XEXP (pat, 0);
                  rtx src = XEXP (pat, 1);
                  rtx op0 = XEXP (src, 0);
-                 rtx op1 = XEXP (src, 1);
                  if (rtx_equal_p (dst, op0)
                      || GET_CODE (src) == PLUS || GET_CODE (src) == MINUS)
                    {
                      rtx ccreg = gen_rtx_REG (CCmode, CC_REGNUM);
                      rtx clobber = gen_rtx_CLOBBER (VOIDmode, ccreg);
-                     rtx vec = gen_rtvec (2, pat, clobber);
+                     rtvec vec = gen_rtvec (2, pat, clobber);
                      PATTERN (insn) = gen_rtx_PARALLEL (VOIDmode, vec);
                      INSN_CODE (insn) = -1;
                    }


-- 


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


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

* [Bug bootstrap/44458] [4.6 Regression] Bootstrap fails on arm_float_words_big_endian implicit declaration when Ada on arm-linux
  2010-06-07 21:44 [Bug bootstrap/44458] New: Bootstrap fails on arm_float_words_big_endian implicit declaration when Ada on arm-linux laurent at guerby dot net
                   ` (4 preceding siblings ...)
  2010-06-12 21:26 ` mikpe at it dot uu dot se
@ 2010-06-15  9:58 ` laurent at guerby dot net
  2010-06-24 21:35 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: laurent at guerby dot net @ 2010-06-15  9:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from laurent at guerby dot net  2010-06-15 09:58 -------
Reverting Steven patch with your fix is enough to get back bootstrap:

http://gcc.gnu.org/ml/gcc-testresults/2010-06/msg01497.html


-- 


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


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

* [Bug bootstrap/44458] [4.6 Regression] Bootstrap fails on arm_float_words_big_endian implicit declaration when Ada on arm-linux
  2010-06-07 21:44 [Bug bootstrap/44458] New: Bootstrap fails on arm_float_words_big_endian implicit declaration when Ada on arm-linux laurent at guerby dot net
                   ` (5 preceding siblings ...)
  2010-06-15  9:58 ` laurent at guerby dot net
@ 2010-06-24 21:35 ` rguenth at gcc dot gnu dot org
  2010-07-03  7:13 ` laurent at guerby dot net
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-24 21:35 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.6.0


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


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

* [Bug bootstrap/44458] [4.6 Regression] Bootstrap fails on arm_float_words_big_endian implicit declaration when Ada on arm-linux
  2010-06-07 21:44 [Bug bootstrap/44458] New: Bootstrap fails on arm_float_words_big_endian implicit declaration when Ada on arm-linux laurent at guerby dot net
                   ` (6 preceding siblings ...)
  2010-06-24 21:35 ` rguenth at gcc dot gnu dot org
@ 2010-07-03  7:13 ` laurent at guerby dot net
  2010-07-13 16:00 ` guerby at gcc dot gnu dot org
  2010-07-13 16:06 ` laurent at guerby dot net
  9 siblings, 0 replies; 11+ messages in thread
From: laurent at guerby dot net @ 2010-07-03  7:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from laurent at guerby dot net  2010-07-03 07:13 -------
Patch:
http://gcc.gnu.org/ml/gcc-patches/2010-07/msg00236.html


-- 

laurent at guerby dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2010-
                   |                            |07/msg00236.html


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


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

* [Bug bootstrap/44458] [4.6 Regression] Bootstrap fails on arm_float_words_big_endian implicit declaration when Ada on arm-linux
  2010-06-07 21:44 [Bug bootstrap/44458] New: Bootstrap fails on arm_float_words_big_endian implicit declaration when Ada on arm-linux laurent at guerby dot net
                   ` (7 preceding siblings ...)
  2010-07-03  7:13 ` laurent at guerby dot net
@ 2010-07-13 16:00 ` guerby at gcc dot gnu dot org
  2010-07-13 16:06 ` laurent at guerby dot net
  9 siblings, 0 replies; 11+ messages in thread
From: guerby at gcc dot gnu dot org @ 2010-07-13 16:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from guerby at gcc dot gnu dot org  2010-07-13 15:59 -------
Subject: Bug 44458

Author: guerby
Date: Tue Jul 13 15:59:20 2010
New Revision: 162146

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162146
Log:
2010-07-13  Laurent GUERBY  <laurent@guerby.net>

        PR bootstrap/44458
        * gcc-interface/targtyps.c: Include tm_p.h.
        * gcc-interface/Make-lang.in: Update dependencies.


Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/gcc-interface/Make-lang.in
    trunk/gcc/ada/gcc-interface/targtyps.c


-- 


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


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

* [Bug bootstrap/44458] [4.6 Regression] Bootstrap fails on arm_float_words_big_endian implicit declaration when Ada on arm-linux
  2010-06-07 21:44 [Bug bootstrap/44458] New: Bootstrap fails on arm_float_words_big_endian implicit declaration when Ada on arm-linux laurent at guerby dot net
                   ` (8 preceding siblings ...)
  2010-07-13 16:00 ` guerby at gcc dot gnu dot org
@ 2010-07-13 16:06 ` laurent at guerby dot net
  9 siblings, 0 replies; 11+ messages in thread
From: laurent at guerby dot net @ 2010-07-13 16:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from laurent at guerby dot net  2010-07-13 16:05 -------
Should be fixed now.


-- 

laurent at guerby dot net changed:

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


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


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

end of thread, other threads:[~2010-07-13 16:06 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-07 21:44 [Bug bootstrap/44458] New: Bootstrap fails on arm_float_words_big_endian implicit declaration when Ada on arm-linux laurent at guerby dot net
2010-06-07 22:25 ` [Bug bootstrap/44458] " ebotcazou at gcc dot gnu dot org
2010-06-08  8:19 ` mikpe at it dot uu dot se
2010-06-08 21:51 ` steven at gcc dot gnu dot org
2010-06-12 14:40 ` [Bug bootstrap/44458] [4.6 Regression] " laurent at guerby dot net
2010-06-12 21:26 ` mikpe at it dot uu dot se
2010-06-15  9:58 ` laurent at guerby dot net
2010-06-24 21:35 ` rguenth at gcc dot gnu dot org
2010-07-03  7:13 ` laurent at guerby dot net
2010-07-13 16:00 ` guerby at gcc dot gnu dot org
2010-07-13 16:06 ` laurent at guerby dot net

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).