public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/41304] Building error while compiling gcc 4.3.2
Date: Tue, 08 Sep 2009 07:28:00 -0000	[thread overview]
Message-ID: <20090908072739.12115.qmail@sourceware.org> (raw)
In-Reply-To: <bug-41304-18161@http.gcc.gnu.org/bugzilla/>



------- Comment #1 from ebotcazou at gcc dot gnu dot org  2009-09-08 07:27 -------
> I am building gcc 4.3.2 on solaris 10 box. I am getting the following build
> error.
>  checking for sparc-sun-solaris2.10-gcc...
> /home/odyssey/f065093/gcc/gcc-4.3.2/host-sparc-sun-solaris2.10/gcc/xgcc
> -B/home/odyssey/f065093/gcc/gcc-4.3.2/host-sparc-sun-solaris2.10/gcc/
> -B/home/odyssey/f065093/gcc/gcc-4.3.2/install/sparc-sun-solaris2.10/bin/
> -B/home/odyssey/f065093/gcc/gcc-4.3.2/install/sparc-sun-solaris2.10/lib/
> -isystem
> /home/odyssey/f065093/gcc/gcc-4.3.2/install/sparc-sun-solaris2.10/include
> -isystem
> /home/odyssey/f065093/gcc/gcc-4.3.2/install/sparc-sun-solaris2.10/sys-include
> checking for suffix of object files... configure: error: cannot compute suffix
> of object files: cannot compile
> See `config.log' for more details.
> make[2]: *** [configure-stage1-target-libgcc] Error 1
> make[2]: Leaving directory `/home/odyssey/f065093/gcc/gcc-4.3.2'
> make[1]: *** [stage1-bubble] Error 2
> make[1]: Leaving directory `/home/odyssey/f065093/gcc/gcc-4.3.2'
> make: *** [all] Error 2

Unexpected, the compiler is known to build flawlessly on this platform.

> ./configure srcdir=/home/odyssey/f065093/gcc/gcc-4.3.2/
> --prefix=/home/odyssey/f065093/gcc/gcc-4.3.2/install
> --with-as=/3rdparty/fsf/binutils/2.18/bin/as 
> --with-ld=/3rdparty/fsf/binutils/2.18/bin/ld  --with-gnu-as --with-gnu-ld
> --disable-nls --enable-languages=c,c++
> --with-gmp=/home/odyssey/f065093/gmp/gmp-4.3.1/install
> --with-mpfr=/home/odyssey/f065093/mpfr/mpfr-2.4.1/install 
> LD=/3rdparty/fsf/binutils/2.18/bin/ld  AR=/3rdparty/fsf/binutils/2.18/bin/ar
> NM=/3rdparty/fsf/binutils/2.18/bin/nm 
> RANLIB=/3rdparty/fsf/binutils/2.18/bin/ranlib
> STRIP=/3rdparty/fsf/binutils/2.18/bin/strip
> OBJCOPY=/3rdparty/fsf/binutils/2.18/bin/objcopy
> OBJDUMP=/3rdparty/fsf/binutils/2.18/bin/objdump CC=gcc cc=gcc

As indicated in the docs, building in the source directory is not supported.
Also remove the srcdir setting.

What does the base compiler return for 'gcc -v'?


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |WAITING


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


  reply	other threads:[~2009-09-08  7:28 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-08  7:19 [Bug c++/41304] New: " vijay dot x dot jain at jpmchase dot com
2009-09-08  7:28 ` ebotcazou at gcc dot gnu dot org [this message]
2009-09-08  7:55 ` [Bug c++/41304] " vijay dot x dot jain at jpmchase dot com
2009-09-08  8:03 ` ebotcazou at gcc dot gnu dot org
2009-09-08 12:54 ` vijay dot x dot jain at jpmchase dot com
2009-09-08 13:16 ` ebotcazou at gcc dot gnu dot org
2009-09-08 14:25 ` vijay dot x dot jain at jpmchase dot com
2009-09-08 16:00 ` redi at gcc dot gnu dot org
2009-09-09  9:31 ` vijay dot x dot jain at jpmchase dot com
2009-09-09  9:50 ` ebotcazou at gcc dot gnu dot org
2009-09-09 11:35 ` vijay dot x dot jain at jpmchase dot com
2009-09-09 13:12 ` vijay dot x dot jain at jpmchase dot com
2009-09-09 13:39 ` vijay dot x dot jain at jpmchase dot com
2009-09-09 13:40 ` vijay dot x dot jain at jpmchase dot com
2009-09-09 14:09 ` ebotcazou at gcc dot gnu dot org
2009-09-10  6:02 ` vijay dot x dot jain at jpmchase dot com
2009-09-10  6:53 ` ebotcazou at gcc dot gnu dot org
2009-09-10  7:16 ` vijay dot x dot jain at jpmchase dot com
2009-09-10  7:19 ` ebotcazou at gcc dot gnu dot org
2009-09-10  7:25 ` vijay dot x dot jain at jpmchase dot com
2009-09-10  7:33 ` vijay dot x dot jain at jpmchase dot com
2009-09-10  7:41 ` ebotcazou at gcc dot gnu dot org
2009-09-10 14:03 ` vijay dot x dot jain at jpmchase dot com

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=20090908072739.12115.qmail@sourceware.org \
    --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).