Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with building modified Clang with llvm #48

Open
yashie2011 opened this issue Oct 27, 2017 · 5 comments
Open

Issue with building modified Clang with llvm #48

yashie2011 opened this issue Oct 27, 2017 · 5 comments

Comments

@yashie2011
Copy link

I have been trying to install accept compiler on a ubuntu 16.04 machine. I run the command "make setup" after installing Cmake, Ninja and virtual-env. I get the following error which I am not sure how to debug.

cd llvm/tools ; ln -s ../../clang .
ln: failed to create symbolic link './clang': Operation not supported
Makefile:103: recipe for target 'llvm/tools/clang' failed

Thank you.
Yaswanth

@sampsyo
Copy link
Member

sampsyo commented Oct 28, 2017

That's interesting! Is there anything strange about the filesystem you're running this on? Some quick googling suggests that this might happen on a hypervisor's shared volumes, for example: https://communities.vmware.com/thread/312591

@yashie2011
Copy link
Author

Yes. The compiler source code was located in a shared/network volume, and the root file system is in local drive. Installation was successful on a standalone drive.

But I might be running out of disk space. It doesn't work If I want to save my installation on a network drive. Not a high priority issue but worth trying for a fix.

Thank you.

@sampsyo
Copy link
Member

sampsyo commented Oct 28, 2017

OK! I’m not sure what to suggest, though, if your FS doesn’t support symlinks (as most do). Maybe there’s a way to configure your hypervisor to allow symlinks?

If you have another idea for a workaround, a PR would be welcome!

@yashie2011
Copy link
Author

yashie2011 commented Oct 28, 2017 via email

@umair626
Copy link

Hi,
I want to install ACCEPT and I got into the following error after running make setup

umair@umair-pc:~/accept$ make setup
/bin/sh: 1: ninja: not found
Please install Ninja to build LLVM and ACCEPT.
http://martine.github.io/ninja/
Makefile:118: recipe for target 'check_ninja' failed
make: *** [check_ninja] Error 2

Any help will be appreciated.thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants