# CMake build from source staggers to a halt with cmComputeLinkInformation.cxx.o

**URL:** https://discourse.cmake.org/t/cmake-build-from-source-staggers-to-a-halt-with-cmcomputelinkinformation-cxx-o/11746
**Category:** Development
**Created:** [September 22, 2024, 7:17pm UTC](https://discourse.cmake.org/t/cmake-build-from-source-staggers-to-a-halt-with-cmcomputelinkinformation-cxx-o/11746 "2024-09-22T19:17:34Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Soren](https://discourse.cmake.org/user_avatar/discourse.cmake.org/soren/32/4953_2.png) [@Soren](https://discourse.cmake.org/u/Soren)
#### Post date: [September 22, 2024, 7:17pm UTC](https://discourse.cmake.org/t/cmake-build-from-source-staggers-to-a-halt-with-cmcomputelinkinformation-cxx-o/11746/1 "2024-09-22T19:17:34Z")

</div>

Hello, I hope someone can help me with this. I am new to CMake and I am trying to build CMake from the cmake-3.30.3 tarball (cmake-3.30.3.tar.gz) on Debian Gnu/Linux.

Its an older 32-bit machine, so building from source was my only option. Anyway, I ran “…/bootstrap && make” and got to 56% of the build when things just stopped:

[56%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmComputeLinkInformation.cxx.o

What should I do? This is the kind of problem where I fear “nobody has ever seen this before” will be the replies. Should I go back to an earlier release and try building that?  
EDIT: sorry, I should have specified the toolchain too. It’s g++ (Debian 8.3.0-6) 8.3.0. The OS release is Debian “Buster”. CMake is of course available as a package for Debian, but I wanted the newest release.  
Whatever the reply, thanks for your attention.

Soren A.

---

<div class="post-metadata">

### Author: ![brad.king](https://discourse.cmake.org/user_avatar/discourse.cmake.org/brad.king/32/11_2.png) [@brad.king](https://discourse.cmake.org/u/brad.king)
#### Post date: [September 24, 2024, 1:43pm UTC](https://discourse.cmake.org/t/cmake-build-from-source-staggers-to-a-halt-with-cmcomputelinkinformation-cxx-o/11746/2 "2024-09-24T13:43:43Z")

</div>

> [@Soren](#):
>
> Its an older 32-bit machine…g++ (Debian 8.3.0-6) 8.3.0. The OS release is Debian “Buster”

I just tried building from source in a container started from:

```auto
docker run -it --platform linux/i386 debian:buster

```

CMake built cleanly in just a couple of minutes.

> I fear “nobody has ever seen this before” will be the replies

Yes, sorry.

> Should I go back to an earlier release and try building that?

Debian `buster` packages CMake 3.13.4. You could try building that version from source to see if you can get farther. If so, then bisect the versions.

---

<div class="post-metadata">

### Author: ![Soren](https://discourse.cmake.org/user_avatar/discourse.cmake.org/soren/32/4953_2.png) [@Soren](https://discourse.cmake.org/u/Soren)
#### Post date: [September 25, 2024, 2:01am UTC](https://discourse.cmake.org/t/cmake-build-from-source-staggers-to-a-halt-with-cmcomputelinkinformation-cxx-o/11746/3 "2024-09-25T02:01:32Z")

</div>

Brad King wrote:

> I just tried building from source in a container started from:

> docker run -it --platform linux/i386 debian:buster  
> CMake built cleanly in just a couple of minutes.

Ok, I feel profoundly behind the times; I have never heard of docker and I am not entirely sure what a container is (I am familiar with virtual machines, e.g. VMWare, though.) I’ll look into docker though. I am always hungry to learn new things. Anyway, I am astonished that CMake built so fast for you. Here, it was probably the longest build I’ve every seen.

I wrote:

> > Should I go back to an earlier release and try building that?

> Debian buster packages CMake 3.13.4. You could try building that version from source to  
> see if you can get farther. If so, then bisect the versions.

That’s a good suggestion. Before receiving your reply, I tried the previous release of cmake, 3.29.8. It also took a very long time to build (I am trying to get `distcc` to work for exactly this kind of scenario), but the binary targets did all build. I ran test and got a lot of errors (73% success). But the next thing I tried was to build the man pages and I’ve posted a separate message about the failure to build the documentation.

Thank you for your reply, Brad.
