This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: Build failure (libsupc++)


Bruce Korb wrote:
> On Saturday 07 June 2008 12:11:48 pm Andrew Haley wrote:
>> you must configure with--disable-multilib.
> 
> Thank you, Andrew.  Much better.  Still breaks tho  :(
> Suggestions?  Thank you -Bruce
> 
> $ bash  ../gcc/configure --disable-multilib --prefix=/home/gnu/proj/gcc-inst --enable-languages=c,c++ --enable-bootstrap 
> [...]
> $ make
> [...]
> Making all in libsupc++
> make[4]: Entering directory `/home/gnu/proj/gcc-bld/x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++'
> /bin/sh ../libtool --tag CXX --tag disable-shared --mode=compile /home/gnu/proj/gcc-bld/./gcc/xgcc -shared-libgcc -B/home/gnu/proj/gcc-bld/./gcc -nostdinc++ -L/home/gnu/proj/gcc-bld/x86_64-unknown-linux-gnu/libstdc++-v3/src -L/home/gnu/proj/gcc-bld/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -B/home/gnu/proj/gcc-inst/x86_64-unknown-linux-gnu/bin/ -B/home/gnu/proj/gcc-inst/x86_64-unknown-linux-gnu/lib/ -isystem /home/gnu/proj/gcc-inst/x86_64-unknown-linux-gnu/include -isystem /home/gnu/proj/gcc-inst/x86_64-unknown-linux-gnu/sys-include -I/home/gnu/proj/gcc/libstdc++-v3/../gcc -I/home/gnu/proj/gcc-bld/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu -I/home/gnu/proj/gcc-bld/x86_64-unknown-linux-gnu/libstdc++-v3/include -I/home/gnu/proj/gcc/libstdc++-v3/libsupc++  -fno-implicit-templates -prefer-pic -Wall -Wextra -Wwrite-strings -Wcast-qual  -fdiagnostics-show-location=once  -ffunction-sections -fdata-sections  -g -O2   -D_GNU_SOURCE    -c -o array_ty
pe_info.lo ../../../../gcc/libstdc++-v3/libsupc++/array_type_info.cc
> ../libtool: line 811: X--mode=compile: command not found
> ../libtool: line 978: *** Warning: inferring the mode of operation is deprecated.: command not found
> ../libtool: line 979: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
> ../libtool: line 1122: X/home/gnu/proj/gcc-bld/./gcc/xgcc: No such file or directory

This is *really* weird.  Have a look at these lines in libtool to see whether all
those 'X' characters really are there.

This is a clean rebuild/configure, I presume.

The only odd thing you're doing is  configuring in a subdir with ../configure.
This isn't supported, but I know some people do the same.

Andrew.


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