public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/67022] New: ia64-hpux failed to compile libcpp/charset.c with -O2 optimization
@ 2015-07-27  4:38 alm at sibmail dot ru
  2015-07-27  4:39 ` [Bug bootstrap/67022] " alm at sibmail dot ru
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: alm at sibmail dot ru @ 2015-07-27  4:38 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 67022
           Summary: ia64-hpux failed to compile libcpp/charset.c with -O2
                    optimization
           Product: gcc
           Version: 4.8.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: alm at sibmail dot ru
  Target Milestone: ---

Created attachment 36064
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36064&action=edit
libcpp/charset.c preprocessor output

While bootstrapping gcc-4.8.5 with solution from PR 64919 - (bootstrap failure
of gcc-4.9.2 on ia64-hpux in libgcc)
encountered one fault:
while compiling libcpp/charset.c on stage2 & stage3 xg++ was ICE. (see detail
in attachments)

I was change (on stage 2&3) command line from -O2 to -O1 optimization option
and everithing was fine. The gcc now bootstrapped and used.


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

* [Bug bootstrap/67022] ia64-hpux failed to compile libcpp/charset.c with -O2 optimization
  2015-07-27  4:38 [Bug bootstrap/67022] New: ia64-hpux failed to compile libcpp/charset.c with -O2 optimization alm at sibmail dot ru
@ 2015-07-27  4:39 ` alm at sibmail dot ru
  2015-07-27  4:40 ` alm at sibmail dot ru
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: alm at sibmail dot ru @ 2015-07-27  4:39 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Alexander <alm at sibmail dot ru> ---
Created attachment 36065
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36065&action=edit
assembler output with -O2 optimization


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

* [Bug bootstrap/67022] ia64-hpux failed to compile libcpp/charset.c with -O2 optimization
  2015-07-27  4:38 [Bug bootstrap/67022] New: ia64-hpux failed to compile libcpp/charset.c with -O2 optimization alm at sibmail dot ru
  2015-07-27  4:39 ` [Bug bootstrap/67022] " alm at sibmail dot ru
@ 2015-07-27  4:40 ` alm at sibmail dot ru
  2015-07-27  4:43 ` alm at sibmail dot ru
  2015-07-29  4:15 ` alm at sibmail dot ru
  3 siblings, 0 replies; 5+ messages in thread
From: alm at sibmail dot ru @ 2015-07-27  4:40 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Alexander <alm at sibmail dot ru> ---
Created attachment 36066
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36066&action=edit
assembler output with -O1 optimization


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

* [Bug bootstrap/67022] ia64-hpux failed to compile libcpp/charset.c with -O2 optimization
  2015-07-27  4:38 [Bug bootstrap/67022] New: ia64-hpux failed to compile libcpp/charset.c with -O2 optimization alm at sibmail dot ru
  2015-07-27  4:39 ` [Bug bootstrap/67022] " alm at sibmail dot ru
  2015-07-27  4:40 ` alm at sibmail dot ru
@ 2015-07-27  4:43 ` alm at sibmail dot ru
  2015-07-29  4:15 ` alm at sibmail dot ru
  3 siblings, 0 replies; 5+ messages in thread
From: alm at sibmail dot ru @ 2015-07-27  4:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Alexander <alm at sibmail dot ru> ---
configure options:

../gcc-4.8.5/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    \
--disable-libgomp SED=/usr/local/bin/sed SHELL=/usr/bin/bash


also I try to build gcc-4.9.3 and 5.2.0 with same results.


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

* [Bug bootstrap/67022] ia64-hpux failed to compile libcpp/charset.c with -O2 optimization
  2015-07-27  4:38 [Bug bootstrap/67022] New: ia64-hpux failed to compile libcpp/charset.c with -O2 optimization alm at sibmail dot ru
                   ` (2 preceding siblings ...)
  2015-07-27  4:43 ` alm at sibmail dot ru
@ 2015-07-29  4:15 ` alm at sibmail dot ru
  3 siblings, 0 replies; 5+ messages in thread
From: alm at sibmail dot ru @ 2015-07-29  4:15 UTC (permalink / raw)
  To: gcc-bugs

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

Alexander <alm at sibmail dot ru> changed:

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

--- Comment #4 from Alexander <alm at sibmail dot ru> ---
Created attachment 36083
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36083&action=edit
dwarf-2 by default and other patches

also I has add note, so gdb-7.x does'nt work with dwarf-4 output, prodused by
this compiller. I add full patch to disable (back to dwarf-2). Don't forget to
add --with-dwarf2


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

end of thread, other threads:[~2015-07-29  4:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-27  4:38 [Bug bootstrap/67022] New: ia64-hpux failed to compile libcpp/charset.c with -O2 optimization alm at sibmail dot ru
2015-07-27  4:39 ` [Bug bootstrap/67022] " alm at sibmail dot ru
2015-07-27  4:40 ` alm at sibmail dot ru
2015-07-27  4:43 ` alm at sibmail dot ru
2015-07-29  4:15 ` alm at sibmail dot ru

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).