On Tue, Mar 29, 2011 at 6:18 PM, Michael Hope <michael.h...@linaro.org>wrote:

> >> The build got pretty far, but eventually failed with:
> >>
> >> make[4]: Entering directory
> >> `/home/ubuntu/work/build/gcc/libiberty/testsuite'
> >> make[4]: Nothing to be done for `install'.
> >> make[4]: Leaving directory
> `/home/ubuntu/work/build/gcc/libiberty/testsuite'
> >> make[3]: Leaving directory `/home/ubuntu/work/build/gcc/libiberty'
> >> /bin/sh: line 3: cd: arm-linux-gnueabi/libstdc++-v3: No such file or
> >> directory
> >> make[2]: *** [install-target-libstdc++-v3] Error 1
> >> make[2]: Leaving directory `/home/ubuntu/work/build/gcc'
> >> make[1]: *** [install] Error 2
> >> make[1]: Leaving directory `/home/ubuntu/work/build/gcc'
> >> make: *** [stamp/gcc-install] Error 2
> >>
> >> Any idea what I need to do about that? (I tried adding
> >> --enable-languages=c,c++ but that didn't help.)
> >
> >Not sure there.  Could you capture the output from configure and send
> >it through?
>
>
Actually all the install-target-* targets fail (of the three it tries to
do), and in the same way -- ie., on that relative-path cd. If I comment out
the actions for install-target-libstdc++-v3, install-target-libgcc, and
install-target-libiberty, then the build finishes, creating the tar file.

This is what the target for libstdc++-v3 looks like (they're all pretty much
the same, just with a different subdir in the cd and a different exports
var):

install-target-libstdc++-v3: installdirs
        @: $(MAKE); $(unstage)
        @r=`${PWD_COMMAND}`; export r; \
        s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
        $(RAW_CXX_TARGET_EXPORTS) \
        (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
          $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)

I'm not sure where that cd is supposed to be relative to, but nowhere do I
have a libstdc++* or libgcc* shared lib (or static), so it looks to me like
they're not getting built -- nothing fails, so I assume they're not even
trying to be built. I don't know why, though. So even though I got through
to the tarfile creation, it isn't actually complete -- but I suppose as a
workaround for now, I could try snagging those libs from release you guys
built and see if that works.

Diane
_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to