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

daemon can not find possible compiler in ubuntu 20.04 #16

Closed
cyqw opened this issue Sep 4, 2021 · 2 comments
Closed

daemon can not find possible compiler in ubuntu 20.04 #16

cyqw opened this issue Sep 4, 2021 · 2 comments

Comments

@cyqw
Copy link

cyqw commented Sep 4, 2021

after install gcc by apt install in ubuntu 20.04
/usr/bin/gcc is a symlink file, the realpath of gcc is /usr/bin/x86_64-linux-gnu-gcc-9
the daemon can not find any compiler, because the bellow code skip symlink

  if (S_ISLNK(buf.st_mode)) {          // Symbolic link, ignore it.
    continue;
  }

if (S_ISLNK(buf.st_mode)) { // Symbolic link, ignore it.

@cyqw cyqw changed the title the possible compiler shoud include symlink files daemon can not find possible compiler in ubuntu 20.04 Sep 4, 2021
@0x804d8000
Copy link
Collaborator

Confirming. The same issue happens on Debian 11.

I'll fix this later.

@0x804d8000
Copy link
Collaborator

Fixed by #17 .

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

2 participants