public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/54326] New: GCC does not build with G++ version 3.4.0
@ 2012-08-19 18:30 gary at intrepid dot com
  2012-08-19 20:55 ` [Bug other/54326] " gary at intrepid dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: gary at intrepid dot com @ 2012-08-19 18:30 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 54326
           Summary: GCC does not build with G++ version 3.4.0
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: gary@intrepid.com


Ref: http://gcc.gnu.org/ml/gcc-patches/2012-08/msg01223.html
See also: Bug #54324 (install documentation does not list the minimum required
g++ version)

Paul Hargrove noted the following build failure on an older x86-32 Linux
(Redhat 8.0) system.

The g++ version is: g++ (GCC) 3.4.0

g++ -c   -g -O2 -DIN_GCC   -fno-exceptions -fno-rtti -W -Wall
-Wwrite-strings -Wcast-qual -Wmissing-format-attribute -fno-common
 -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild
-I/usr/local/pkg/upc/nightly/compiler/gupc-src/gcc
-I/usr/local/pkg/upc/nightly/compiler/gupc-src/gcc/build
-I/usr/local/pkg/upc/nightly/compiler/gupc-src/gcc/../include
-I/usr/local/pkg/upc/nightly/compiler/gupc-src/gcc/../libcpp/include
-I/usr/local/pkg/gmp-4.2.4/include -I/usr/local/pkg/mpfr-2.4.2/include
-I/usr/local/pkg/mpc-0.8/include
 -I/usr/local/pkg/upc/nightly/compiler/gupc-src/gcc/../libdecnumber
-I/usr/local/pkg/upc/nightly/compiler/gupc-src/gcc/../libdecnumber/bid
-I../libdecnumber    \
        -o build/genoutput.o
/usr/local/pkg/upc/nightly/compiler/gupc-src/gcc/genoutput.c
/usr/local/pkg/upc/nightly/compiler/gupc-src/gcc/genoutput.c: In function
`void note_constraint(rtx_def*, int)':
/usr/local/pkg/upc/nightly/compiler/gupc-src/gcc/genoutput.c:1178: error:
reinterpret_cast from type `const char (*)[1]' to type `char*' casts away
constness
make[2]: *** [build/genoutput.o] Error 1
make[2]: Leaving directory `/usr/local/pkg/upc/nightly/compiler/bld/gcc'
make[1]: *** [all-gcc] Error 2


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

* [Bug other/54326] GCC does not build with G++ version 3.4.0
  2012-08-19 18:30 [Bug other/54326] New: GCC does not build with G++ version 3.4.0 gary at intrepid dot com
@ 2012-08-19 20:55 ` gary at intrepid dot com
  2012-08-20  7:50 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: gary at intrepid dot com @ 2012-08-19 20:55 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Gary Funck <gary at intrepid dot com> 2012-08-19 20:54:51 UTC ---
Don't know if this is relevant, but a recent thread on the clang-dev list
explored the differences between GCC and clang in the handling of const and
constexpr.
"clang vs GCC error case: both ‘const’ and ‘constexpr’ cannot be used here"
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2012-August/023565.html


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

* [Bug other/54326] GCC does not build with G++ version 3.4.0
  2012-08-19 18:30 [Bug other/54326] New: GCC does not build with G++ version 3.4.0 gary at intrepid dot com
  2012-08-19 20:55 ` [Bug other/54326] " gary at intrepid dot com
@ 2012-08-20  7:50 ` rguenth at gcc dot gnu.org
  2012-08-20  7:59 ` [Bug bootstrap/54326] " rguenth at gcc dot gnu.org
  2012-08-20  8:22 ` PHHargrove at lbl dot gov
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-08-20  7:50 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-08-20 07:49:47 UTC ---
Author: rguenth
Date: Mon Aug 20 07:49:41 2012
New Revision: 190524

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190524
Log:
2012-08-20  Richard Guenther  <rguenther@suse.de>

    PR bootstrap/54326
    * genoutput.c (note_constraint): Properly use CONST_CAST.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/genoutput.c


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

* [Bug bootstrap/54326] GCC does not build with G++ version 3.4.0
  2012-08-19 18:30 [Bug other/54326] New: GCC does not build with G++ version 3.4.0 gary at intrepid dot com
  2012-08-19 20:55 ` [Bug other/54326] " gary at intrepid dot com
  2012-08-20  7:50 ` rguenth at gcc dot gnu.org
@ 2012-08-20  7:59 ` rguenth at gcc dot gnu.org
  2012-08-20  8:22 ` PHHargrove at lbl dot gov
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-08-20  7:59 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|other                       |bootstrap
         Resolution|                            |FIXED

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-08-20 07:59:30 UTC ---
Fixed(?).


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

* [Bug bootstrap/54326] GCC does not build with G++ version 3.4.0
  2012-08-19 18:30 [Bug other/54326] New: GCC does not build with G++ version 3.4.0 gary at intrepid dot com
                   ` (2 preceding siblings ...)
  2012-08-20  7:59 ` [Bug bootstrap/54326] " rguenth at gcc dot gnu.org
@ 2012-08-20  8:22 ` PHHargrove at lbl dot gov
  3 siblings, 0 replies; 5+ messages in thread
From: PHHargrove at lbl dot gov @ 2012-08-20  8:22 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Paul H. Hargrove <PHHargrove at lbl dot gov> 2012-08-20 08:22:18 UTC ---
(In reply to comment #3)
> Fixed(?).

YES.  I was the one to originally observe the failure.
Just svn-uped to revision 190524 and was able to build stage1 with g++-3.4.0.


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

end of thread, other threads:[~2012-08-20  8:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-19 18:30 [Bug other/54326] New: GCC does not build with G++ version 3.4.0 gary at intrepid dot com
2012-08-19 20:55 ` [Bug other/54326] " gary at intrepid dot com
2012-08-20  7:50 ` rguenth at gcc dot gnu.org
2012-08-20  7:59 ` [Bug bootstrap/54326] " rguenth at gcc dot gnu.org
2012-08-20  8:22 ` PHHargrove at lbl dot gov

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