public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: joel@OARcorp.com
To: gcc-gnats@gcc.gnu.org
Subject: libstdc++/3174: sparc-rtems (also seen on i386-rtems)
Date: Wed, 13 Jun 2001 11:26:00 -0000	[thread overview]
Message-ID: <20010613181753.11955.qmail@sourceware.cygnus.com> (raw)

>Number:         3174
>Category:       libstdc++
>Synopsis:       sparc-rtems (also seen on i386-rtems)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 13 11:26:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     joel@OARcorp.com
>Release:        gcc-3.0-20010611
>Organization:
>Environment:
RedHat GNU/Linux 6.2
>Description:
Configure fails to use just built compiler for CXXCPP,

based on the output below, I think it is using the native
install for CXXCPP instead of the just built cross.


I added a "set -x" above the test in libstdc++-v3/configure
and some echos and get this output:


appending configuration tag "CXX" to libtool
checking for GNU make... make
+ echo cross_compiling=
cross_compiling=
+ echo CXXCPP=/lib/cpp
CXXCPP=/lib/cpp
+ echo CPPFLAGS=
CPPFLAGS=
+ echo CXX=/usr3/ftp_archive/gnu/gcc/ss/b1/b-sparc/gcc/xgcc -B/usr3/ftp_archive/
gnu/gcc/ss/b1/b-sparc/gcc/ -nostdinc++  -L/usr3/ftp_archive/gnu/gcc/ss/b1/b-spar
c/sparc-rtems/libstdc++-v3/src -L/usr3/ftp_archive/gnu/gcc/ss/b1/b-sparc/sparc-r
tems/libstdc++-v3/src/.libs -nostdinc -B/usr3/ftp_archive/gnu/gcc/ss/b1/b-sparc/
sparc-rtems/newlib/ -isystem /usr3/ftp_archive/gnu/gcc/ss/b1/b-sparc/sparc-rtems
/newlib/targ-include -isystem /usr3/ftp_archive/gnu/gcc/ss/b1/gcc-3.0-20010611/n
ewlib/libc/include -B/opt/rtems/sparc-rtems/bin/ -B/opt/rtems/sparc-rtems/lib/ -
isystem /opt/rtems/sparc-rtems/include
CXX=/usr3/ftp_archive/gnu/gcc/ss/b1/b-sparc/gcc/xgcc -B/usr3/ftp_archive/gnu/gcc
/ss/b1/b-sparc/gcc/ -nostdinc++  -L/usr3/ftp_archive/gnu/gcc/ss/b1/b-sparc/sparc
-rtems/libstdc++-v3/src -L/usr3/ftp_archive/gnu/gcc/ss/b1/b-sparc/sparc-rtems/li
bstdc++-v3/src/.libs -nostdinc -B/usr3/ftp_archive/gnu/gcc/ss/b1/b-sparc/sparc-r
tems/newlib/ -isystem /usr3/ftp_archive/gnu/gcc/ss/b1/b-sparc/sparc-rtems/newlib
/targ-include -isystem /usr3/ftp_archive/gnu/gcc/ss/b1/gcc-3.0-20010611/newlib/l
ibc/include -B/opt/rtems/sparc-rtems/bin/ -B/opt/rtems/sparc-rtems/lib/ -isystem
 /opt/rtems/sparc-rtems/include
+ test ! -f stamp-sanity-compiler
+ echo -n checking for g++ that will successfully compile libstdc++-v3...
checking for g++ that will successfully compile libstdc++-v3... + echo configure
:2590: checking for g++ that will successfully compile libstdc++-v3
+ ac_ext=C
+ ac_cpp=$CXXCPP $CPPFLAGS
+ ac_compile=${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5
+ ac_link=${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS confte
st.$ac_ext $LIBS 1>&5
+ cross_compiling=
+ cat
+ egrep ok
+ rm -rf conftest.C
+ echo configure: error: please upgrade to GCC 3.0 or above
configure: error: please upgrade to GCC 3.0 or above
>How-To-Repeat:

Unfortunately, someone may have to have some patches but
I believe that this can be compiled with the following
configure line:

+ ../gcc-3.0-20010611/configure --target=sparc-rtems --with-gnu-as --with-gnu-ld
 --with-newlib --verbose --enable-threads --prefix=/opt/rtems
>Fix:
Properly set CXXCPP to use the just built compiler.
>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2001-06-13 11:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-13 11:26 joel [this message]
2001-06-13 19:41 bkoz
2001-06-18 22:53 bkoz

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=20010613181753.11955.qmail@sourceware.cygnus.com \
    --to=joel@oarcorp.com \
    --cc=gcc-gnats@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).