https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68461

            Bug ID: 68461
           Summary: make stage1-bubble all-target error: No rule to make
                    target `../src/c++98/libc++98convenience.la'
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: msebor at gcc dot gnu.org
  Target Milestone: ---

The answer to question 4 on the Toplevel-bootstrap Wiki page
(https://gcc.gnu.org/wiki/Top-Level_Bootstrap) copied below doesn't seem to
work with the latest trunk.

Q4) How to compile all the libraries (libjava, ...) using the stage1 compiler?

A4) Configure with --enable-stage1-languages=all and then use make
stage1-bubble all-target

The build fails with the following (on powerpc64le, though the failure doesn't
seem target specific):

$ /src/gcc-trunk/configure --enable-stage1-languages=all && make stage1-bubble
all-target
...
libtool: compile:  /build/gcc-trunk-stage1/./gcc/xgcc -shared-libgcc
-B/build/gcc-trunk-stage1/./gcc -nostdinc++
-L/build/gcc-trunk-stage1/powerpc64le-unknown-linux-gnu/libstdc++-v3/src
-L/build/gcc-trunk-stage1/powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/build/gcc-trunk-stage1/powerpc64le-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-B/usr/local/powerpc64le-unknown-linux-gnu/bin/
-B/usr/local/powerpc64le-unknown-linux-gnu/lib/ -isystem
/usr/local/powerpc64le-unknown-linux-gnu/include -isystem
/usr/local/powerpc64le-unknown-linux-gnu/sys-include
-I/build/gcc-trunk-stage1/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu
-I/build/gcc-trunk-stage1/powerpc64le-unknown-linux-gnu/libstdc++-v3/include
-I/src/gcc-trunk/libstdc++-v3/libsupc++ -std=gnu++98 -fPIC -DPIC
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections
-frandom-seed=compatibility-condvar.lo -g -O2 -D_GNU_SOURCE -std=gnu++11 -c
/src/gcc-trunk/libstdc++-v3/src/c++11/compatibility-condvar.cc -o
compatibility-condvar.o >/dev/null 2>&1
cp /src/gcc-trunk/libstdc++-v3/config/abi/pre/gnu.ver libstdc++-symbols.ver.tmp
chmod +w libstdc++-symbols.ver.tmp
if test "x/src/gcc-trunk/libstdc++-v3/config/os/gnu-linux/ldbl-extra.ver" != x;
then \
  if grep '^# Appended to version file.' \
       /src/gcc-trunk/libstdc++-v3/config/os/gnu-linux/ldbl-extra.ver /dev/null
> /dev/null 2>&1; then \
    cat /src/gcc-trunk/libstdc++-v3/config/os/gnu-linux/ldbl-extra.ver >>
libstdc++-symbols.ver.tmp; \
  else \
    sed -n '1,/DO NOT DELETE/p' libstdc++-symbols.ver.tmp > tmp.top; \
    sed -n '/DO NOT DELETE/,$p' libstdc++-symbols.ver.tmp > tmp.bottom; \
    cat tmp.top /src/gcc-trunk/libstdc++-v3/config/os/gnu-linux/ldbl-extra.ver
tmp.bottom > libstdc++-symbols.ver.tmp; \
    rm tmp.top tmp.bottom; \
  fi; \
fi
/usr/bin/grep -E -v '^[         ]*#(#| |$)' libstdc++-symbols.ver.tmp | \
  /build/gcc-trunk-stage1/./gcc/xgcc -B/build/gcc-trunk-stage1/./gcc/
-B/usr/local/powerpc64le-unknown-linux-gnu/bin/
-B/usr/local/powerpc64le-unknown-linux-gnu/lib/ -isystem
/usr/local/powerpc64le-unknown-linux-gnu/include -isystem
/usr/local/powerpc64le-unknown-linux-gnu/sys-include    -E -P -include
../config.h - > libstdc++-symbols.ver || (rm -f libstdc++-symbols.ver ; exit 1)
rm -f libstdc++-symbols.ver.tmp
make[5]: *** No rule to make target `../src/c++98/libc++98convenience.la',
needed by `libstdc++.la'.  Stop.
make[5]: Leaving directory
`/build/gcc-trunk-stage1/powerpc64le-unknown-linux-gnu/libstdc++-v3/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/build/gcc-trunk-stage1/powerpc64le-unknown-linux-gnu/libstdc++-v3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/build/gcc-trunk-stage1/powerpc64le-unknown-linux-gnu/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/build/gcc-trunk-stage1/powerpc64le-unknown-linux-gnu/libstdc++-v3'
make[1]: *** [all-stage1-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/build/gcc-trunk-stage1'
make: *** [stage1-bubble] Error 2

Reply via email to