public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/39262]  New: [miro] - Revision 144368 - Werror in ../miro/gcc/genconstants.c
@ 2009-02-22  3:03 rob1weld at aol dot com
  2009-02-22  7:40 ` [Bug bootstrap/39262] " ubizjak at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: rob1weld at aol dot com @ 2009-02-22  3:03 UTC (permalink / raw)
  To: gcc-bugs

# gcc/xgcc -v
Using built-in specs.
Target: i386-pc-solaris2.11
Configured with: ../miro/configure solaris2.11
Thread model: posix
gcc version 4.4.0 20080520 (experimental) [miro revision 144368] (GCC) 

# gmake
...
echo timestamp > s-modes-h
/usr/share/src/miro_build/./prev-gcc/xgcc
-B/usr/share/src/miro_build/./prev-gcc/
-B/usr/local/miro/i386-pc-solaris2.11/bin/ -c  -g -O2 -DIN_GCC   -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros       
                 -Wno-overlength-strings -Werror   -DHAVE_CONFIG_H
-DGENERATOR_FILE -I. -Ibuild -I../../miro/gcc -I../../miro/gcc/build
-I../../miro/gcc/../include -I../../miro/gcc/../libcpp/include
-I/usr/local/include -I/usr/local/include -I../../miro/gcc/../libdecnumber
-I../../miro/gcc/../libdecnumber/dpd -I../libdecnumber    -o
build/genconstants.o ../../miro/gcc/genconstants.c
In file included from ./tm.h:24,
                 from ../../miro/gcc/genconstants.c:31:
../../miro/gcc/config/i386/sol2-10.h:113:1: error: "SUBTARGET_RETURN_IN_MEMORY"
redefined
In file included from ./tm.h:18,
                 from ../../miro/gcc/genconstants.c:31:
../../miro/gcc/config/i386/sysv4.h:28:1: error: this is the location of the
previous definition
gmake[3]: *** [build/genconstants.o] Error 1
gmake[3]: Leaving directory `/usr/share/src/miro_build/gcc'
gmake[2]: *** [all-stage2-gcc] Error 2
gmake[2]: Leaving directory `/usr/share/src/miro_build'
gmake[1]: *** [stage2-bubble] Error 2
gmake[1]: Leaving directory `/usr/share/src/miro_build'
gmake: *** [all] Error 2

----------

I am compiling using gcc ./configured with:

# gcc -v
Using built-in specs.
Target: i386-pc-solaris2.11
Configured with: ../gcc_trunk/configure --prefix=/usr/local/gcc4
--enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --enable-shared
--disable-static --enable-multilib --enable-decimal-float
--with-long-double-128 --with-included-gettext --enable-stage1-checking
--enable-checking=release --with-tune=k8 --with-cpu=k8 --with-arch=k8
--with-gnu-as --with-as=/usr/local/bin/as --with-gnu-ld
--with-ld=/usr/local/bin/ld --with-gmp=/usr/local --with-mpfr=/usr/local
--without-ppl --disable-libstdcxx-pch
Thread model: posix
gcc version 4.4.0 20090220 (experimental) [trunk revision 144331] (GCC) 


There are thousands of non-Werror warnings too:

echo timestamp > s-modes-h
gcc -c  -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros       
                              -Wno-overlength-strings -fno-common 
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../miro/gcc
-I../../miro/gcc/build -I../../miro/gcc/../include
-I../../miro/gcc/../libcpp/include -I/usr/local/include -I/usr/local/include
-I../../miro/gcc/../libdecnumber -I../../miro/gcc/../libdecnumber/dpd
-I../libdecnumber    -o build/genconstants.o ../../miro/gcc/genconstants.c
In file included from ./tm.h:24,
                 from ../../miro/gcc/genconstants.c:31:
../../miro/gcc/config/i386/sol2-10.h:113:1: warning:
"SUBTARGET_RETURN_IN_MEMORY" redefined
In file included from ./tm.h:18,
                 from ../../miro/gcc/genconstants.c:31:
../../miro/gcc/config/i386/sysv4.h:28:1: warning: this is the location of the
previous definition
In file included from ../../miro/gcc/genconstants.c:32:
../../miro/gcc/rtl.h:200:1: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
../../miro/gcc/rtl.h:201:25: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
../../miro/gcc/rtl.h:202:23: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
gcc -c  -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros       
                              -Wno-overlength-strings -fno-common 
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../miro/gcc
-I../../miro/gcc/build -I../../miro/gcc/../include
-I../../miro/gcc/../libcpp/include -I/usr/local/include -I/usr/local/include
-I../../miro/gcc/../libdecnumber -I../../miro/gcc/../libdecnumber/dpd
-I../libdecnumber    -o build/gengenrtl.o ../../miro/gcc/gengenrtl.c
gcc  -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros       
                         -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H
