[build] Move unwinder to toplevel libgcc (v2)

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Wed Aug 10 13:47:00 GMT 2011

"Joseph S. Myers" <joseph@codesourcery.com> writes:

> This appears to have brought back PR 26478, build failure with readonly 
> source directory:
> cp unwind.h ../../.././gcc/include/unwind.h
> cp: cannot create regular file `../../.././gcc/include/unwind.h': Permission denied
> make[4]: *** [install-unwind_h] Error 1

This is strange: they copy explicitly goes into $(gcc_objdir): from

        cp unwind.h $(gcc_objdir)/include/unwind.h
        chmod a+r $(gcc_objdir)/include/unwind.h

For an in-tree build, the source directory cannot be read-only, for a
VPATH build I don't see how this can happen.  Could you please check?


Rainer Orth, Center for Biotechnology, Bielefeld University

More information about the Libstdc++ mailing list