# Segmentation error while building root

**URL:** <https://root-forum.cern.ch/t/segmentation-error-while-building-root/47800>\
**Category:** Newbie\
**Tags:** build\
**Created:** [November 23, 2021, 11:36pm UTC](https://root-forum.cern.ch/t/segmentation-error-while-building-root/47800 "2021-11-23T23:36:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ata](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/ata/32/27972_2.png) [@ata](https://root-forum.cern.ch/u/ata)\
**Post date:** [November 23, 2021, 11:36pm UTC](https://root-forum.cern.ch/t/segmentation-error-while-building-root/47800/1 "2021-11-23T23:36:10Z")

</div>

```auto
[30%] Building CXX object interpreter/llvm/src/lib/Transforms/InstCombine/CMakeFiles/LLVMInstCombine.dir/InstCombineCalls.cpp.o
{standard input}: Assembler messages:
{standard input}: Internal error in emit_inc_line_addr at ../../gas/dwarf2dbg.c:1203.
Please report this bug.
interpreter/llvm/src/lib/Transforms/InstCombine/CMakeFiles/LLVMInstCombine.dir/build.make:131: recipe for target 'interpreter/llvm/src/lib/Transforms/InstCombine/CMakeFiles/LLVMInstCombine.dir/InstCombineCalls.cpp.o' failed
make[2]: *** [interpreter/llvm/src/lib/Transforms/InstCombine/CMakeFiles/LLVMInstCombine.dir/InstCombineCalls.cpp.o] Error 1
CMakeFiles/Makefile2:10221: recipe for target 'interpreter/llvm/src/lib/Transforms/InstCombine/CMakeFiles/LLVMInstCombine.dir/all' failed
make[1]: *** [interpreter/llvm/src/lib/Transforms/InstCombine/CMakeFiles/LLVMInstCombine.dir/all] Error 2
Makefile:155: recipe for target 'all' failed
make: *** [all] Error 2

```

_ROOT Version:_ 6.24.00  
_Platform:_ ubuntu 18.04  
_Compiler:_ Not Provided

* * *

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [November 24, 2021, 7:44am UTC](https://root-forum.cern.ch/t/segmentation-error-while-building-root/47800/2 "2021-11-24T07:44:56Z")

</div>

The error seems to come from the `interpreter` code. May be @vvassilev has an idea.

---

<div class="post-metadata">

**Author:** ![ata](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/ata/32/27972_2.png) [@ata](https://root-forum.cern.ch/u/ata)\
**Post date:** [December 6, 2021, 2:25am UTC](https://root-forum.cern.ch/t/segmentation-error-while-building-root/47800/3 "2021-12-06T02:25:52Z")

</div>

If there are other people that experience the same error, I fixed it by changing the rams in my system since I have found out later that they were somehow broken. After changing the rams, the build was completed.
