This also occurs when using Clang in directories mounted over SSH through GVFS.
colinwarren@colinwarren-laptop:~/.gvfs/sftp on colinwyattwarren.com/srv$ clang test.cpp
/usr/bin/ld: final link failed: Operation not supported
collect2: ld returned 1 exit status
clang: error: linker command failed with exit code 1 (use -v to see invocation)
This also occurs when using Clang in directories mounted over SSH through GVFS.
colinwarren@ colinwarren- laptop: ~/.gvfs/ sftp on colinwyattwarre n.com/srv$ clang test.cpp
/usr/bin/ld: final link failed: Operation not supported
collect2: ld returned 1 exit status
clang: error: linker command failed with exit code 1 (use -v to see invocation)