-DGENERATOR_FILE  -o build/gengenrtl \
    build/gengenrtl.o build/errors.o
../build-i386-pc-solaris2.11/libiberty/libiberty.a
build/gengenrtl -h > tmp-genrtl.h
/bin/sh ../../miro/gcc/../move-if-change tmp-genrtl.h genrtl.h
echo timestamp > s-genrtl-h
...
echo timestamp > s-emit
gcc -c  -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros       
                              -Wno-overlength-strings -fno-common 
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../miro/gcc
-I../../miro/gcc/build -I../../miro/gcc/../include
-I../../miro/gcc/../libcpp/include -I/usr/local/include -I/usr/local/include
-I../../miro/gcc/../libdecnumber -I../../miro/gcc/../libdecnumber/dpd
-I../libdecnumber    -o build/genextract.o ../../miro/gcc/genextract.c
In file included from ./tm.h:24,
                 from ../../miro/gcc/genextract.c:26:
../../miro/gcc/config/i386/sol2-10.h:113:1: warning:
"SUBTARGET_RETURN_IN_MEMORY" redefined
In file included from ./tm.h:18,
                 from ../../miro/gcc/genextract.c:26:
../../miro/gcc/config/i386/sysv4.h:28:1: warning: this is the location of the
previous definition
In file included from ../../miro/gcc/genextract.c:27:
../../miro/gcc/rtl.h:200:1: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
../../miro/gcc/rtl.h:201:25: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
../../miro/gcc/rtl.h:202:23: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
In file included from ../../miro/gcc/genextract.c:31:
../../miro/gcc/vecprim.h:23:1: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
../../miro/gcc/vecprim.h:24:26: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
../../miro/gcc/vecprim.h:26:1: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
../../miro/gcc/vecprim.h:27:25: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
../../miro/gcc/genextract.c:72:1: warning: invoking macro VEC_TA_GTY argument
4: empty macro arguments are undefined in ISO C90 and ISO C++98
../../miro/gcc/genextract.c:73:28: warning: invoking macro VEC_TA_GTY argument
4: empty macro arguments are undefined in ISO C90 and ISO C++98
gcc  -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros       
                         -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H
-DGENERATOR_FILE  -o build/genextract \
    build/genextract.o build/rtl.o build/read-rtl.o build/ggc-none.o
build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o
build/errors.o ../build-i386-pc-solaris2.11/libiberty/libiberty.a
build/genextract ../../miro/gcc/config/i386/i386.md \
  insn-conditions.md > tmp-extract.c
...
build/genrecog ../../miro/gcc/config/i386/i386.md \
  insn-conditions.md > tmp-recog.c
../../miro/gcc/config/i386/i386.md:19233: warning: operand 1 missing mode?
../../miro/gcc/config/i386/i386.md:19250: warning: operand 1 missing mode?
../../miro/gcc/config/i386/i386.md:19291: warning: operand 1 missing mode?
../../miro/gcc/config/i386/i386.md:19308: warning: operand 1 missing mode?
/bin/sh ../../miro/gcc/../move-if-change tmp-recog.c insn-recog.c
echo timestamp > s-recog
...
echo timestamp > s-iov
gcc -c  -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros       
                              -Wno-overlength-strings -fno-common 
-DHAVE_CONFIG_H -I. -I. -I../../miro/gcc -I../../miro/gcc/.
-I../../miro/gcc/../include -I../../miro/gcc/../libcpp/include
-I/usr/local/include -I/usr/local/include -I../../miro/gcc/../libdecnumber
-I../../miro/gcc/../libdecnumber/dpd -I../libdecnumber   
../../miro/gcc/c-lang.c -o c-lang.o
In file included from ./tm.h:24,
                 from ../../miro/gcc/c-lang.c:25:
../../miro/gcc/config/i386/sol2-10.h:113:1: warning:
"SUBTARGET_RETURN_IN_MEMORY" redefined
In file included from ./tm.h:18,
                 from ../../miro/gcc/c-lang.c:25:
