public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: GCC snapshot problem
@ 2002-02-19 10:32 George.R.Goffe
  2002-02-19 11:49 ` Jeff Sturm
  0 siblings, 1 reply; 2+ messages in thread
From: George.R.Goffe @ 2002-02-19 10:32 UTC (permalink / raw)
  To: gcc



Howdy,

I keep running into this problem. Does anyone know how to "fix" this? I can
get around the problem by disabling multilib but that's like going to the
Dr and saying "my arm hurts when I do this" and having the Dr say, "well,
don't do this".

Here's what I'm running:

# which gcc
/usr/lsd/SunOS.5.8/bin/gcc

# gcc --version
gcc (GCC) 3.1 20020218 (experimental)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

# which as
/usr/lsd/SunOS.5.8/bin/as

as --version
GNU assembler 2.11.93.0.2 20020207
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `sparc-sun-solaris2.8'.

which ld
/usr/lsd/SunOS.5.8/bin/ld

# ld --version
GNU ld version 2.11.93.0.2 20020207
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether errno must be declared... no
checking for ANSI C header files... no
checking for uintptr_t... yes
checking whether the C compiler (/tmp/tools/gcc/gcc-20020218/gcc/xgcc
-B/tmp/tools/gcc/gcc-20020218/gcc/
-B/usr/lsd/SunOS.5.8/sparc-sun-solaris2.8/bin/
-B/usr/lsd/SunOS.5.8/sparc-sun-solaris2.8/lib/ -isystem
/usr/lsd/SunOS.5.8/sparc-sun-solaris2.8/include  -m64 -g -O2 ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
make[1]: *** [Makefile] Error 1
make[1]: Leaving directory
`/tmp/tools/gcc/gcc-20020218/sparc-sun-solaris2.8/libiberty'
make: *** [all-target-libiberty] Error 2


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

* Re: GCC snapshot problem
  2002-02-19 10:32 GCC snapshot problem George.R.Goffe
@ 2002-02-19 11:49 ` Jeff Sturm
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Sturm @ 2002-02-19 11:49 UTC (permalink / raw)
  To: George.R.Goffe; +Cc: gcc

On Tue, 19 Feb 2002 George.R.Goffe@seagate.com wrote:
> I keep running into this problem. Does anyone know how to "fix" this?

The fix depends on the cause, and the cause is uncertain from your
message.  So you'll have to investigate a little...

> # which gcc
> /usr/lsd/SunOS.5.8/bin/gcc

This is probably not relevant, since the newly-built compiler is used to
create target libs.  That would be this one:

> checking whether the C compiler (/tmp/tools/gcc/gcc-20020218/gcc/xgcc
> -B/tmp/tools/gcc/gcc-20020218/gcc/
> -B/usr/lsd/SunOS.5.8/sparc-sun-solaris2.8/bin/
> -B/usr/lsd/SunOS.5.8/sparc-sun-solaris2.8/lib/ -isystem
> /usr/lsd/SunOS.5.8/sparc-sun-solaris2.8/include  -m64 -g -O2 ) works... no

Run the above compiler with -print-prog-name=as to get the
assembler...

> # which as
> /usr/lsd/SunOS.5.8/bin/as

...which may or may not be this one.

> which ld
> /usr/lsd/SunOS.5.8/bin/ld

Likewise for ld.

> configure: error: installation or configuration problem: C compiler cannot
> create executables.

Look in config.log for detailed error messages.

Jeff

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

end of thread, other threads:[~2002-02-19 19:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-19 10:32 GCC snapshot problem George.R.Goffe
2002-02-19 11:49 ` Jeff Sturm

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