public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/64919] bootstrap failure of gcc-4.9.2 on ia64-hpux in libgcc
       [not found] <bug-64919-4@http.gcc.gnu.org/bugzilla/>
@ 2015-02-03 13:48 ` tgard at opentext dot com
  2015-04-27  9:55 ` jvb at cyberscience dot com
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: tgard at opentext dot com @ 2015-02-03 13:48 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64919

Torbjörn Gard <tgard at opentext dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tgard at opentext dot com

--- Comment #1 from Torbjörn Gard <tgard at opentext dot com> ---
Created attachment 34653
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34653&action=edit
Manual compile with config.log values
>From gcc-bugs-return-475881-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 03 13:49:54 2015
Return-Path: <gcc-bugs-return-475881-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20898 invoked by alias); 3 Feb 2015 13:49:54 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 20837 invoked by uid 48); 3 Feb 2015 13:49:50 -0000
From: "tgard at opentext dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/64919] bootstrap failure of gcc-4.9.2 on ia64-hpux in libgcc
Date: Tue, 03 Feb 2015 13:49: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: tgard at opentext dot com
X-Bugzilla-Status: UNCONFIRMED
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: attachments.created
Message-ID: <bug-64919-4-L72kboC0O0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64919-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64919-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-02/txt/msg00214.txt.bz2
Content-length: 291

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64919

--- Comment #2 from Torbjörn Gard <tgard at opentext dot com> ---
Created attachment 34654
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34654&action=edit
Using truss for the compile: Note that cc1 command does not exist
>From gcc-bugs-return-475882-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 03 13:50:32 2015
Return-Path: <gcc-bugs-return-475882-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27237 invoked by alias); 3 Feb 2015 13:50:32 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 27159 invoked by uid 48); 3 Feb 2015 13:50:29 -0000
From: "tgard at opentext dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/64919] bootstrap failure of gcc-4.9.2 on ia64-hpux in libgcc
Date: Tue, 03 Feb 2015 13:50: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: tgard at opentext dot com
X-Bugzilla-Status: UNCONFIRMED
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: attachments.created
Message-ID: <bug-64919-4-UG1tulvOvL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64919-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64919-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-02/txt/msg00215.txt.bz2
Content-length: 246

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64919

--- Comment #3 from Torbjörn Gard <tgard at opentext dot com> ---
Created attachment 34655
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34655&action=edit
confg.log for libgcc
>From gcc-bugs-return-475883-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 03 13:51:07 2015
Return-Path: <gcc-bugs-return-475883-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27967 invoked by alias); 3 Feb 2015 13:51:07 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 27879 invoked by uid 48); 3 Feb 2015 13:51:03 -0000
From: "tgard at opentext dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/64919] bootstrap failure of gcc-4.9.2 on ia64-hpux in libgcc
Date: Tue, 03 Feb 2015 13:51: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: tgard at opentext dot com
X-Bugzilla-Status: UNCONFIRMED
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: attachments.created
Message-ID: <bug-64919-4-M0chVsDas5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64919-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64919-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-02/txt/msg00216.txt.bz2
Content-length: 246

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64919

--- Comment #4 from Torbjörn Gard <tgard at opentext dot com> ---
Created attachment 34656
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34656&action=edit
top level config.log
>From gcc-bugs-return-475884-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 03 13:53:38 2015
Return-Path: <gcc-bugs-return-475884-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31373 invoked by alias); 3 Feb 2015 13:53:36 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 31293 invoked by uid 48); 3 Feb 2015 13:53:33 -0000
From: "tgard at opentext dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/64919] bootstrap failure of gcc-4.9.2 on ia64-hpux in libgcc
Date: Tue, 03 Feb 2015 13:53: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: tgard at opentext dot com
X-Bugzilla-Status: UNCONFIRMED
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: attachments.isobsolete attachments.created
Message-ID: <bug-64919-4-jVPgKA3tgm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64919-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64919-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-02/txt/msg00217.txt.bz2
Content-length: 537

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64919

Torbjörn Gard <tgard at opentext dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #34656|0                           |1
        is obsolete|                            |

