<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/95859>95859</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[Synopsys ARC] error: unable to interface with target machine
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
marcospazianibrunella
</td>
</tr>
</table>
<pre>
I'm trying to compile the code below:
```c
int main () {
return 1;
}
```
With Clang/LLVM 18.6.1 targeting Synopsys ARC with the following command:
```bash
$ clang --target=arc main.c -v
clang version 18.1.6 (https://github.com/llvm/llvm-project.git 1118c2e05e67a36ed8ca250524525cdb66a55256)
Target: arc
Thread model: posix
InstalledDir: /home/giulia/llvm-project/build/bin
"/home/giulia/llvm-project/build/bin/clang-18" -cc1 -triple arc -emit-obj -mrelax-all -dumpdir a- -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name main.c -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -debugger-tuning=gdb -fdebug-compilation-dir=/home/giulia/arc_example -v -fcoverage-compilation-dir=/home/giulia/arc_example -resource-dir /home/giulia/llvm-project/build/lib/clang/18 -ferror-limit 19 -fgnuc-version=4.2.1 -fskip-odr-check-in-gmf -fcolor-diagnostics -faddrsig -o /tmp/main-1c1923.o -x c main.c
clang -cc1 version 18.1.6 based upon LLVM 18.1.6 default target x86_64-unknown-linux-gnu
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/home/giulia/llvm-project/build/lib/clang/18/include
/usr/include
End of search list.
error: unable to interface with target machine
1 error generated.
```
Is the target functional?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJycVVGP2zYM_jXKC0EjlmMnfshD2zRAge5lK7bHgpZoWz1ZCiQ5d7dfP8hOdreiK3ANggghP1Gf-JEUxWgGx3wU9XtRnzY0p9GH40RB-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