This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 3.1 Bootstrap failure on Solaris 2.8


On Fri, Mar 30, 2001 at 06:37:55PM -0300, Alexandre Oliva wrote:
> On Mar 30, 2001, "Zack Weinberg" <zackw@stanford.edu> wrote:
> 
> > Looks like the code embedded in CXX_FOR_TARGET gets evaluated here, in
> > completely the wrong context.
> 
> Doh!  Yep, you hit it on the nail!  Thanks a lot for the
> investigation.
> 
> Here's a candidate fix I'm testing right now.  Please let me know
> whether it fixes the problem for you, and I'll check it in (or feel
> free to beat me to it, I'll go off-line in a couple of minutes, and
> will be off-line until late in the evening tomorrow).

I'm afraid this does not help.  I now get

Configuring in i686-pc-linux-gnu/libstdc++-v3
'/home/zack/src/b/gcc_vanilla/gcc/g++ -B/home/zack/src/b/gcc_vanilla/gcc/ -nostd
inc++ -L/home/zack/src/b/gcc_vanilla/i686-pc-linux-gnu/libstdc++-v3/src -L/home/
zack/src/b/gcc_vanilla/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/work/inst/i68
6-pc-linux-gnu/bin/ -B/work/inst/i686-pc-linux-gnu/lib/ -isystem /work/inst/i686
-pc-linux-gnu/include'
creating cache ../config.cache
...
checking build system type... i686-pc-linux-gnu
ltcf-cxx.sh: error: problem compiling test program
checking for objdir... .libs
checking for '/home/zack/src/b/gcc_vanilla/gcc/g++ option to produce PIC...  -DP
IC
checking if '/home/zack/src/b/gcc_vanilla/gcc/g++ PIC flag  -DPIC works... no
checking if '/home/zack/src/b/gcc_vanilla/gcc/g++ static flag  works... no
finding the maximum length of command line arguments... (cached) 73729
checking if '/home/zack/src/b/gcc_vanilla/gcc/g++ supports -c -o file.o... (cach
ed) yes
checking whether the linker (ld) supports shared libraries... 
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking command to parse nm output... failed
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for dlfcn.h... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) no
appending configuration tag "CXX" to libtool
checking for GNU make... make
checking for g++ that will successfully compile libstdc++-v3... configure: error
: please upgrade to GCC 3.0 or above
make[1]: *** [configure-target-libstdc++-v3] Error 1

The backquote substitutions are still being evaluated at the wrong
time, and now $CXX has single quotes in it...

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]