--- Comment #5 from Torbjörn Gard <tgard at opentext dot com> ---
Created attachment 34657
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34657&action=edit
Top level config log
>From gcc-bugs-return-475885-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 03 13:59:52 2015
Return-Path: <gcc-bugs-return-475885-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32612 invoked by alias); 3 Feb 2015 13:59:51 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 32513 invoked by uid 48); 3 Feb 2015 13:59:48 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/64876] Regressions in gcc-testresults for powerpc64 gccgo in 5.0 due to change for static chain for closures (219776)
Date: Tue, 03 Feb 2015 13:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amodra at gmail dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: amodra at gmail dot com
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_file_loc cc target_milestone
Message-ID: <bug-64876-4-qgvk1Fgt4Y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64876-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64876-4@http.gcc.gnu.org/bugzilla/>
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-02/txt/msg00218.txt.bz2
Content-length: 605

https://gcc.gnu.org/bugzilla/show_bug.cgi?idd876

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://gcc.gnu.org/ml/gcc-
                   |                            |patches/2015-02/msg00135.ht
                   |                            |ml
                 CC|amodra at gcc dot gnu.org,         |
                   |amodra at gmail dot com            |
   Target Milestone|---                         |5.0


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

* [Bug bootstrap/64919] bootstrap failure of gcc-4.9.2 on ia64-hpux in libgcc
       [not found] <bug-64919-4@http.gcc.gnu.org/bugzilla/>
  2015-02-03 13:48 ` [Bug bootstrap/64919] bootstrap failure of gcc-4.9.2 on ia64-hpux in libgcc tgard at opentext dot com
@ 2015-04-27  9:55 ` jvb at cyberscience dot com
  2015-07-27  4:20 ` alm at sibmail dot ru
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: jvb at cyberscience dot com @ 2015-04-27  9:55 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64919

John Buddery <jvb at cyberscience dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jvb at cyberscience dot com

--- Comment #6 from John Buddery <jvb at cyberscience dot com> ---
I had this issue as well, and here is the solution I used in case anyone is
still interested. I believe it is caused by an HP-UX linker bug, the same one
described by this comment and workaround  in config/ia64/hpux.h:

  /* The HP-UX linker has a bug that causes calls from functions in
   .text.unlikely to functions in .text to cause a segfault.  Until
   it is fixed, prevent code from being put into .text.unlikely or
   .text.hot.  */

  #define TARGET_ASM_FUNCTION_SECTION ia64_hpux_function_section

While this workaround is sufficient for C code, unfortunately g++ can use
multiple text sections for various different reasons when compiling c++ code
(lookup Vague Linkage for details).

This means g++ is broken on HP ia64, and gcc 4.8.0 build using g++, which is
why the bootstrap now fails.

The workaround I applied was to add the line:

   #undef MAKE_DECL_ONE_ONLY

to gcc/config/ia64/hpux.h, below the lines I referenced above. This seems to
prevent gcc from using .linkonce.t sections, and keeps the HP-UX linker happy.
I've no idea if this is the correct solution, but it does produce a working
g++.

Unfortunately just applying this edit you your 4.9.2 sources and building isn't
good enough, because it's your existing broken g++ which does the stage1 build. 

As far as I can tell all g++ versions available for download are broken, so you
have to first download and build 4.7.4 or earlier, applying the same 
gcc/config/ia64/hpux.h as above. This version builds with gcc, not g++, so the
bootstrap isn't a problem. Once you have a fixed 4.7.4 g++, you can then use
that to bootstrap 4.9.2 - after again apply the hpux.h edit to the 4.9.2
sources.

In my case when building 4.9.2 I also had to disable libgomp, but I think
that's a different issue.

Of course a much better solution to all this would be to get a fixed HP linker;
but I can't even tell if any of the HP patches help as they don't seem to make
these fixes generally available.


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

* [Bug bootstrap/64919] bootstrap failure of gcc-4.9.2 on ia64-hpux in libgcc
       [not found] <bug-64919-4@http.gcc.gnu.org/bugzilla/>
  2015-02-03 13:48 ` [Bug bootstrap/64919] bootstrap failure of gcc-4.9.2 on ia64-hpux in libgcc tgard at opentext dot com
  2015-04-27  9:55 ` jvb at cyberscience dot com
@ 2015-07-27  4:20 ` alm at sibmail dot ru
  2015-07-27  4:44 ` alm at sibmail dot ru
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: alm at sibmail dot ru @ 2015-07-27  4:20 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64919

Alexander <alm at sibmail dot ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alm at sibmail dot ru

--- Comment #7 from Alexander <alm at sibmail dot ru> ---
I try to boostrap gcc as recommended by John Buddery 2015-04-27 09:55:36 UTC
but libcpp/charset.c was produse ICE

configuration:

../gcc-5.2.0/configure \
--enable-languages=c,c++ --prefix=/opt/hp-gcc \
--with-local-prefix=/opt/hp-gcc --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    \
SED=/usr/local/bin/sed SHELL=/usr/bin/bash


Building libcpp/charset.c with -O1 was OK.
Now I file bug for it.


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

* [Bug bootstrap/64919] bootstrap failure of gcc-4.9.2 on ia64-hpux in libgcc
       [not found] <bug-64919-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2015-07-27  4:20 ` alm at sibmail dot ru
