This is the mail archive of the mailing list for the libstdc++ 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]

build errors with current trunk (r144530)

Hi, I'm getting build errors in libstdc++ on an x86_64 host.  Not sure
if this is a libstdc++-specific problem, but that's where it shows
up.  Please let me know if I should direct this to the more general gcc

It appears like I'm not setting up libtool correctly (long lines
snipped a bit):

  /bin/sh ../libtool --tag CXX --mode=link /home/tfogal/tmp/build_gcc/./gcc/xgcc -shared-libgcc -B/home/tfogal/tmp/build_gcc/./gcc -nostdinc++ -L/home/tfogal/tmp/build_gcc/x86_64-unknown-linux-gnu/libstdc++-v3/src [...] -o [...] atomic.lo [...] ../libsupc++/
  libtool: link:  /home/tfogal/tmp/build_gcc/./gcc/xgcc -shared-libgcc -B/home/tfogal/tmp/build_gcc/./gcc -nostdinc++ [...] -shared -nostdlib /usr/lib/../lib64/crti.o /home/tfogal/tmp/build_gcc/./gcc/crtbeginS.o  .libs/atomic.o [...] -Wl,--whole-archive ../libsupc++/.libs/libsupc++convenience.a -Wl,--no-whole-archive  [...] -lc -lgcc_s [...] -o .libs/
  ../libtool: eval: line 7841: unexpected EOF while looking for matching `''
  ../libtool: eval: line 7842: syntax error: unexpected end of file
  make[4]: *** [] Error 1

More complete logs are at:

My configure line is filled with many options [1], most of which I
pulled from the gcc -v line of a known working gcc on a similar host.
The libtool line referenced above looks to be an eval of a quoted

    for cmd in $cmds; do
      eval cmd=\"$cmd\"
      $opt_silent || {
        func_quote_for_expand "$cmd"
        eval "func_echo $func_quote_for_expand_result"
      $opt_dry_run || eval "$cmd" || {                 <--- 7841

        # Restore the uninstalled library and exit
        if test "$mode" = relink; then
          ( cd "$output_objdir" && \
            $RM "${realname}T" && \
      $MV "${realname}U" "$realname" )

Any ideas what I'm screwing up?



  export CFLAGS="${CFLAGS} -m64 -fPIC -I${PREFIX}/include"
  export CPPFLAGS="${CPPFLAGS} -I${PREFIX}/include"
  export CXXFLAGS="${CXXFLAGS} -m64 -fPIC -I${PREFIX}/include"
  export LDFLAGS="${LDFLAGS} -m64 -L${PREFIX}/lib64 -L${PREFIX}/lib"

  ../gcc-trunk/configure \
      CFLAGS="${CFLAGS}" \
      CPPFLAGS="${CPPFLAGS} -I${PREFIX}/include" \
      LDFLAGS="${LDFLAGS} -m64 -L${PREFIX}/lib64 -L${PREFIX}/lib" \
      --enable-threads=posix \
      --prefix=${HOME}/sw    \
      --enable-languages=c++ \
      --enable-checking=release \
      --with-gxx-include-dir=${HOME}/sw/include/c++/gcc-vcs \
      --enable-libssp \
      --disable-libgcj \
      --disable-werror \
      --with-system-zlib \
      --enable-shared \
      --enable-__cxa_atexit \
      --enable-libstdcxx-allocator=new \
      --disable-libstdcxx-pch \
      --program-suffix=-vcs \
      --enable-version-specific-runtime-libs \
      --without-system-libunwind \
      --disable-multilib \

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