public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "htl10 at users dot sourceforge dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/40912]  New: 4.5 weekly snapshot: failed to pre-compile bits/stdc++.h.gch/O2ggnu++0x.gch
Date: Thu, 30 Jul 2009 10:09:00 -0000	[thread overview]
Message-ID: <bug-40912-10503@http.gcc.gnu.org/bugzilla/> (raw)

I don't know if it is appropriate to file bugs against a snapshot... it is okay
to close this if the issue was transient and a latter commit fixes the issue
reported here. In the course of checking bug 40894 against current gcc code
base I got the gcc-4.5-20090723 weekly snapshot tar ball. make bootstrap4-lean
fails while precompiling the libstdc++ headers:
--------------
make[3]: Entering directory
`/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3'
Making all in include
make[4]: Entering directory
`/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include'
mkdir -p ./alphaev68-dec-osf5.1a/bits/stdc++.h.gch
/home/htl10/tmp-build/obj45-dir/./gcc/xgcc -shared-libgcc
-B/home/htl10/tmp-build/obj45-dir/./gcc -nostdinc++
-L/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/src
-L/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/src/.libs
-B/usr/local/alphaev68-dec-osf5.1a/bin/ -B/usr/local/alphaev68-dec-osf5.1a/lib/
-isystem /usr/local/alphaev68-dec-osf5.1a/include -isystem
/usr/local/alphaev68-dec-osf5.1a/sys-include    -x c++-header -g -O2 -mieee
-I/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/alphaev68-dec-osf5.1a
-I/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include
-I/home/htl10/tmp-build/gcc-4.5-20090723/libstdc++-v3/libsupc++ -O2 -g
-std=gnu++0x
/home/htl10/tmp-build/gcc-4.5-20090723/libstdc++-v3/include/precompiled/stdc++.h
\
        -o alphaev68-dec-osf5.1a/bits/stdc++.h.gch/O2ggnu++0x.gch
In file included from
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/random:50:0,
                 from
/home/htl10/tmp-build/gcc-4.5-20090723/libstdc++-v3/include/precompiled/stdc++.h:102:
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1310:38:
error: 'uint_fast32_t' was not declared in this scope
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1310:79:
error: template argument 1 is invalid
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1310:79:
error: '<type error>' is not a valid type for a template constant parameter
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1310:79:
error: '<type error>' is not a valid type for a template constant parameter
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1310:79:
error: '<type error>' is not a valid type for a template constant parameter
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1311:15:
error: invalid type in declaration before ';' token
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1316:38:
error: 'uint_fast32_t' was not declared in this scope
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1316:79:
error: template argument 1 is invalid
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1316:79:
error: '<type error>' is not a valid type for a template constant parameter
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1316:79:
error: '<type error>' is not a valid type for a template constant parameter
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1316:79:
error: '<type error>' is not a valid type for a template constant parameter
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1317:14:
error: invalid type in declaration before ';' token
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1328:5:
error: 'uint_fast32_t' was not declared in this scope
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1333:35:
error: template argument 1 is invalid
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1333:35:
error: '<type error>' is not a valid type for a template constant parameter
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1333:35:
error: '<type error>' is not a valid type for a template constant parameter
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1333:35:
error: '<type error>' is not a valid type for a template constant parameter
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1333:35:
error: '<type error>' is not a valid type for a template constant parameter
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1333:35:
error: '<type error>' is not a valid type for a template constant parameter
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1333:44:
error: invalid type in declaration before ';' token
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1339:5:
error: 'uint_fast64_t' was not declared in this scope
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1345:27:
error: template argument 1 is invalid
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1345:27:
error: '<type error>' is not a valid type for a template constant parameter
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1345:27:
error: '<type error>' is not a valid type for a template constant parameter
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1345:27:
error: '<type error>' is not a valid type for a template constant parameter
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1345:27:
error: '<type error>' is not a valid type for a template constant parameter
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1345:27:
error: '<type error>' is not a valid type for a template constant parameter
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1345:39:
error: invalid type in declaration before ';' token
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1350:38:
error: 'uint_fast32_t' was not declared in this scope
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1350:63:
error: template argument 1 is invalid
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1351:18:
error: invalid type in declaration before ';' token
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1353:38:
error: 'uint_fast64_t' was not declared in this scope
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1353:62:
error: template argument 1 is invalid
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1354:18:
error: invalid type in declaration before ';' token
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:
In member function 'std::random_device::result_type
std::random_device::operator()()':
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:1444:20:
error: '((std::random_device*)this)->std::random_device::_M_mt' cannot be used
as a function
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:
At global scope:
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:4556:13:
error: 'uint_least32_t' does not name a type
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:4585:17:
error: 'result_type' was not declared in this scope
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:4585:28:
error: template argument 1 is invalid
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:4585:28:
error: template argument 2 is invalid
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:
In member function 'size_t std::seed_seq::size() const':
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:4576:19:
error: request for member 'size' in '((const
std::seed_seq*)this)->std::seed_seq::_M_v', which is of non-class type 'const
int'
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:
In member function 'void std::seed_seq::param(OutputIterator) const':
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:4581:24:
error: request for member 'begin' in '((const
std::seed_seq*)this)->std::seed_seq::_M_v', which is of non-class type 'const
int'
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.h:4581:38:
error: request for member 'end' in '((const
std::seed_seq*)this)->std::seed_seq::_M_v', which is of non-class type 'const
int'
In file included from
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/random:53:0,
                 from
