public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* help building 4.7.1
@ 2013-03-08 19:12 Koenig, Mark (ISS SCI - Plano, TX)
  2013-03-08 19:15 ` Jonathan Wakely
  0 siblings, 1 reply; 4+ messages in thread
From: Koenig, Mark (ISS SCI - Plano, TX) @ 2013-03-08 19:12 UTC (permalink / raw)
  To: gcc-help

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

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

* Re: help building 4.7.1
  2013-03-08 19:12 help building 4.7.1 Koenig, Mark (ISS SCI - Plano, TX)
@ 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)
  0 siblings, 2 replies; 4+ messages in thread
From: Jonathan Wakely @ 2013-03-08 19:15 UTC (permalink / raw)
  To: Koenig, Mark (ISS SCI - Plano, TX); +Cc: gcc-help

On 8 March 2013 19:10, Koenig, Mark (ISS SCI - Plano, TX) wrote:
> 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

See http://gcc.gnu.org/wiki/FAQ#configure_suffix

Try the build instructions at http://gcc.gnu.org/wiki/InstallingGCC
instead, 9 out of 10 cats prefer it.

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

* Re: help building 4.7.1
  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)
  1 sibling, 0 replies; 4+ messages in thread
From: Dennis Clarke @ 2013-03-08 19:25 UTC (permalink / raw)
  To: Jonathan Wakely; +Cc: Koenig, Mark (ISS SCI - Plano, TX), gcc-help


> On 8 March 2013 19:10, Koenig, Mark (ISS SCI - Plano, TX) wrote:
> > 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...
> >

Since he is following what I did I should step in and just say that I had a fairly complete 
and up to date GNU stack in /usr/local when I started.  Had a few problems also but once
I had up to date automake/autoconf/bison etc I could generally bootstrap latest GCC
on anything.  In fact, if one looks at the build report page I even bootstrapped on a
twelve year old Solaris 8 x86 box with Pentium III processors and it worked well.

Certainly a statement of software quality is when you can take the same sources 
and compile them on everything from your top of the line Oracle Niagara killer
server down to your dishwasher if it ran a decent OS.  :-)

Dennis 

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

* RE: help building 4.7.1
  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)
  1 sibling, 0 replies; 4+ messages in thread
From: Koenig, Mark (ISS SCI - Plano, TX) @ 2013-03-08 20:34 UTC (permalink / raw)
  To: Jonathan Wakely; +Cc: gcc-help

MUCH appreciated for the assist...1st time building this for me, now I know the "right" way.
Thank you,
Mark

-----Original Message-----
From: Jonathan Wakely [mailto:jwakely.gcc@gmail.com] 
Sent: Friday, March 08, 2013 1:15 PM
To: Koenig, Mark (ISS SCI - Plano, TX)
Cc: gcc-help@gcc.gnu.org
Subject: Re: help building 4.7.1

On 8 March 2013 19:10, Koenig, Mark (ISS SCI - Plano, TX) wrote:
> 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

See http://gcc.gnu.org/wiki/FAQ#configure_suffix

Try the build instructions at http://gcc.gnu.org/wiki/InstallingGCC
instead, 9 out of 10 cats prefer it.

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

end of thread, other threads:[~2013-03-08 20:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-08 19:12 help building 4.7.1 Koenig, Mark (ISS SCI - Plano, TX)
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)

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