public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "David Eisner" <deisner@gmail.com>
To: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
Cc: gcc-help@gcc.gnu.org
Subject: Re: gen-classlist.sh problem while building gcc 4.2.4
Date: Wed, 06 Aug 2008 16:52:00 -0000	[thread overview]
Message-ID: <5ef8ba410808060948h711be018y1cb66e17bf61b9e6@mail.gmail.com> (raw)
In-Reply-To: <loom.20080802T122314-725@post.gmane.org>

On Sat, Aug 2, 2008 at 8:29 AM, Ralf Wildenhues <Ralf.Wildenhues@gmx.de> wrote:
> This is <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25557>.
> If this isn't a regression (which I'm not sure of), then I guess this
> bug won't be fixed in the branch.

Thanks for finding that.  I had created a new bug
(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37000), and I've now
marked it a duplicate.

It was recommended that I set CONFIG_SHELL to /bin/ksh, as recommended
in the build notes for Solaris, and that did the trick for me:

  http://gcc.gnu.org/install/specific.html#x-x-solaris2

I should have noticed that before.

>> By the way, I'm not sure why it's even building java.  I didn't
>> include java in the enabled languages when I ran configure.  I guess
>> it knows best.
>
> Try passing --enable-languages explicitly.

I did.  Here's how i called configure:

CC="cc -xarch=v9 -xildoff" ../gcc-4.2.4/configure \
          --prefix=/data/software/devtools/gcc-4.3.1-sparc-sun-solaris2.9 \
          --enable-langues=c,c++,objc \
          --with-gmp=/data/software/devtools/gmp-4.2.1-sparc-sun-solaris2.9 \
          --with-mpfr=/data/software/devtools/mpfr-2.3.0-sparc-sun-solaris2.9

Strangely, though, when I look at config.status, I see this:

#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# on host cannes.umd.edu:
#
# ../gcc-4.2.4/configure
--prefix=/data/software/devtools/gcc-4.3.1-sparc-sun-solaris2.9
--enable-langues=c,c++,objc
--with-gmp=/data/software/devtools/gmp-4.2.1-sparc-sun-solaris2.9
--with-mpfr=/data/software/devtools/mpfr-2.3.0-sparc-sun-solaris2.9
--enable-languages=c,c++,java,objc
#

I don't know why the extra --enable-languages switch was appended, and
this time with java included.

-David



-- 
David Eisner http://cradle.brokenglass.com

WARNING: multiple messages have this Message-ID
From: "David Eisner" <deisner@gmail.com>
To: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
Cc: gcc-help@gcc.gnu.org
Subject: Re: gen-classlist.sh problem while building gcc 4.2.4
Date: Wed, 06 Aug 2008 17:34:00 -0000	[thread overview]
Message-ID: <5ef8ba410808060948h711be018y1cb66e17bf61b9e6@mail.gmail.com> (raw)
Message-ID: <20080806173400.qHUzG3L05SH7Qj3zRF2L6CP2-3sUk2g2gm5j1NP7M1Q@z> (raw)
In-Reply-To: <loom.20080802T122314-725@post.gmane.org>

On Sat, Aug 2, 2008 at 8:29 AM, Ralf Wildenhues <Ralf.Wildenhues@gmx.de> wrote:
> This is <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25557>.
> If this isn't a regression (which I'm not sure of), then I guess this
> bug won't be fixed in the branch.

Thanks for finding that.  I had created a new bug
(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37000), and I've now
marked it a duplicate.

It was recommended that I set CONFIG_SHELL to /bin/ksh, as recommended
in the build notes for Solaris, and that did the trick for me:

  http://gcc.gnu.org/install/specific.html#x-x-solaris2

I should have noticed that before.

>> By the way, I'm not sure why it's even building java.  I didn't
>> include java in the enabled languages when I ran configure.  I guess
>> it knows best.
>
> Try passing --enable-languages explicitly.

I did.  Here's how i called configure:

CC="cc -xarch=v9 -xildoff" ../gcc-4.2.4/configure \
          --prefix=/data/software/devtools/gcc-4.3.1-sparc-sun-solaris2.9 \
          --enable-langues=c,c++,objc \
          --with-gmp=/data/software/devtools/gmp-4.2.1-sparc-sun-solaris2.9 \
          --with-mpfr=/data/software/devtools/mpfr-2.3.0-sparc-sun-solaris2.9

Strangely, though, when I look at config.status, I see this:

#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# on host cannes.umd.edu:
#
# ../gcc-4.2.4/configure
--prefix=/data/software/devtools/gcc-4.3.1-sparc-sun-solaris2.9
--enable-langues=c,c++,objc
--with-gmp=/data/software/devtools/gmp-4.2.1-sparc-sun-solaris2.9
--with-mpfr=/data/software/devtools/mpfr-2.3.0-sparc-sun-solaris2.9
--enable-languages=c,c++,java,objc
#

I don't know why the extra --enable-languages switch was appended, and
this time with java included.

-David



-- 
David Eisner http://cradle.brokenglass.com

  reply	other threads:[~2008-08-06 16:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-01 14:38 David Eisner
2008-08-02 12:30 ` Ralf Wildenhues
2008-08-06 16:52   ` David Eisner [this message]
2008-08-06 17:34     ` David Eisner
2008-08-07  3:15     ` David Eisner

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=5ef8ba410808060948h711be018y1cb66e17bf61b9e6@mail.gmail.com \
    --to=deisner@gmail.com \
    --cc=Ralf.Wildenhues@gmx.de \
    --cc=gcc-help@gcc.gnu.org \
    /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).