[cfe-commits] libcxx installation failed

Jean-Daniel Dupas devlists at shadowlab.org
Mon Nov 21 03:57:51 PST 2011

There is a small issue in clang/runtime/libcxx/Makefile.

When installing the libcxx headers, it performs a chmod to make sure the permissions are properly set, but it does not take into account recent changes introduced in libcxx headers layout, especially introduction of the support folder.

And so, when it installs the libcxx headers, it set the "support" directory's permissions to 644, which is probably not something it should do.

I propose a patch to solve this issue, and avoid the same problem with future changes in libcxx. Instead of hard coding the list of folders, this patch uses the find command to change the permissions on files and folders as expected.

-- Jean-Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libcxx.patch
Type: application/octet-stream
Size: 614 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111121/5e4464ff/attachment.obj>

More information about the cfe-commits mailing list