public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/57486] New: bootstrap fails on 4.8 and google/4.8 branch on RHEL6.1 platform
@ 2013-05-31 18:00 matt at use dot net
  2013-06-03  8:42 ` [Bug bootstrap/57486] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: matt at use dot net @ 2013-05-31 18:00 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 57486
           Summary: bootstrap fails on 4.8 and google/4.8 branch on
                    RHEL6.1 platform
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: matt at use dot net

I'm getting this failure when trying to bootstrap on RHEL6.1, with either the
system compiler (gcc 4.4.x) or a 4.7-based compiler I bootstrapped successfully
before:

../configure --prefix=/u/mhargett --with-cloog=/usr/home/nfs-readonly/mhargett
--with-isl=/usr/home/nfs-readonly/mhargett
--with-gmp=/usr/home/nfs-readonly/mhargett
--with-mpfr=/usr/home/nfs-readonly/mhargett
--with-ppl=/usr/home/nfs-readonly/mhargett
--with-isl=/usr/home/nfs-readonly/mhargett/ --disable-isl-version-check
--with-build-config=bootstrap-lto  --enable-languages=c,c++,lto
--enable-gold=yes --enable-lto

/opt/gcc-google-4.7-v7/bin/g++-google-4.7 -c   -g -DIN_GCC   -fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -I.
-I. -I../../gcc -I../../gcc/. -I../../gcc/../include
-I../../gcc/../libcpp/include -I/usr/home/nfs-readonly/mhargett/include
-I/usr/home/nfs-readonly/mhargett/include  -I../../gcc/../libdecnumber
-I../../gcc/../libdecnumber/bid -I../libdecnumber -I../../gcc/../libbacktrace
-DCLOOG_INT_GMP -I/usr/home/nfs-readonly/mhargett/include
-I/usr/home/nfs-readonly/mhargett//include  ../../gcc/graphite-dependences.c -o
graphite-dependences.o
In file included from ../../gcc/dbgcnt.h:28:0,
                 from ../../gcc/graphite.c:57:
../../gcc/dbgcnt.def:149:1: error: \u2018clone\u2019 redeclared as different
kind of symbol
In file included from /usr/include/sched.h:43:0,
                 from /usr/include/pthread.h:25,
                 from
/opt/gcc-google-4.7-v7/lib/gcc/x86_64-unknown-linux-gnu/4.7.x-google/../../../../include/c++/4.7.x-google/x86_64-unknown-linux-gnu/bits/gthr-default.h:41,
                 from
/opt/gcc-google-4.7-v7/lib/gcc/x86_64-unknown-linux-gnu/4.7.x-google/../../../../include/c++/4.7.x-google/x86_64-unknown-linux-gnu/bits/gthr.h:150,
                 from
/opt/gcc-google-4.7-v7/lib/gcc/x86_64-unknown-linux-gnu/4.7.x-google/../../../../include/c++/4.7.x-google/ext/atomicity.h:34,
                 from
/opt/gcc-google-4.7-v7/lib/gcc/x86_64-unknown-linux-gnu/4.7.x-google/../../../../include/c++/4.7.x-google/bits/ios_base.h:41,
                 from
/opt/gcc-google-4.7-v7/lib/gcc/x86_64-unknown-linux-gnu/4.7.x-google/../../../../include/c++/4.7.x-google/ios:43,
                 from
/opt/gcc-google-4.7-v7/lib/gcc/x86_64-unknown-linux-gnu/4.7.x-google/../../../../include/c++/4.7.x-google/ostream:40,
                 from
/opt/gcc-google-4.7-v7/lib/gcc/x86_64-unknown-linux-gnu/4.7.x-google/../../../../include/c++/4.7.x-google/iostream:40,
                 from /usr/home/nfs-readonly/mhargett/include/isl/int.h:17,
                 from /usr/home/nfs-readonly/mhargett/include/isl/ctx.h:16,
                 from /usr/home/nfs-readonly/mhargett/include/isl/map_type.h:4,
                 from /usr/home/nfs-readonly/mhargett/include/isl/set.h:13,
                 from ../../gcc/graphite.c:38:
/usr/include/bits/sched.h:83:12: error: previous declaration of \u2018int
clone(int (*)(void*), void*, int, void*, ...)\u2019
make[3]: *** [graphite.o] Error 1
make[3]: *** Waiting for unfinished jobs....


the problem is this line in dbgcnt.def:
DEBUG_COUNTER (clone)

unless there's a better suggestion, I'll attach a patch that renames the
counter to clone_function.


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

* [Bug bootstrap/57486] bootstrap fails on 4.8 and google/4.8 branch on RHEL6.1 platform
  2013-05-31 18:00 [Bug bootstrap/57486] New: bootstrap fails on 4.8 and google/4.8 branch on RHEL6.1 platform matt at use dot net
@ 2013-06-03  8:42 ` rguenth at gcc dot gnu.org
  2013-06-27 11:17 ` dtemirbulatov at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-06-03  8:42 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2013-06-03
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Err...

In file included from ../../gcc/dbgcnt.h:28:0,
                 from ../../gcc/graphite.c:57:
../../gcc/dbgcnt.def:149:1: error: \u2018clone\u2019 redeclared as different
kind of symbol

this is weird - dbgcnt.def does not include a 'clone' debug-counter, line 149
reads

DEBUG_COUNTER (dce)

for me.

Please provide preprocessed source with -dD for graphite.c.


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

* [Bug bootstrap/57486] bootstrap fails on 4.8 and google/4.8 branch on RHEL6.1 platform
  2013-05-31 18:00 [Bug bootstrap/57486] New: bootstrap fails on 4.8 and google/4.8 branch on RHEL6.1 platform matt at use dot net
  2013-06-03  8:42 ` [Bug bootstrap/57486] " rguenth at gcc dot gnu.org
