From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27710 invoked by alias); 30 Jul 2009 10:09:11 -0000 Received: (qmail 27666 invoked by uid 48); 30 Jul 2009 10:08:57 -0000 Date: Thu, 30 Jul 2009 10:09:00 -0000 Subject: [Bug libstdc++/40912] New: 4.5 weekly snapshot: failed to pre-compile bits/stdc++.h.gch/O2ggnu++0x.gch X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "htl10 at users dot sourceforge dot net" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-07/txt/msg02426.txt.bz2 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: '' 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: '' 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: '' 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: '' 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: '' 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: '' 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: '' 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: '' 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: '' 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: '' 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: '' 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: '' 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: '' 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: '' 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: '' 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: '' 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