From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 100014 invoked by alias); 19 Oct 2015 16:46:16 -0000 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 Received: (qmail 99976 invoked by uid 48); 19 Oct 2015 16:46:12 -0000 From: "josephpattara at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/64919] bootstrap failure of gcc-4.9.2 on ia64-hpux in libgcc Date: Mon, 19 Oct 2015 16:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: josephpattara at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-10/txt/msg01505.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64919 Joseph John changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |josephpattara at gmail dot com --- Comment #11 from Joseph John --- I tried to use the work around suggested by John but was not succesful in making the 4.9.2 compilation. I applied the patch to the 4.7.4 and made a succesful build of 4.7.4. I then installed the 4.7.4 and used to compile 4.9.2 which run into the below error: home/jjohn/hpux/gcc_492/gcc-build/./gcc/xgcc -shared-libgcc -B/home/jjohn/hpux/gcc_492/gcc-build/./gcc -nostdinc++ -L/home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/src -L/home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/src/.libs -L/home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/libsupc++/.libs -B/opt/gcc_492/ia64-hp-hpux11.31/bin/ -B/opt/gcc_492/ia64-hp-hpux11.31/lib/ -isystem /opt/gcc_492/ia64-hp-hpux11.31/include -isystem /opt/gcc_492/ia64-hp-hpux11.31/sys-include -x c++-header -nostdinc++ -g -O2 -I/home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/ia64-hp-hpux11.31 -I/home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include -I/home/jjohn/hpux/gcc_492/gcc-4.9.2/libstdc++-v3/libsupc++ -O2 -g -std=gnu++0x /home/jjohn/hpux/gcc_492/gcc-4.9.2/libstdc++-v3/include/precompiled/stdc++.h -o ia64-hp-hpux11.31/bits/stdc++.h.gch/O2ggnu++0x.gch In file included from /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/bits/move.h:57:0, from /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/bits/stl_pair.h:59, from /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/bits/stl_algobase.h:64, from /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/bits/char_traits.h:39, from /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/ios:40, from /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/istream:38, from /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/sstream:38, from /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/complex:45, from /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/ccomplex:38, from /home/jjohn/hpux/gcc_492/gcc-4.9.2/libstdc++-v3/include/precompiled/stdc++.h:52: /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:395:44: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:399:45: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:407:47: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:411:48: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:419:50: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:423:51: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:431:53: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:435:54: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:443:53: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:447:54: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:455:56: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:459:57: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:467:59: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:471:60: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:479:62: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:483:63: error: template argument 1 is invalid In file included from /home/jjohn/hpux/gcc_492/gcc-4.9.2/libstdc++-v3/include/precompiled/stdc++.h:103:0: /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/future:1509:5: error: looser throw specifier for 'virtual std::__future_base::_Async_state_commonV2::~_Async_state_commonV2()' /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/future:316:15: error: overriding 'virtual std::__future_base::_State_baseV2::~_State_baseV2() noexcept (true)' In file included from /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/regex:57:0, from /home/jjohn/hpux/gcc_492/gcc-4.9.2/libstdc++-v3/include/precompiled/stdc++.h:108: /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/bits/regex_automaton.h:159:24: error: 'std::__detail::_NFA_base::_NFA_base' names constructor So it assumes the build has gone much further ahead but it failed with the libstc++ compilation. The configure command which I used is: ../gcc-4.9.2/configure --prefix=/opt/gcc_492 --with-local-prefix=/opt/hgcc_492 --with-gnu-as --with-as=/usr/local/bin/as --without-gnu-ld --with-ld=/usr/ccs/bin/ld --disable-nls --disable-libgcj --enable-shared --enable-threads=posix --enable-languages=c,c++ SED=/usr/local/bin/sed CC="gcc -mlp64" CXX="g++ -mlp64"