This is an archive of the discontinued LLVM Phabricator instance.

[Clang] [Fix] Clang build fails when build directory contains space character
ClosedPublic

Authored by xgupta on Sep 17 2021, 9:55 AM.

Details

Summary

Clang build fails when build directory contains space character.

Error messages:

[ 95%] Linking CXX executable ../../../../bin/clang
clang: error: no such file or directory: 'Space/Net/llvm/Build/tools/clang/tools/driver/Info.plist'
make[2]: * [bin/clang-14] Error 1
make[1]:
* [tools/clang/tools/driver/CMakeFiles/clang.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

The path name is actually:

'Dev Space/Net/llvm/Build/tools/clang/tools/driver/Info.plist'

Bugzilla issue - https://bugs.llvm.org/show_bug.cgi?id=51884
Reporter and patch author - Brain Swift <bsp2bsp-llvm@yahoo.com>

Diff Detail

Event Timeline

xgupta created this revision.Sep 17 2021, 9:55 AM
xgupta requested review of this revision.Sep 17 2021, 9:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 17 2021, 9:55 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
This revision is now accepted and ready to land.Sep 20 2021, 5:23 AM