../../miro/gcc/config/i386/sysv4.h:28:1: warning: this is the location of the
previous definition
In file included from ../../miro/gcc/c-lang.c:26:
../../miro/gcc/tree.h:212:1: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
../../miro/gcc/tree.h:213:24: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
../../miro/gcc/tree.h:214:26: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
../../miro/gcc/tree.h:1564:1: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
../../miro/gcc/tree.h:1565:35: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
In file included from ../../miro/gcc/diagnostic.h:25,
                 from ../../miro/gcc/c-tree.h:26,
                 from ../../miro/gcc/c-lang.c:27:
../../miro/gcc/pretty-print.h:82:1: warning: invoking macro VEC_TA_GTY argument
4: empty macro arguments are undefined in ISO C90 and ISO C++98
../../miro/gcc/pretty-print.h:83:34: warning: invoking macro VEC_TA_GTY
argument 4: empty macro arguments are undefined in ISO C90 and ISO C++98
(thousands more)
...

Rob


-- 
           Summary: [miro] - Revision 144368 - Werror in
                    ../miro/gcc/genconstants.c
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rob1weld at aol dot com
 GCC build triplet: i386-pc-solaris2.11
  GCC host triplet: i386-pc-solaris2.11
GCC target triplet: i386-pc-solaris2.11


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


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

* [Bug bootstrap/39262] [miro] - Revision 144368 - Werror in ../miro/gcc/genconstants.c
  2009-02-22  3:03 [Bug bootstrap/39262] New: [miro] - Revision 144368 - Werror in ../miro/gcc/genconstants.c rob1weld at aol dot com
@ 2009-02-22  7:40 ` ubizjak at gmail dot com
  2009-02-22 12:25 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ubizjak at gmail dot com @ 2009-02-22  7:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from ubizjak at gmail dot com  2009-02-22 07:40 -------
Rob, did you ever read http://gcc.gnu.org/bugs.html#report ?

To be honest, I don't even know _what_ are you reporting here. There is no
point to post hundreds of lines from build logs, since this is too much for
anybody to even read it. Sorry.

So, please stop wasting yours and others time and please post a precise
bugreport that _explains_ what you think is going wrong. On one or max two
screens of text, please.

>From the bug report guide, you will note following bullet:

"Bugs in releases or snapshots of GCC not issued by the GNU Project. Report
them to whoever provided you with the release"

FYI, "miro" (or whatever) is not issued by the GNU project.


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


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

* [Bug bootstrap/39262] [miro] - Revision 144368 - Werror in ../miro/gcc/genconstants.c
  2009-02-22  3:03 [Bug bootstrap/39262] New: [miro] - Revision 144368 - Werror in ../miro/gcc/genconstants.c rob1weld at aol dot com
  2009-02-22  7:40 ` [Bug bootstrap/39262] " ubizjak at gmail dot com
@ 2009-02-22 12:25 ` pinskia at gcc dot gnu dot org
  2009-02-22 12:51 ` rob1weld at aol dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-02-22 12:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2009-02-22 12:24 -------
miro branch was created but never touched so invalid.


-- 


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


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

* [Bug bootstrap/39262] [miro] - Revision 144368 - Werror in ../miro/gcc/genconstants.c
  2009-02-22  3:03 [Bug bootstrap/39262] New: [miro] - Revision 144368 - Werror in ../miro/gcc/genconstants.c rob1weld at aol dot com
  2009-02-22  7:40 ` [Bug bootstrap/39262] " ubizjak at gmail dot com
  2009-02-22 12:25 ` pinskia at gcc dot gnu dot org
@ 2009-02-22 12:51 ` rob1weld at aol dot com
  2009-02-22 12:56 ` steven at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rob1weld at aol dot com @ 2009-02-22 12:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rob1weld at aol dot com  2009-02-22 12:51 -------
(In reply to comment #1)
> Rob, did you ever read http://gcc.gnu.org/bugs.html#report ?
> 
> To be honest, I don't even know _what_ are you reporting here. There is no
> point to post hundreds of lines from build logs, since this is too much for
> anybody to even read it. Sorry.
> 
> So, please stop wasting yours and others time and please post a precise
> bugreport that _explains_ what you think is going wrong. On one or max two
> screens of text, please.
> 
> From the bug report guide, you will note following bullet:
> 
> "Bugs in releases or snapshots of GCC not issued by the GNU Project. Report
> them to whoever provided you with the release"
> 
> FYI, "miro" (or whatever) is not issued by the GNU project.
> 

http://gcc.gnu.org/wiki/MIRO
svn co svn://gcc.gnu.org/svn/gcc/branches/miro miro

Who issues it ?


> please post a precise bugreport that _explains_ what you think ...
Read the title, it is a Werror.

In addition to the Werror, while someone is doing that they
may (or may not) desire to catch the few warnings in other
files that are generating thousands of warnings (and lead to
the Werror). Two ways to fix this, a simple exclusion or fix
all the warnings.


> To be honest, I don't even know _what_ are you reporting ...
This much we know. We thank you for your input on something
that you know nothing about, do you have more to offer?


Did you ever read: http://gcc.gnu.org/svn.html#devbranches

The "miro branch" is listed under "Active Development Branches".


Lets go with this Branch needs it's web page fixed (instead
of exchanges of rudeness).


