public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* bootstrap/8970: compile error on Sparc v9 systems
@ 2002-12-16 21:26 ksakai
  0 siblings, 0 replies; 4+ messages in thread
From: ksakai @ 2002-12-16 21:26 UTC (permalink / raw)
  To: gcc-gnats


>Number:         8970
>Category:       bootstrap
>Synopsis:       compile error on Sparc v9 systems
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 16 21:26:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     ksakai@kso.netwk.ntt-at.co.jp
>Release:        unknown-1.0
>Organization:
>Environment:
Solaris8, sun4u
>Description:
When compiling on this system, the following error happens.

Running configure in multilib subdirs sparcv9
pwd: /usr/local/src/GNU/gcc-3.2.1/sparc-sun-solaris2.8/libffi
Running configure in multilib subdir sparcv9
pwd: /usr/local/src/GNU/gcc-3.2.1/sparc-sun-solaris2.8
Building symlink tree in /usr/local/src/GNU/gcc-3.2.1/sparc-sun-solaris2.8/sparcv9/libffi
ChangeLog               ..linked
ChangeLog.libgcj                ..linked
ChangeLog.v1            ..linked
LICENSE         ..linked
Makefile.am             ..linked
Makefile.in             ..linked
README          ..linked
acconfig.h              ..linked
acinclude.m4            ..linked
aclocal.m4              ..linked
configure               ..linked
configure.in            ..linked
fficonfig.h.in          ..linked
include         ..working in
Makefile.am             ..linked
Makefile.in             ..linked
ffi.h.in                ..linked
ffi_common.h            ..linked
ffi_mips.h              ..linked
src             ..working in
alpha           ..working in
ffi.c           ..linked
osf.S           ..linked
arm             ..working in
ffi.c           ..linked
sysv.S          ..linked
debug.c         ..linked
ffitest.c               ..linked
ia64            ..working in
ffi.c           ..linked
ia64_flags.h            ..linked
unix.S          ..linked
java_raw_api.c          ..linked
m68k            ..working in
ffi.c           ..linked
sysv.S          ..linked
mips            ..working in
ffi.c           ..linked
n32.S           ..linked
o32.S           ..linked
powerpc         ..working in
aix.S           ..linked
aix_closure.S           ..linked
asm.h           ..linked
darwin.S                ..linked
darwin_closure.S                ..linked
ffi.c           ..linked
ffi_darwin.c            ..linked
ppc_closure.S           ..linked
sysv.S          ..linked
prep_cif.c              ..linked
raw_api.c               ..linked
sparc           ..working in
ffi.c           ..linked
v8.S            ..linked
v9.S            ..linked
types.c         ..linked
x86             ..working in
ffi.c           ..linked
sysv.S          ..linked
win32.S         ..linked
stamp-h.in              ..linked
loading cache ../config.cache
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
configure: error: can not find install-sh or install.sh in . ./.. ./../..
make[1]: *** [configure-target-libffi] Error 1
make[1]: Leaving directory `/usr/local/src/GNU/gcc-3.2.1'
make: *** [bootstrap] Error 2
>How-To-Repeat:
Just complie on the same architecture
>Fix:
The location of install-sh is "../../..", not "." or ".." or "../..".

So there are two ways to fix this problem.

  1. Mofify configure script to search "../../..", too.
  2. Make the symbolic link to install-sh, too.
>Release-Note:
>Audit-Trail:
>Unformatted:


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

* Re: bootstrap/8970: compile error on Sparc v9 systems
@ 2003-01-24 19:16 Bill C Riemers
  0 siblings, 0 replies; 4+ messages in thread
From: Bill C Riemers @ 2003-01-24 19:16 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR bootstrap/8970; it has been noted by GNATS.

From: "Bill C Riemers" <bcr@babel.lz.att.com>
To: <gcc-gnats@gcc.gnu.org>, <gcc-bugs@gcc.gnu.org>, <nobody@gcc.gnu.org>,
   <gcc-prs@gcc.gnu.org>, <ksakai@kso.netwk.ntt-at.co.jp>
Cc:  
Subject: Re: bootstrap/8970: compile error on Sparc v9 systems
Date: Fri, 24 Jan 2003 14:06:29 -0500

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8970
 
 You can either try the solution suggested in
 
  http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8844
 
 or try using a completely different build directory, with an absolute path when invoking the
 configure script.  i.e.
 
 tar xvvfz gcc-3.2.1.tar.gz
 srcdir=`pwd`/gcc-3.2.1
 mkdir gcc-3.2.1-build
 cd gcc-3.2.1-build
 "$srcdir/configure"  --prefix=/usr/local 
 make bootstrap
 make install
 
 I've found the solution of just copying install-sh does not work, because later on in the build
 or install process you will find additional errors that result from the same configuration bug.
 
 
                                          Bill
 


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

* Re: bootstrap/8970: compile error on Sparc v9 systems
@ 2002-12-18  1:06 SAKAI Kiyotaka
  0 siblings, 0 replies; 4+ messages in thread
From: SAKAI Kiyotaka @ 2002-12-18  1:06 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR bootstrap/8970; it has been noted by GNATS.

From: SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp>
To: ehrhardt@mathematik.uni-ulm.de
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: bootstrap/8970: compile error on Sparc v9 systems
Date: Wed, 18 Dec 2002 17:58:38 +0900 (JST)

 >> In article <20021217090314.5437.qmail@thales.mathematik.uni-ulm.de>, "Christian Ehrhardt" <ehrhardt@mathematik.uni-ulm.de> writes:
 
 > On Tue, Dec 17, 2002 at 05:23:56AM -0000, ksakai@kso.netwk.ntt-at.co.jp wrote:
 > Synopsis:       compile error on Sparc v9 systems
 > Description:
 >> When compiling on this system, the following error happens.
 >> [ ... ]
 >> checking for Cygwin environment... (cached) no
 >> checking for mingw32 environment... (cached) no
 >> configure: error: can not find install-sh or install.sh in . ./.. ./../..
 >> make[1]: *** [configure-target-libffi] Error 1
 >> make[1]: Leaving directory `/usr/local/src/GNU/gcc-3.2.1'
 >> make: *** [bootstrap] Error 2
 
 > I've seen this as well and a work around for me was to start a
 > fresh build and use an absolut path for srcdir, i.e. /usr/src/gcc/configure
 > instead of ../gcc/configure.
 
 >    regards   Christian
 
 I tried this, but this didn't work again.
 
 Best regard.
 
 --
 SAKAI Kiyotaka (E-mail: ksakai@kso.netwk.ntt-at.co.jp)


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