@ 2015-07-27  4:44 ` alm at sibmail dot ru
  2015-07-27 10:01 ` jvb at cyberscience dot com
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: alm at sibmail dot ru @ 2015-07-27  4:44 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64919

--- Comment #8 from Alexander <alm at sibmail dot ru> ---
PR 67022 was filed.


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

* [Bug bootstrap/64919] bootstrap failure of gcc-4.9.2 on ia64-hpux in libgcc
       [not found] <bug-64919-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2015-07-27  4:44 ` alm at sibmail dot ru
@ 2015-07-27 10:01 ` jvb at cyberscience dot com
  2015-07-29  4:23 ` alm at sibmail dot ru
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: jvb at cyberscience dot com @ 2015-07-27 10:01 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64919

--- Comment #9 from John Buddery <jvb at cyberscience dot com> ---
I should clarify that the workaround above only works fully on 4.9.2 and
earlier.

>From 5.0 onwards, gcc seems to have a problem building 32 bit code for
ia64-hpux.
It doesn't emit intstructions to properly set the top two bits of pointers
after widening, which is required because of the way ia64 segments it's address
space.

So, you might have better luck with 4.9.2. Or, you might be able to build gcc
as a 64 bit executable (though I don't know how to do configure it this way).


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

* [Bug bootstrap/64919] bootstrap failure of gcc-4.9.2 on ia64-hpux in libgcc
       [not found] <bug-64919-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2015-07-27 10:01 ` jvb at cyberscience dot com
@ 2015-07-29  4:23 ` alm at sibmail dot ru
  2015-10-19 16:46 ` josephpattara at gmail dot com
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: alm at sibmail dot ru @ 2015-07-29  4:23 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64919

--- Comment #10 from Alexander <alm at sibmail dot ru> ---
Have you try to examine core (dwarf-4) produced with this gcc configuration?
Trying this has no luck with gdb-7.x (it is not working at all)
One solution for me is a globally fallback to dwarf-2 (and use gdb 6.3).


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

* [Bug bootstrap/64919] bootstrap failure of gcc-4.9.2 on ia64-hpux in libgcc
       [not found] <bug-64919-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2015-07-29  4:23 ` alm at sibmail dot ru
@ 2015-10-19 16:46 ` josephpattara at gmail dot com
  2015-10-20  5:35 ` alm at sibmail dot ru
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: josephpattara at gmail dot com @ 2015-10-19 16:46 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64919

Joseph John <josephpattara at gmail dot com> changed:

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

--- Comment #11 from Joseph John <josephpattara at gmail dot com> ---
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"


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

* [Bug bootstrap/64919] bootstrap failure of gcc-4.9.2 on ia64-hpux in libgcc
       [not found] <bug-64919-4@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2015-10-19 16:46 ` josephpattara at gmail dot com
@ 2015-10-20  5:35 ` alm at sibmail dot ru
  2015-10-20 15:35 ` josephpattara at gmail dot com
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: alm at sibmail dot ru @ 2015-10-20  5:35 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64919

--- Comment #12 from Alexander <alm at sibmail dot ru> ---

> SED=/usr/local/bin/sed CC="gcc -mlp64" CXX="g++ -mlp64"

Unfortunetly, gcc for HPUX is a still 32-bit toolchain, sou should build it by 
default 32bit options (without -mlp64)


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