@ 2013-06-27 11:17 ` dtemirbulatov at gmail dot com
  2013-06-27 11:19 ` dtemirbulatov at gmail dot com
  2014-03-06  1:42 ` brooks at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: dtemirbulatov at gmail dot com @ 2013-06-27 11:17 UTC (permalink / raw)
  To: gcc-bugs

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

Dinar Temirbulatov <dtemirbulatov at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dtemirbulatov at gmail dot com

--- Comment #2 from Dinar Temirbulatov <dtemirbulatov at gmail dot com> ---
Created attachment 30385
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30385&action=edit
preporcessed graphite.c with -dD option


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

* [Bug bootstrap/57486] bootstrap fails on 4.8 and google/4.8 branch on RHEL6.1 platform
  2013-05-31 18:00 [Bug bootstrap/57486] New: bootstrap fails on 4.8 and google/4.8 branch on RHEL6.1 platform matt at use dot net
  2013-06-03  8:42 ` [Bug bootstrap/57486] " rguenth at gcc dot gnu.org
  2013-06-27 11:17 ` dtemirbulatov at gmail dot com
@ 2013-06-27 11:19 ` dtemirbulatov at gmail dot com
  2014-03-06  1:42 ` brooks at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: dtemirbulatov at gmail dot com @ 2013-06-27 11:19 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Dinar Temirbulatov <dtemirbulatov at gmail dot com> ---
Hello, Richard. I have got this error with gcc-4.8.x-google branch under the
RedHat based system. Here is command-line to reproduce the error: g++ -c
graphite.i -o graphite.o -fno-exceptions -fno-rtti -O2.


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

* [Bug bootstrap/57486] bootstrap fails on 4.8 and google/4.8 branch on RHEL6.1 platform
  2013-05-31 18:00 [Bug bootstrap/57486] New: bootstrap fails on 4.8 and google/4.8 branch on RHEL6.1 platform matt at use dot net
                   ` (2 preceding siblings ...)
  2013-06-27 11:19 ` dtemirbulatov at gmail dot com
@ 2014-03-06  1:42 ` brooks at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: brooks at gcc dot gnu.org @ 2014-03-06  1:42 UTC (permalink / raw)
  To: gcc-bugs

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

Brooks Moses <brooks at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
                 CC|                            |brooks at gcc dot gnu.org
         Resolution|---                         |MOVED

--- Comment #4 from Brooks Moses <brooks at gcc dot gnu.org> ---
This appears to be a local issue with the google/* branches.  It's now been
reported internally at Google, and I'm closing this since it doesn't appear to
be an upstream-GCC issue.

(Matt, Dinar, please reopen if this reproduces on trunk or an FSF branch.)


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

end of thread, other threads:[~2014-03-06  1:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-31 18:00 [Bug bootstrap/57486] New: bootstrap fails on 4.8 and google/4.8 branch on RHEL6.1 platform matt at use dot net
2013-06-03  8:42 ` [Bug bootstrap/57486] " rguenth at gcc dot gnu.org
2013-06-27 11:17 ` dtemirbulatov at gmail dot com
2013-06-27 11:19 ` dtemirbulatov at gmail dot com
2014-03-06  1:42 ` brooks 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).