* Re: bootstrap/8970: compile error on Sparc v9 systems
@ 2002-12-17  1:06 Christian Ehrhardt
  0 siblings, 0 replies; 4+ messages in thread
From: Christian Ehrhardt @ 2002-12-17  1:06 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR bootstrap/8970; it has been noted by GNATS.

From: "Christian Ehrhardt" <ehrhardt@mathematik.uni-ulm.de>
To: ksakai@kso.netwk.ntt-at.co.jp
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: bootstrap/8970: compile error on Sparc v9 systems
Date: Tue, 17 Dec 2002 10:03:14 +0100

 On Tue, Dec 17, 2002 at 05:23:56AM -0000, ksakai@kso.netwk.ntt-at.co.jp wrote:
 > >Synopsis:       compile error on Sparc v9 systems
 > >Description:
 > When compiling on this system, the following error happens.
 >  [ ... ]
 > checking for Cygwin environment... (cached) no
 > checking for mingw32 environment... (cached) no
 > configure: error: can not find install-sh or install.sh in . ./.. ./../..
 > make[1]: *** [configure-target-libffi] Error 1
 > make[1]: Leaving directory `/usr/local/src/GNU/gcc-3.2.1'
 > make: *** [bootstrap] Error 2
 
 I've seen this as well and a work around for me was to start a
 fresh build and use an absolut path for srcdir, i.e. /usr/src/gcc/configure
 instead of ../gcc/configure.
 
    regards   Christian
 
 -- 
 THAT'S ALL FOLKS!


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

end of thread, other threads:[~2003-01-24 19:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-16 21:26 bootstrap/8970: compile error on Sparc v9 systems ksakai
2002-12-17  1:06 Christian Ehrhardt
2002-12-18  1:06 SAKAI Kiyotaka
2003-01-24 19:16 Bill C Riemers

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