Rob


-- 


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


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

* [Bug bootstrap/39262] [miro] - Revision 144368 - Werror in ../miro/gcc/genconstants.c
  2009-02-22  3:03 [Bug bootstrap/39262] New: [miro] - Revision 144368 - Werror in ../miro/gcc/genconstants.c rob1weld at aol dot com
                   ` (2 preceding siblings ...)
  2009-02-22 12:51 ` rob1weld at aol dot com
@ 2009-02-22 12:56 ` steven at gcc dot gnu dot org
  2009-02-22 14:55 ` sebpop at gmail dot com
  2009-02-22 20:39 ` rob1weld at aol dot com
  5 siblings, 0 replies; 7+ messages in thread
From: steven at gcc dot gnu dot org @ 2009-02-22 12:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from steven at gcc dot gnu dot org  2009-02-22 12:56 -------
> Did you ever read: http://gcc.gnu.org/svn.html#devbranches
> 
> The "miro branch" is listed under "Active Development Branches".

Well, it doesn't look active to me.

Seb, please do something here (move to inactive, or close, or whatever),
because it's indeed confusing and it creates false expectations.


-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |spop at gcc dot gnu dot org


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


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

* [Bug bootstrap/39262] [miro] - Revision 144368 - Werror in ../miro/gcc/genconstants.c
  2009-02-22  3:03 [Bug bootstrap/39262] New: [miro] - Revision 144368 - Werror in ../miro/gcc/genconstants.c rob1weld at aol dot com
                   ` (3 preceding siblings ...)
  2009-02-22 12:56 ` steven at gcc dot gnu dot org
@ 2009-02-22 14:55 ` sebpop at gmail dot com
  2009-02-22 20:39 ` rob1weld at aol dot com
  5 siblings, 0 replies; 7+ messages in thread
From: sebpop at gmail dot com @ 2009-02-22 14:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from sebpop at gmail dot com  2009-02-22 14:55 -------
Subject: Re:  [miro] - Revision 144368 - Werror in 
        ../miro/gcc/genconstants.c

I will fix this with the attached patch when approved.


------- Comment #6 from sebpop at gmail dot com  2009-02-22 14:55 -------
Created an attachment (id=17342)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17342&action=view)


-- 


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


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

* [Bug bootstrap/39262] [miro] - Revision 144368 - Werror in ../miro/gcc/genconstants.c
  2009-02-22  3:03 [Bug bootstrap/39262] New: [miro] - Revision 144368 - Werror in ../miro/gcc/genconstants.c rob1weld at aol dot com
                   ` (4 preceding siblings ...)
  2009-02-22 14:55 ` sebpop at gmail dot com
@ 2009-02-22 20:39 ` rob1weld at aol dot com
  5 siblings, 0 replies; 7+ messages in thread
From: rob1weld at aol dot com @ 2009-02-22 20:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from rob1weld at aol dot com  2009-02-22 20:39 -------
(In reply to comment #5)
> Subject: Re:  [miro] - Revision 144368 - Werror in 
>         ../miro/gcc/genconstants.c
> 
> I will fix this with the attached patch when approved.
> 

Thanks kindly, great results are here: 
http://gcc.gnu.org/ml/gcc-testresults/2009-02/msg02215.html .

I will post no more about 'miro' other than a hope it is merged someday ...

I will now try 'lto' since that seems to have flame-retarder built-in :)  .


Rob


-- 


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


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

end of thread, other threads:[~2009-02-22 20:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-22  3:03 [Bug bootstrap/39262] New: [miro] - Revision 144368 - Werror in ../miro/gcc/genconstants.c rob1weld at aol dot com
2009-02-22  7:40 ` [Bug bootstrap/39262] " ubizjak at gmail dot com
2009-02-22 12:25 ` pinskia at gcc dot gnu dot org
2009-02-22 12:51 ` rob1weld at aol dot com
2009-02-22 12:56 ` steven at gcc dot gnu dot org
2009-02-22 14:55 ` sebpop at gmail dot com
2009-02-22 20:39 ` rob1weld at aol dot com

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