>Number: 10811 >Category: bootstrap >Synopsis: libjava/libltdl/configure fails >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Fri May 16 04:16:01 UTC 2003 >Closed-Date: >Last-Modified: >Originator: ari@ccs.neu.edu >Release: 3.3 >Organization: >Environment: CC=gcc-3.2 >Description: When compiling on a Solaris 8 host with gcc 3.2.3 as the C compiler, as well as GNU binutils: configuring in libltdl running /bin/sh ../../../../../libjava/libltdl/configure --with-multisubdir=sparcv9 --with-multisrctop= --enable-multilib --host=sparc-sun-solaris2.8 --build=sparc-sun-solaris2.8 --enable-multilib --with-gcc-version-trigger=/tmp/gcc-3.3/gcc/version.c --program-suffix=-3.3 --prefix=/arch/beta/packages/gcc-3.3 --with-ld=/arch/gnu/bin/ld --with-as=/arch/gnu/bin/as --enable-pthread --with-target-subdir=sparc-sun-solaris2.8 --enable-ltdl-convenience --with-auxdir=/tmp/gcc-3.3 --with-auxdir=/tmp/gcc-3.3 --cache-file=../../config.cache --srcdir=../../../../../libjava/libltdl loading cache ../../config.cache configure: error: ../../../../../libjava/libltdl/configure failed for libltdl make: *** [configure-target-libjava] Error 1 >How-To-Repeat: ../configure --program-suffix=-3.3 --prefix=/arch/beta/packages/gcc-3.3 --with-ld=/arch/gnu/bin/ld --with-as=/arch/gnu/bin/as --enable-pthread && make make eventually fails with above error. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Synopsis: libjava/libltdl/configure fails State-Changed-From-To: open->feedback State-Changed-By: ebotcazou State-Changed-When: Fri May 16 07:26:54 2003 State-Changed-Why: Does it abort too when bootstrapping the compiler, i.e. doing 'make bootstrap' instead of 'make' (which is recommended way of building the compiler)? http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10811
The following reply was made to PR bootstrap/10811; it has been noted by GNATS. From: Ari Pollak <ari@ccs.neu.edu> To: gcc-gnats@gcc.gnu.org Cc: Subject: Re: bootstrap/10811: libjava/libltdl/configure fails Date: Fri, 16 May 2003 13:06:45 -0400 It seems to work fine with make bootstrap. On Fri, May 16, 2003 at 07:26:54AM -0000, ebotcazou@gcc.gnu.org wrote: > Synopsis: libjava/libltdl/configure fails > > State-Changed-From-To: open->feedback > State-Changed-By: ebotcazou > State-Changed-When: Fri May 16 07:26:54 2003 > State-Changed-Why: > Does it abort too when bootstrapping the compiler, i.e. doing 'make bootstrap' > instead of 'make' (which is recommended way of building the compiler)? > > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10811 >
The following reply was made to PR bootstrap/10811; it has been noted by GNATS. From: Dara Hazeghi <dhazeghi@yahoo.com> To: ari@ccs.neu.edu, gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org Cc: Subject: Re: bootstrap/10811: libjava/libltdl/configure fails Date: Fri, 16 May 2003 17:29:25 -0700 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit- trail&database=gcc&pr=10811 Hello, did the submitter set CONFIG_SHELL to /bin/ksh as recommended by the build instructions (before the failing build)? Thanks, Dara
The following reply was made to PR bootstrap/10811; it has been noted by GNATS. From: Ari Pollak <ari@ccs.neu.edu> To: Dara Hazeghi <dhazeghi@yahoo.com>, gcc-gnats@gcc.gnu.org Cc: Subject: Re: bootstrap/10811: libjava/libltdl/configure fails Date: Fri, 16 May 2003 21:07:28 -0400 No. However, the exact same system worked with the same method under gcc 3.2.3. Dara Hazeghi wrote: > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit- > trail&database=gcc&pr=10811 > > Hello, > > did the submitter set CONFIG_SHELL to /bin/ksh as recommended by the > build instructions (before the failing build)? Thanks, > > Dara >
The following reply was made to PR bootstrap/10811; it has been noted by GNATS. From: Dara Hazeghi <dhazeghi@yahoo.com> To: Ari Pollak <ari@ccs.neu.edu> Cc: gcc-gnats@gcc.gnu.org Subject: Re: bootstrap/10811: libjava/libltdl/configure fails Date: Fri, 16 May 2003 18:48:26 -0700 (PDT) --- Ari Pollak <ari@ccs.neu.edu> wrote: > No. However, the exact same system worked with the > same method under gcc > 3.2.3. Would it be possible for you to check if CONFIG_SHELL fixes the problem you mentioned? Thanks, Dara __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com
The following reply was made to PR bootstrap/10811; it has been noted by GNATS. From: Ari Pollak <ari@ccs.neu.edu> To: Dara Hazeghi <dhazeghi@yahoo.com>, gcc-gnats@gcc.gnu.org Cc: Subject: Re: bootstrap/10811: libjava/libltdl/configure fails Date: Sat, 17 May 2003 00:06:43 -0400 Yes, either make bootstrapping or making with CONFIG_SHELL set to ksh makes it run fine. What exactly is the difference in the end result between 'make' and 'make bootstrap'? On Fri, May 16, 2003 at 06:48:26PM -0700, Dara Hazeghi wrote: > > --- Ari Pollak <ari@ccs.neu.edu> wrote: > > No. However, the exact same system worked with the > > same method under gcc > > 3.2.3. > > Would it be possible for you to check if CONFIG_SHELL > fixes the problem you mentioned? Thanks, >
The following reply was made to PR bootstrap/10811; it has been noted by GNATS. From: Dara Hazeghi <dhazeghi@yahoo.com> To: Ari Pollak <ari@ccs.neu.edu>, gcc-gnats@gcc.gnu.org Cc: Subject: Re: bootstrap/10811: libjava/libltdl/configure fails Date: Sat, 17 May 2003 01:54:50 -0700 (PDT) --- Ari Pollak <ari@ccs.neu.edu> wrote: > Yes, either make bootstrapping or making with > CONFIG_SHELL set to ksh > makes it run fine. What exactly is the difference in > the end result > between 'make' and 'make bootstrap'? Make bootstrap builds the compiler in 3 stages. stage 1: build compiler with existing compiler. stage 2: build compiler with stage 1 compiler stage 3: build compiler with stage 1 compiler (again) final stage: compare the files created in stage 2 and 3, they must be identical! make just does stage 1. theoretically, if make bootstrap works, make should work. But the /bin/sh issues are simply bugs in the Solaris shell, which seem to trigger more or less randomly. CONFIG_SHELL=/bin/ksh is supposed to fix this by providing a reliable shell. Dara P.S. That doesn't mean that it wouldn't be nice to get everything to work with /bin/sh, simply that doing so is difficult, and no one's yet succeeded. __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com
Synopsis: libjava/libltdl/configure fails State-Changed-From-To: feedback->closed State-Changed-By: ebotcazou State-Changed-When: Wed May 21 08:43:58 2003 State-Changed-Why: Documented problem. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10811