* [Bug bootstrap/64919] bootstrap failure of gcc-4.9.2 on ia64-hpux in libgcc
       [not found] <bug-64919-4@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2015-10-20  5:35 ` alm at sibmail dot ru
@ 2015-10-20 15:35 ` josephpattara at gmail dot com
  2015-10-20 15:51 ` jvb at cyberscience dot com
  2021-04-16 21:30 ` pinskia at gcc dot gnu.org
  10 siblings, 0 replies; 11+ messages in thread
From: josephpattara at gmail dot com @ 2015-10-20 15:35 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64919

--- Comment #13 from Joseph John <josephpattara at gmail dot com> ---
Yes. i also tried without the mlp64 option both for building the 4.7.4 and also
for building the 4.9.2 using the 4.7.4 but again I have the same issue. Means.
* 4.7.4 build is successful.
* 4.9.2 build fails at libstdc++-v3 as below.

/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
Makefile:1596: recipe for target
'ia64-hp-hpux11.31/bits/stdc++.h.gch/O2ggnu++0x.gch' failed
make[5]: *** [ia64-hp-hpux11.31/bits/stdc++.h.gch/O2ggnu++0x.gch] Error 1
make[5]: Leaving directory
'/home/jjohn/hpux/gcc_492/gcc_build/ia64-hp-hpux11.31/libstdc++-v3/include'

The reason I went with using the mpl64 option was with out that option when I
was doing a 4.9.2 building using the GCC 4.2.3 which was available by default I
was getting the linker issue which is specified in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577. The only way I got get pass
the linker errro just after the libbackend.a creation was using the -mlp64
option for 4.9.2 build.

Were you successful in making the 4.9.2 build?


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

* [Bug bootstrap/64919] bootstrap failure of gcc-4.9.2 on ia64-hpux in libgcc
       [not found] <bug-64919-4@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2015-10-20 15:35 ` josephpattara at gmail dot com
@ 2015-10-20 15:51 ` jvb at cyberscience dot com
  2021-04-16 21:30 ` pinskia at gcc dot gnu.org
  10 siblings, 0 replies; 11+ messages in thread
From: jvb at cyberscience dot com @ 2015-10-20 15:51 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64919

--- Comment #14 from John Buddery <jvb at cyberscience dot com> ---
I did get a working 4.9.2 build, with the workaround from my earlier comment.

It's a 32 bit build, bootstrapped with the hp 4.6.2 gcc distribution, my config
line was:

  $ ../gcc-4.9.2/configure --disable-libgomp --with-as=/opt/hp-gcc/bin/as
--enable-languages=c,c++ --prefix=/usr/local/gcc-4.9.2
--with-gmp=/usr/local/gcc-4.9.2 --with-mpc=/usr/local/gcc-4.9.2
--with-mpfr=/usr/local/gcc-4.9.2

I don't remember any errors in libstdc++. I would recommend installing gawk if
you haven't already - the HP awk can cause issues when building gcc.


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

* [Bug bootstrap/64919] bootstrap failure of gcc-4.9.2 on ia64-hpux in libgcc
       [not found] <bug-64919-4@http.gcc.gnu.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2015-10-20 15:51 ` jvb at cyberscience dot com
@ 2021-04-16 21:30 ` pinskia at gcc dot gnu.org
  10 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-04-16 21:30 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64919

--- Comment #38 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
It has been 2 years, does this still happen?

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

end of thread, other threads:[~2021-04-16 21:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-64919-4@http.gcc.gnu.org/bugzilla/>
2015-02-03 13:48 ` [Bug bootstrap/64919] bootstrap failure of gcc-4.9.2 on ia64-hpux in libgcc tgard at opentext dot com
2015-04-27  9:55 ` jvb at cyberscience dot com
2015-07-27  4:20 ` alm at sibmail dot ru
2015-07-27  4:44 ` alm at sibmail dot ru
2015-07-27 10:01 ` jvb at cyberscience dot com
2015-07-29  4:23 ` alm at sibmail dot ru
2015-10-19 16:46 ` josephpattara at gmail dot com
2015-10-20  5:35 ` alm at sibmail dot ru
2015-10-20 15:35 ` josephpattara at gmail dot com
2015-10-20 15:51 ` jvb at cyberscience dot com
2021-04-16 21:30 ` pinskia 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).