public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Santosh Sugur" <santosh.sugur@gmail.com>
To: "Asher Langton" <langton2@llnl.gov>
Cc: gcc-help@gcc.gnu.org
Subject: Re: Error during make bootstrap (gcc-4.1.1)
Date: Tue, 18 Jul 2006 16:44:00 -0000	[thread overview]
Message-ID: <8d878f150607180944n2be02521pd9530dac55d73254@mail.gmail.com> (raw)
In-Reply-To: <1953a4560607180911j42e243efo4098ecdf6251ce98@mail.gmail.com>

On 7/18/06, Asher Langton <langton2@llnl.gov> wrote:
> On 7/18/06, Santosh Sugur <santosh.sugur@gmail.com> wrote:
> > On 7/17/06, Asher Langton <langton2@llnl.gov> wrote:
> > > >Thanks a lot. It went beyond the last error after I used gmake. It ran
> > > >for a couple of hours and then quit with the following error:
> > > >
> > > >
> > > >/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/libjava/classpath/configure:
> > > >syntax error at line 11740: `QT_INCLUDE_DIR=$' unexpected
> > > >configure: error: /bin/sh
> > > >'/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/libjava/classpath/configure'
> > > >failed for classpath
> > >
> > > Are you using Sun's /bin/sh?  This is known to fail:
> > >
> > > http://gcc.gnu.org/install/specific.html#x-x-solaris2
> > >
> >
> >
> > Thanks Asher. However the build still failed after setting
> > CONFIG_SHELL=/usr/bin/ksh
>
> Did you also export CONFIG_SHELL?  Or, if you are using /bin/csh, you
> might need to 'setenv CONFIG_SHELL /usr/bin/ksh'.
>
> Try starting from scratch (with a clean object directory), setting
> CONFIG_SHELL and building with GNU make (gmake).  If that doesn't
> work, post the error messages you are seeing.
>
> > One more question, I had gone through the host specific notes and had
> > not applied them as all of them were for *-*-solaris2*. I am using
> > SunOS 5.10. Was I wrong?
>
> From what I understand, SunOS and Solaris refer to the same system;
> SunOS is the kernel, while Solaris is the distribution.  In your
> earlier post, the log file line "checking host system type..."
> identified the system as Solaris.  When in doubt, run the config.guess
> script in the gcc source directory, and you'll get an idea of what
> system GCC thinks you have.
>
> > Can the variable CONFIG_SHELL be set explicitly in some file because still
> > /bin/sh is being used.
>
> See above.  It sounds like CONFIG_SHELL isn't being set.  In the shell
> where you have set CONFIG_SHELL, type 'env'.  Does CONFIG_SHELL show
> up in the listing?
>
>
> -Asher
>

I am using bash shell. I did do an export and had also checked the
value using env.

[ssugur@mx5test ~/gcc_obj]$env
..
..
PATH=/usr/sfw/bin:/usr/sfw/bin/:/usr/sfw/bin/gmake:/usr/bin:/usr/sbin:/usr/local/bin:/usr/ccs/bin:/var/SUNWspro/WS6U2/bin
CONFIG_SHELL=/usr/bin/ksh

This morning I had also cleaned up the object directory and ran gmake
bootstrap-lean.
After running for about 4 hours it quit with the same error as before:

<snip>
configure: configuring in classpath
configure: running /bin/sh
'/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/libjava/classpath/configure'
--prefix=/usr/local/gnu/gcc/  '--with-multisubdir=sparcv9'
'--with-multisrctop=' '--cache-file=./config.cache'
'--build=sparc-sun-solaris2.10' '--host=sparc-sun-solaris2.10'
'--target=sparc-sun-solaris2.10' '--enable-multilib'
'--prefix=/usr/local/gnu/gcc/' '--enable-languages=c,c++,java,objc'
'--program-transform-name=s,y,y,'
'--with-target-subdir=sparc-sun-solaris2.10'
'--srcdir=/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/libjava'
'CPPFLAGS=' 'build_alias=sparc-sun-solaris2.10'
'host_alias=sparc-sun-solaris2.10'
'target_alias=sparc-sun-solaris2.10' '--disable-load-library'
'--disable-debug' '--enable-default-toolkit='
'--with-vm-classes=/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/libjava:/u1/santosh/gcc_obj/sparc-sun-solaris2.10/libjava'
'--disable-core-jni' '--disable-examples' '--with-glibj=build'
'--disable-gtk-peer' '--disable-qt-peer' '--enable-ltdl-convenience'
'--with-auxdir=/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1'
'-srcdir=/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/libjava'
--disable-load-library --disable-debug --enable-default-toolkit=
--with-vm-classes=/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/libjava:/u1/santosh/gcc_obj/sparc-sun-solaris2.10/sparcv9/libjava
--disable-core-jni --disable-examples --with-glibj=build
--disable-gtk-peer --disable-qt-peer
--with-auxdir=/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1
--cache-file=.././config.cache
--srcdir=/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/libjava/classpath
/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/libjava/classpath/configure:
syntax error at line 11740: `QT_INCLUDE_DIR=$' unexpected
configure: error: /bin/sh
'/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/libjava/classpath/configure'
failed for classpath
gmake[2]: *** [configure-target-libjava] Error 1
gmake[2]: Leaving directory `/u1/santosh/gcc_obj'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/u1/santosh/gcc_obj'
gmake: *** [bootstrap-lean] Error 2

<\snip>

When I start I get the following:

[ssugur@mx5test ~/gcc_obj]$gmake bootstrap-lean
gmake[1]: Entering directory
`/u1/santosh/gcc_obj/build-sparc-sun-solaris2.10/libiberty'
gmake[2]: Entering directory
`/u1/santosh/gcc_obj/build-sparc-sun-solaris2.10/libiberty/testsuite'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory
`/u1/santosh/gcc_obj/build-sparc-sun-solaris2.10/libiberty/testsuite'
gmake[1]: Leaving directory
`/u1/santosh/gcc_obj/build-sparc-sun-solaris2.10/libiberty'
gmake[1]: Entering directory
`/u1/santosh/gcc_obj/build-sparc-sun-solaris2.10/fixincludes'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory
`/u1/santosh/gcc_obj/build-sparc-sun-solaris2.10/fixincludes'
gmake[1]: Entering directory `/u1/santosh/gcc_obj/intl'
rm -f stamp-h1
/bin/sh ./config.status config.h

The last line shows it is again executing /bin/sh inspite of setting
CONFIG_SHELL=/usr/bin/ksh

Following is the output from uname and config.guess.
[ssugur@mx5test ~/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1]$./config.guess
sparc-sun-solaris2.10
[ssugur@mx5test ~/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1]$uname -a
SunOS mx5test 5.10 Generic_118822-19 sun4u sparc SUNW,UltraSPARC-IIi-cEngine

Thanks a lot for the information. The machine type nomenclature is
much clear to me now.

S

  reply	other threads:[~2006-07-18 16:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-17 15:59 Asher Langton
2006-07-18 14:26 ` Santosh Sugur
2006-07-18 16:13   ` Asher Langton
2006-07-18 16:44     ` Santosh Sugur [this message]
2006-07-20  8:16       ` Santosh Sugur
2006-07-20 16:37         ` Asher Langton
  -- strict thread matches above, loose matches on Subject: below --
2006-07-17  7:58 Santosh Sugur
2006-07-14 18:07 Santosh Sugur
2006-07-14 21:44 ` Brian Dessent

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=8d878f150607180944n2be02521pd9530dac55d73254@mail.gmail.com \
    --to=santosh.sugur@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=langton2@llnl.gov \
    /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).