/home/htl10/tmp-build/gcc-4.5-20090723/libstdc++-v3/include/precompiled/stdc++.h:102:
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:
In member function 'void std::linear_congruential_engine<_UIntType, __a, __c,
__m>::seed(std::seed_seq&)':
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:119:7:
error: 'uint_least32_t' was not declared in this scope
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:119:22:
error: expected ';' before '__arr'
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:120:20:
error: '__arr' was not declared in this scope
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:
In member function 'void std::mersenne_twister_engine<_UIntType, __w, __n, __m,
__r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::seed(std::seed_seq&)':
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:209:7:
error: 'uint_least32_t' was not declared in this scope
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:209:22:
error: expected ';' before '__arr'
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:210:20:
error: '__arr' was not declared in this scope
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:
In member function 'void std::subtract_with_carry_engine<_UIntType, __w, __s,
__r>::seed(result_type)':
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:359:33:
error: 'uint_least32_t' was not declared in this scope
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:360:27:
error: 'uint_least32_t' cannot appear in a constant-expression
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:360:45:
error: template argument 1 is invalid
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:360:45:
error: template argument 3 is invalid
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:
In member function 'void std::subtract_with_carry_engine<_UIntType, __w, __s,
__r>::seed(std::seed_seq&)':
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:377:7:
error: 'uint_least32_t' was not declared in this scope
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:377:22:
error: expected ';' before '__arr'
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:378:20:
error: '__arr' was not declared in this scope
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:
In constructor 'std::seed_seq::seed_seq(std::initializer_list<_CharT>)':
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:2484:7:
error: request for member 'push_back' in
'((std::seed_seq*)this)->std::seed_seq::_M_v', which is of non-class type 'int'
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:2484:33:
error: 'result_type' was not declared in this scope
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:2485:27:
error: 'result_type' cannot appear in a constant-expression
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:2485:42:
error: template argument 1 is invalid
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:2485:42:
error: template argument 3 is invalid
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:
In constructor 'std::seed_seq::seed_seq(_InputIterator, _InputIterator)':
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:2492:7:
error: request for member 'push_back' in
'((std::seed_seq*)this)->std::seed_seq::_M_v', which is of non-class type 'int'
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:2492:33:
error: 'result_type' was not declared in this scope
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:2493:27:
error: 'result_type' cannot appear in a constant-expression
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:2493:42:
error: template argument 1 is invalid
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:2493:42:
error: template argument 3 is invalid
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:
In member function 'void std::seed_seq::generate(_RandomAccessIterator,
_RandomAccessIterator)':
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:2510:31:
error: request for member 'size' in
'((std::seed_seq*)this)->std::seed_seq::_M_v', which is of non-class type 'int'
/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include/bits/random.tcc:2532:38:
error: invalid types 'int[size_t]' for array subscript
make[4]: *** [alphaev68-dec-osf5.1a/bits/stdc++.h.gch/O2ggnu++0x.gch] Error 1
make[4]: Leaving directory
`/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3/include'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/htl10/tmp-build/obj45-dir/alphaev68-dec-osf5.1a/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/home/htl10/tmp-build/obj45-dir'
make: *** [bootstrap4-lean] Error 2
-----------


-- 
           Summary: 4.5 weekly snapshot: failed to pre-compile
                    bits/stdc++.h.gch/O2ggnu++0x.gch
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: htl10 at users dot sourceforge dot net
  GCC host triplet: alphaev68-dec-osf5.1a


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


             reply	other threads:[~2009-07-30 10:09 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-30 10:09 htl10 at users dot sourceforge dot net [this message]
2009-07-30 11:31 ` [Bug libstdc++/40912] " paolo dot carlini at oracle dot com
2009-07-30 11:50 ` htl10 at users dot sourceforge dot net
2009-07-30 12:41 ` paolo dot carlini at oracle dot com
2009-07-30 12:57 ` htl10 at users dot sourceforge dot net
2009-07-30 15:41 ` paolo dot carlini at oracle dot com
2009-07-30 15:59 ` htl10 at users dot sourceforge dot net
2009-07-30 16:26 ` paolo dot carlini at oracle dot com
2009-07-30 16:31 ` joseph at codesourcery dot com
2009-07-30 16:54 ` htl10 at users dot sourceforge dot net
2009-07-30 19:28 ` joseph at codesourcery dot com
2009-07-31  1:50 ` htl10 at users dot sourceforge dot net
2009-07-31  2:14 ` htl10 at users dot sourceforge dot net
2009-07-31  9:42 ` [Bug libstdc++/40912] [4.5 Regression] failure " paolo dot carlini at oracle dot com
2009-07-31  9:44 ` paolo dot carlini at oracle dot com
2009-07-31  9:49 ` paolo dot carlini at oracle dot com
2009-07-31  9:55 ` htl10 at users dot sourceforge dot net
2009-07-31 12:19 ` paolo at gcc dot gnu dot org
2009-07-31 12:22 ` paolo dot carlini at oracle dot com
2009-08-02 22:34 ` htl10 at users dot sourceforge dot net
2009-08-02 22:51 ` htl10 at users dot sourceforge dot net
2009-08-02 23:36 ` paolo at gcc dot gnu dot org
2009-08-02 23:38 ` paolo dot carlini at oracle dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-40912-10503@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).