# cmake hangs in check\_symbol\_exists

**URL:** https://discourse.cmake.org/t/cmake-hangs-in-check-symbol-exists/479
**Category:** Usage
**Tags:** os:windows
**Created:** [January 10, 2020, 8:46pm UTC](https://discourse.cmake.org/t/cmake-hangs-in-check-symbol-exists/479 "2020-01-10T20:46:30Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![eriols](https://discourse.cmake.org/user_avatar/discourse.cmake.org/eriols/32/945_2.png) [@eriols](https://discourse.cmake.org/u/eriols)
#### Post date: [January 10, 2020, 8:46pm UTC](https://discourse.cmake.org/t/cmake-hangs-in-check-symbol-exists/479/1 "2020-01-10T20:46:30Z")

</div>

I have a build I’m moving from one windows machine to another, one running Windows 10, another Windows Server 2012.  
The CMAKE\_HOST\_SYSTEM\_PROCESSOR is AMD64 for both.  
All works on the Windows 10 and I have other builds running on the Windows Server 2012 using the same cmake binary, the version of which is 3.3.2 for win-32.  
Running this particular build on the latter however always hangs in the check\_symbol\_exists macro.  
If I remove all of those (just for testing if all else works) it instead hangs on a check\_c\_compiler\_flag that comes later.  
Running with --debug-output really did not tell much except that we’re called from a particular CMakeLists.txt file. Same with --debug-trycompile.  
Any ideas on what can cause this macro to hang?  
The CMAKE\_C\_COMPILER\_ID is “arm-bco”.

Thanks!

---

<div class="post-metadata">

### Author: ![craig.scott](https://discourse.cmake.org/user_avatar/discourse.cmake.org/craig.scott/32/20_2.png) [@craig.scott](https://discourse.cmake.org/u/craig.scott)
#### Post date: [January 11, 2020, 8:43am UTC](https://discourse.cmake.org/t/cmake-hangs-in-check-symbol-exists/479/2 "2020-01-11T08:43:53Z")

</div>

If you invoke the compiler directly on the Windows Server 2012 machine (just for investigation purposes, say from a terminal or something), does it work? Perhaps it is asking for some interactive input, such as accepting a license or something like that?

---

<div class="post-metadata">

### Author: ![eriols](https://discourse.cmake.org/user_avatar/discourse.cmake.org/eriols/32/945_2.png) [@eriols](https://discourse.cmake.org/u/eriols)
#### Post date: [January 11, 2020, 6:25pm UTC](https://discourse.cmake.org/t/cmake-hangs-in-check-symbol-exists/479/3 "2020-01-11T18:25:01Z")

</div>

I see, thanks a lot (and thanks for your talk at cppcon).

I will have to ask for direct access to the host next week - there is a license server involved for the arm compiler that the wrapping job around the cmake is allowed to access at least but I need to dive deeper.
