public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Koenig, Mark (ISS SCI - Plano, TX)" <mark.koenig3@hp.com>
To: "gcc-help@gcc.gnu.org" <gcc-help@gcc.gnu.org>
Subject: help building 4.7.1
Date: Fri, 08 Mar 2013 19:12:00 -0000	[thread overview]
Message-ID: <EC4D5BE78A12E5439A43DCC8AA7B0E072394E3D1@G6W2496.americas.hpqcorp.net> (raw)

I'm trying to build gcc 4.7.1 on a Sandybridge system, running RHEL6.2

Doesn't seem to matter what I do, I always get this error...

mkdir -p -- x86_64-unknown-linux-gnu/libgcc
Checking multilib configuration for libgcc...
Configuring stage 1 in x86_64-unknown-linux-gnu/libgcc
configure: creating cache ./config.cache
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking for x86_64-unknown-linux-gnu-ar... ar
checking for x86_64-unknown-linux-gnu-lipo... lipo
checking for x86_64-unknown-linux-gnu-nm... /mops/linux/gcc/gcc-4.7.1/buildobjs/./gcc/nm
checking for x86_64-unknown-linux-gnu-ranlib... ranlib
checking for x86_64-unknown-linux-gnu-strip... strip
checking whether ln -s works... yes
checking for x86_64-unknown-linux-gnu-gcc... /mops/linux/gcc/gcc-4.7.1/buildobjs/./gcc/xgcc -B/mops/linux/gcc/gcc-4.7.1/buildobjs/./gcc/ -B/usr/local/x86_64-unknown-linux-gnu/bin/ -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/x86_64-unknown-linux-gnu/include -isystem /usr/local/x86_64-unknown-linux-gnu/sys-include
checking for suffix of object files... configure: error: in `/mops/linux/gcc/gcc-4.7.1/buildobjs/x86_64-unknown-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1

My configure command looks like (taken from: http://gcc.gnu.org/ml/gcc-testresults/2012-06/msg01675.html )
# ../configure --host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu --enable-__cxa_atexit --enable-stage1-languages=c --enable-libssp --enable-targets=x86_64-unknown-linux-gnu --with-gc=page --disable-multilib --enable-nls --enable-threads=posix --prefix=/usr/local --enable-shared --libdir=/usr/local/lib --with-system-zlib --with-gmp-include=/usr/local/include --with-gmp-lib=/usr/local/lib --with-mpfr-include=/usr/local/include --with-mpfr-lib=/usr/local/lib --with-mpc-include=/usr/local/include --with-mpc-lib=/usr/local/lib --libexecdir=/usr/local/libexec --with-local-prefix=/usr/local/include --with-gxx-include-dir=/usr/local/include --enable-languages=c,c++,objc,fortran,go --enable-bootstrap

Thanks for any help!
Mark

             reply	other threads:[~2013-03-08 19:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-08 19:12 Koenig, Mark (ISS SCI - Plano, TX) [this message]
2013-03-08 19:15 ` Jonathan Wakely
2013-03-08 19:25   ` Dennis Clarke
2013-03-08 20:34   ` Koenig, Mark (ISS SCI - Plano, TX)

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=EC4D5BE78A12E5439A43DCC8AA7B0E072394E3D1@G6W2496.americas.hpqcorp.net \
    --to=mark.koenig3@hp.com \
    --cc=gcc-help@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).