public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "andris.pavenis at iki dot fi" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/51320] gcc internal compiler error (program cc1plus)
Date: Sun, 27 Nov 2011 10:32:00 -0000	[thread overview]
Message-ID: <bug-51320-4-ODzYvGXzvq@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-51320-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #7 from Andris Pavenis <andris.pavenis at iki dot fi> 2011-11-27 07:36:29 UTC ---
Tested with native compiler for DJGPP both versions 2.03r2 and 2.04 pre.
Compiles OK for both with and without optimization enabled (tried without, with
-O2 and with -O3). I tested in DOS session under Windows Vista Business XP2 (32
bit)

Also compiles OK with
- Linux to DJGPP cross-compiler (GNU C++ (GCC) version 4.6.2
(i586-pc-msdosdjgpp))
- native compiler for Linux x86_64 (gcc version 4.6.1 20110908 (Red Hat
4.6.1-9) (GCC))

>From last attachment it seems that GCC fails very early not finding even
cc1plus.
So I suspect a problem with DJGPP installation.

I would suggest to
- Run 'gcc -print-prog-name=cc1plus' and see what it outputs. If it outputs
  only 'cc1plus' without full path then the GCC installation is broken
- test whether You can compiler any C and C++ program at all
- create a paralell fresh DJGPP installation with only required packages and
  retest


  parent reply	other threads:[~2011-11-27  7:37 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-27  5:39 [Bug c++/51320] New: " jmichae3 at yahoo dot com
2011-11-27  6:09 ` [Bug c++/51320] " jmichae3 at yahoo dot com
2011-11-27  6:15 ` jmichae3 at yahoo dot com
2011-11-27  7:18 ` jmichae3 at yahoo dot com
2011-11-27  7:21 ` jmichae3 at yahoo dot com
2011-11-27  7:27 ` jmichae3 at yahoo dot com
2011-11-27  7:37 ` andris.pavenis at iki dot fi
2011-11-27 10:32 ` andris.pavenis at iki dot fi [this message]
2011-11-28  2:19 ` jmichae3 at yahoo dot com
2011-11-28  2:22 ` jmichae3 at yahoo dot com
2011-11-28  2:29 ` jmichae3 at yahoo dot com
2011-11-28  2:34 ` jmichae3 at yahoo dot com
2011-11-28  2:45 ` jmichae3 at yahoo dot com
2011-11-28  4:26 ` jmichae3 at yahoo dot com
2011-11-28  7:42 ` andris.pavenis at iki dot fi
2011-11-28  7:44 ` andris.pavenis at iki dot fi

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-51320-4-ODzYvGXzvq@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).