public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/3174: sparc-rtems (also seen on i386-rtems)
@ 2001-06-18 22:53 bkoz
  0 siblings, 0 replies; 3+ messages in thread
From: bkoz @ 2001-06-18 22:53 UTC (permalink / raw)
  To: bkoz, gcc-bugs, gcc-prs, joel

Synopsis: sparc-rtems (also seen on i386-rtems)

State-Changed-From-To: feedback->closed
State-Changed-By: bkoz
State-Changed-When: Mon Jun 18 22:53:35 2001
State-Changed-Why:
    Fixed

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3174&database=gcc


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

* Re: libstdc++/3174: sparc-rtems (also seen on i386-rtems)
@ 2001-06-13 19:41 bkoz
  0 siblings, 0 replies; 3+ messages in thread
From: bkoz @ 2001-06-13 19:41 UTC (permalink / raw)
  To: bkoz, gcc-bugs, gcc-prs, joel, nobody

Synopsis: sparc-rtems (also seen on i386-rtems)

Responsible-Changed-From-To: unassigned->bkoz
Responsible-Changed-By: bkoz
Responsible-Changed-When: Wed Jun 13 19:41:31 2001
Responsible-Changed-Why:
    Mine.
State-Changed-From-To: open->feedback
State-Changed-By: bkoz
State-Changed-When: Wed Jun 13 19:41:31 2001
State-Changed-Why:
    Your sources are from 2001-06-11. I fixed this yesterday, just for you.
    
    Here:
    http://gcc.gnu.org/ml/gcc-patches/2001-06/msg00830.html

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3174&database=gcc


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

* libstdc++/3174: sparc-rtems (also seen on i386-rtems)
@ 2001-06-13 11:26 joel
  0 siblings, 0 replies; 3+ messages in thread
From: joel @ 2001-06-13 11:26 UTC (permalink / raw)
  To: gcc-gnats

>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:


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

end of thread, other threads:[~2001-06-18 22:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-18 22:53 libstdc++/3174: sparc-rtems (also seen on i386-rtems) bkoz
  -- strict thread matches above, loose matches on Subject: below --
2001-06-13 19:41 bkoz
2001-06-13 11:26 joel

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