# Errors in compiling after switching to ROOT\_6.14.06

**URL:** <https://root-forum.cern.ch/t/errors-in-compiling-after-switching-to-root-6-14-06/32261>\
**Category:** Newbie\
**Created:** [January 12, 2019, 1:57pm UTC](https://root-forum.cern.ch/t/errors-in-compiling-after-switching-to-root-6-14-06/32261 "2019-01-12T13:57:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ANUJ\_CHANDRA](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/a/58956e/32.png) [@ANUJ\_CHANDRA](https://root-forum.cern.ch/u/ANUJ_CHANDRA)\
**Post date:** [January 12, 2019, 1:57pm UTC](https://root-forum.cern.ch/t/errors-in-compiling-after-switching-to-root-6-14-06/32261/1 "2019-01-12T13:57:44Z")

</div>

Dear Sir/Madam

I am facing errors in compiling an executable built after doing “make -j64”. I am using ROOT\_6.14.06 and architacture of Ubuntu 16.04 LTS ppc64le (powerpc64 little endian). I have attached the compressed files of Makefiles used to make executable.  
[Makefile.arch.tar.gz](https://root-forum.cern.ch/uploads/default/original/3X/c/7/c7a915ac73d407acd3ff76576c167f3df0ef5713.gz) (2.5 KB)  
[Makefile.tar.gz](https://root-forum.cern.ch/uploads/default/original/3X/d/c/dc21abac56c475b3d921ce517bbd623dc450bc91.gz) (1.3 KB)  
**The error messages it shows are as follows:** I need help to solve this issue.

```auto
***buffer overflow detected*** : ./lowgainratio terminated
======= Backtrace: =========
/lib/powerpc64le-linux-gnu/libc.so.6(+0x85d18)[0x1000018a5d18]
/lib/powerpc64le-linux-gnu/libc.so.6(__fortify_fail+0x80)[0x10000195c9d0]
/lib/powerpc64le-linux-gnu/libc.so.6(__chk_fail+0x20)[0x100001959690]
/lib/powerpc64le-linux-gnu/libc.so.6(__strcpy_chk+0x74)[0x100001958534]
./lowgainratio(_ZN20GControlFileHandler216GetAllParametersER27GControlFileHandler2_Struct+0x120)[0x1001ebfc]
./lowgainratio(main+0x2a4)[0x1003a098]
/lib/powerpc64le-linux-gnu/libc.so.6(+0x2309c)[0x10000184309c]
/lib/powerpc64le-linux-gnu/libc.so.6(__libc_start_main+0xb8)[0x100001843298]
======= Memory map: ========
10000000-10050000 r-xp 00000000 fc:00 2498085 /home/shakeel/Anuj/LowGainRatioClass/lowgainratio
10050000-10060000 r--p 00040000 fc:00 2498085 /home/shakeel/Anuj/LowGainRatioClass/lowgainratio
10060000-10070000 rw-p 00050000 fc:00 2498085 /home/shakeel/Anuj/LowGainRatioClass/lowgainratio
10070000-10190000 rw-p 00000000 00:00 0 
1003e990000-1003f250000 rw-p 00000000 00:00 0 [heap]
100000000000-100000040000 r-xp 00000000 fc:00 9568275 /lib/powerpc64le-linux-gnu/ld-2.23.so
100000040000-100000050000 r--p 00030000 fc:00 9568275 /lib/powerpc64le-linux-gnu/ld-2.23.so
100000050000-100000060000 rw-p 00040000 fc:00 9568275 /lib/powerpc64le-linux-gnu/ld-2.23.so
100000060000-100000080000 r-xp 00000000 00:00 0 [vdso]
100000080000-1000005a0000 r-xp 00000000 fc:00 4331106 /cern/root/lib/libCore.so
1000005a0000-1000005d0000 r--p 00510000 fc:00 4331106 /cern/root/lib/libCore.so
1000005d0000-1000005e0000 rw-p 00540000 fc:00 4331106 /cern/root/lib/libCore.so
1000005e0000-100000610000 rw-p 00000000 00:00 0 
100000610000-100000ab0000 r-xp 00000000 fc:00 4331159 /cern/root/lib/libRIO.so
100000ab0000-100000ac0000 ---p 004a0000 fc:00 4331159 /cern/root/lib/libRIO.so
100000ac0000-100000ad0000 r--p 004a0000 fc:00 4331159 /cern/root/lib/libRIO.so
100000ad0000-100000ae0000 rw-p 004b0000 fc:00 4331159 /cern/root/lib/libRIO.so
100000ae0000-100000f20000 r-xp 00000000 fc:00 4331257 /cern/root/lib/libHist.so
100000f20000-100000f30000 ---p 00440000 fc:00 4331257 /cern/root/lib/libHist.so
100000f30000-100000f60000 r--p 00440000 fc:00 4331257 /cern/root/lib/libHist.so
100000f60000-100000f70000 rw-p 00470000 fc:00 4331257 /cern/root/lib/libHist.so
100000f70000-100001070000 r-xp 00000000 fc:00 4331314 /cern/root/lib/libGpad.so
100001070000-100001080000 r--p 000f0000 fc:00 4331314 /cern/root/lib/libGpad.so
100001080000-100001090000 rw-p 00100000 fc:00 4331314 /cern/root/lib/libGpad.so
100001090000-100001250000 r-xp 00000000 fc:00 4331242 /cern/root/lib/libMatrix.so
100001250000-100001260000 r--p 001b0000 fc:00 4331242 /cern/root/lib/libMatrix.so
100001260000-100001270000 rw-p 001c0000 fc:00 4331242 /cern/root/lib/libMatrix.so
100001270000-1000014b0000 r-xp 00000000 fc:00 4331225 /cern/root/lib/libMathCore.so
1000014b0000-1000014c0000 r--p 00230000 fc:00 4331225 /cern/root/lib/libMathCore.so
1000014c0000-1000014d0000 rw-p 00240000 fc:00 4331225 /cern/root/lib/libMathCore.so
1000014d0000-1000014f0000 r-xp 00000000 00:00 0 
1000014f0000-1000016d0000 r-xp 00000000 fc:00 5247063 /usr/lib/powerpc64le-linux-gnu/libstdc++.so.6.0.21
1000016d0000-1000016e0000 ---p 001e0000 fc:00 5247063 /usr/lib/powerpc64le-linux-gnu/libstdc++.so.6.0.21
1000016e0000-1000016f0000 r--p 001e0000 fc:00 5247063 /usr/lib/powerpc64le-linux-gnu/libstdc++.so.6.0.21
1000016f0000-100001700000 rw-p 001f0000 fc:00 5247063 /usr/lib/powerpc64le-linux-gnu/libstdc++.so.6.0.21
100001700000-1000017d0000 r-xp 00000000 fc:00 9568340 /lib/powerpc64le-linux-gnu/libm-2.23.so
1000017d0000-1000017e0000 r--p 000c0000 fc:00 9568340 /lib/powerpc64le-linux-gnu/libm-2.23.so
1000017e0000-1000017f0000 rw-p 000d0000 fc:00 9568340 /lib/powerpc64le-linux-gnu/libm-2.23.so
1000017f0000-100001810000 r-xp 00000000 fc:00 9568325 /lib/powerpc64le-linux-gnu/libgcc_s.so.1
100001810000-100001820000 rw-p 00010000 fc:00 9568325 /lib/powerpc64le-linux-gnu/libgcc_s.so.1
100001820000-1000019d0000 r-xp 00000000 fc:00 9568299 /lib/powerpc64le-linux-gnu/libc-2.23.so
1000019d0000-1000019e0000 r--p 001a0000 fc:00 9568299 /lib/powerpc64le-linux-gnu/libc-2.23.so
1000019e0000-1000019f0000 rw-p 001b0000 fc:00 9568299 /lib/powerpc64le-linux-gnu/libc-2.23.so
1000019f0000-100001a70000 r-xp 00000000 fc:00 9568377 /lib/powerpc64le-linux-gnu/libpcre.so.3.13.2
100001a70000-100001a80000 r--p 00070000 fc:00 9568377 /lib/powerpc64le-linux-gnu/libpcre.so.3.13.2
100001a80000-100001a90000 rw-p 00080000 fc:00 9568377 /lib/powerpc64le-linux-gnu/libpcre.so.3.13.2
100001a90000-100001ac0000 r-xp 00000000 fc:00 9568339 /lib/powerpc64le-linux-gnu/liblzma.so.5.0.0
100001ac0000-100001ad0000 rw-p 00020000 fc:00 9568339 /lib/powerpc64le-linux-gnu/liblzma.so.5.0.0
100001ad0000-100001af0000 r-xp 00000000 fc:00 9568420 /lib/powerpc64le-linux-gnu/libz.so.1.2.8
100001af0000-100001b00000 r--p 00010000 fc:00 9568420 /lib/powerpc64le-linux-gnu/libz.so.1.2.8
100001b00000-100001b10000 rw-p 00020000 fc:00 9568420 /lib/powerpc64le-linux-gnu/libz.so.1.2.8
100001b10000-100001b20000 r-xp 00000000 fc:00 9568313 /lib/powerpc64le-linux-gnu/libdl-2.23.so
100001b20000-100001b30000 r--p 00000000 fc:00 9568313 /lib/powerpc64le-linux-gnu/libdl-2.23.so
100001b30000-100001b40000 rw-p 00010000 fc:00 9568313 /lib/powerpc64le-linux-gnu/libdl-2.23.so
100001b40000-100001b60000 r-xp 00000000 fc:00 9568384 /lib/powerpc64le-linux-gnu/libpthread-2.23.so
100001b60000-100001b70000 r--p 00010000 fc:00 9568384 /lib/powerpc64le-linux-gnu/libpthread-2.23.so
100001b70000-100001b80000 rw-p 00020000 fc:00 9568384 /lib/powerpc64le-linux-gnu/libpthread-2.23.so
100001b80000-100001be0000 r-xp 00000000 fc:00 4331146 /cern/root/lib/libThread.so
100001be0000-100001bf0000 ---p 00060000 fc:00 4331146 /cern/root/lib/libThread.so
100001bf0000-100001c00000 r--p 00060000 fc:00 4331146 /cern/root/lib/libThread.so
100001c00000-100001c10000 rw-p 00070000 fc:00 4331146 /cern/root/lib/libThread.so
100001c10000-100001d80000 r-xp 00000000 fc:00 4331279 /cern/root/lib/libGraf.so
100001d80000-100001d90000 ---p 00170000 fc:00 4331279 /cern/root/lib/libGraf.so
100001d90000-100001da0000 r--p 00170000 fc:00 4331279 /cern/root/lib/libGraf.so
100001da0000-100001db0000 rw-p 00180000 fc:00 4331279 /cern/root/lib/libGraf.so
100001db0000-100001dc0000 rw-p 00000000 00:00 0 
100001dc0000-100001dd0000 r-xp 00000000 fc:00 4331156 /cern/root/lib/libImt.so
100001dd0000-100001de0000 r--p 00000000 fc:00 4331156 /cern/root/lib/libImt.so
100001de0000-100001df0000 rw-p 00010000 fc:00 4331156 /cern/root/lib/libImt.so
100001df0000-100001ec0000 r-xp 00000000 fc:00 5247873 /usr/lib/powerpc64le-linux-gnu/libfreetype.so.6.12.1
100001ec0000-100001ed0000 r--p 000c0000 fc:00 5247873 /usr/lib/powerpc64le-linux-gnu/libfreetype.so.6.12.1
100001ed0000-100001ee0000 rw-p 000d0000 fc:00 5247873 /usr/lib/powerpc64le-linux-gnu/libfreetype.so.6.12.1
100001ee0000-100001f20000 r-xp 00000000 fc:00 4331003 /cern/root/lib/libtbb.so.2
100001f20000-100001f30000 ---p 00040000 fc:00 4331003 /cern/root/lib/libtbb.so.2
100001f30000-100001f40000 r--p 00040000 fc:00 4331003 /cern/root/lib/libtbb.so.2
100001f40000-100001f50000 rw-p 00050000 fc:00 4331003 /cern/root/lib/libtbb.so.2
100001f50000-100001f80000 r-xp 00000000 fc:00 9568379 /lib/powerpc64le-linux-gnu/libpng12.so.0.54.0
100001f80000-100001f90000 r--p 00020000 fc:00 9568379 /lib/powerpc64le-linux-gnu/libpng12.so.0.54.0
100001f90000-100001fa0000 rw-p 00030000 fc:00 9568379 /lib/powerpc64le-linux-gnu/libpng12.so.0.54.0
100001fa0000-100001fd0000 rw-p 00000000 00:00 0 
100001fd0000-100001fe0000 r-xp 00000000 fc:00 9568357 /lib/powerpc64le-linux-gnu/libnss_compat-2.23.so
100001fe0000-100001ff0000 r--p 00000000 fc:00 9568357 /lib/powerpc64le-linux-gnu/libnss_compat-2.23.so
100001ff0000-100002000000 rw-p 00010000 fc:00 9568357 /lib/powerpc64le-linux-gnu/libnss_compat-2.23.so
100002000000-100002020000 r-xp 00000000 fc:00 9568355 /lib/powerpc64le-linux-gnu/libnsl-2.23.so
100002020000-100002030000 r--p 00010000 fc:00 9568355 /lib/powerpc64le-linux-gnu/libnsl-2.23.so
100002030000-100002040000 rw-p 00020000 fc:00 9568355 /lib/powerpc64le-linux-gnu/libnsl-2.23.so
100002040000-100002050000 r-xp 00000000 fc:00 9568365 /lib/powerpc64le-linux-gnu/libnss_nis-2.23.so
100002050000-100002060000 r--p 00000000 fc:00 9568365 /lib/powerpc64le-linux-gnu/libnss_nis-2.23.so
100002060000-100002070000 rw-p 00010000 fc:00 9568365 /lib/powerpc64le-linux-gnu/libnss_nis-2.23.so
100002070000-100002080000 r-xp 00000000 fc:00 9568361 /lib/powerpc64le-linux-gnu/libnss_files-2.23.so
100002080000-100002090000 r--p 00000000 fc:00 9568361 /lib/powerpc64le-linux-gnu/libnss_files-2.23.so
100002090000-1000020a0000 rw-p 00010000 fc:00 9568361 /lib/powerpc64le-linux-gnu/libnss_files-2.23.so
1000020a0000-100004b70000 r-xp 00000000 fc:00 4331105 /cern/root/lib/libCling.so
100004b70000-100004b80000 ---p 02ad0000 fc:00 4331105 /cern/root/lib/libCling.so
100004b80000-100004ca0000 r--p 02ad0000 fc:00 4331105 /cern/root/lib/libCling.so
100004ca0000-100004cb0000 rw-p 02bf0000 fc:00 4331105 /cern/root/lib/libCling.so
100004cb0000-100004ce0000 rw-p 00000000 00:00 0 
100004ce0000-100004d10000 r-xp 00000000 fc:00 9568408 /lib/powerpc64le-linux-gnu/libtinfo.so.5.9
100004d10000-100004d20000 r--p 00020000 fc:00 9568408 /lib/powerpc64le-linux-gnu/libtinfo.so.5.9
100004d20000-100004d30000 rw-p 00030000 fc:00 9568408 /lib/powerpc64le-linux-gnu/libtinfo.so.5.9
100004d30000-100004d70000 rw-p 00000000 00:00 0 
100004d70000-100009fb0000 r--p 00000000 fc:00 2764044 /cern/root/etc/allDict.cxx.pch
100009fb0000-10000abc0000 rw-p 00000000 00:00 0 
10000abe0000-10000ac20000 rw-p 00000000 00:00 0 
10000ac20000-10000ac60000 r-xp 00000000 fc:00 9568275 /lib/powerpc64le-linux-gnu/ld-2.23.so
10000ac60000-10000ac70000 r--p 00030000 fc:00 9568275 /lib/powerpc64le-linux-gnu/ld-2.23.so
10000ac70000-10000ac80000 rw-p 00040000 fc:00 9568275 /lib/powerpc64le-linux-gnu/ld-2.23.so
10000ac80000-10000ae30000 r-xp 00000000 fc:00 4331224 /cern/root/lib/libTree.so
10000ae30000-10000ae40000 ---p 001b0000 fc:00 4331224 /cern/root/lib/libTree.so
10000ae40000-10000ae50000 r--p 001b0000 fc:00 4331224 /cern/root/lib/libTree.so
10000ae50000-10000ae60000 rw-p 001c0000 fc:00 4331224 /cern/root/lib/libTree.so
10000ae60000-10000af60000 r-xp 00000000 fc:00 4331201 /cern/root/lib/libNet.so
10000af60000-10000af70000 r--p 000f0000 fc:00 4331201 /cern/root/lib/libNet.so
10000af70000-10000af80000 rw-p 00100000 fc:00 4331201 /cern/root/lib/libNet.so
10000af80000-10000aff0000 r-xp 00000000 fc:00 9573262 /lib/powerpc64le-linux-gnu/libssl.so.1.0.0
10000aff0000-10000b000000 r--p 00060000 fc:00 9573262 /lib/powerpc64le-linux-gnu/libssl.so.1.0.0
10000b000000-10000b010000 rw-p 00070000 fc:00 9573262 /lib/powerpc64le-linux-gnu/libssl.so.1.0.0
10000b010000-10000b220000 r-xp 00000000 fc:00 9573080 /lib/powerpc64le-linux-gnu/libcrypto.so.1.0.0
10000b220000-10000b230000 ---p 00210000 fc:00 9573080 /lib/powerpc64le-linux-gnu/libcrypto.so.1.0.0
10000b230000-10000b250000 r--p 00210000 fc:00 9573080 /lib/powerpc64le-linux-gnu/libcrypto.so.1.0.0
10000b250000-10000b260000 rw-p 00230000 fc:00 9573080 /lib/powerpc64le-linux-gnu/libcrypto.so.1.0.0
3ffff8640000-3ffff8960000 rw-p 00000000 00:00 0 [stack]
Aborted (core dumped)

```

Kind regards

Anuj

---

<div class="post-metadata">

**Author:** ![amadio](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/amadio/32/12562_2.png) [@amadio](https://root-forum.cern.ch/u/amadio)\
**Post date:** [January 12, 2019, 10:20pm UTC](https://root-forum.cern.ch/t/errors-in-compiling-after-switching-to-root-6-14-06/32261/2 "2019-01-12T22:20:14Z")

</div>

> [@ANUJ\_CHANDRA](#):
>
> \_ZN20GControlFileHandler216GetAllParametersER27GControlFileHandler2\_Struct

This symbol is `GControlFileHandler2::GetAllParameters(GControlFileHandler2_Struct&) ` and is not part of ROOT. It seems your program has a bug in a call to `strcpy()`. Maybe you called it on a string that is not NULL terminated?

---

<div class="post-metadata">

**Author:** ![ANUJ\_CHANDRA](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/a/58956e/32.png) [@ANUJ\_CHANDRA](https://root-forum.cern.ch/u/ANUJ_CHANDRA)\
**Post date:** [January 14, 2019, 4:59am UTC](https://root-forum.cern.ch/t/errors-in-compiling-after-switching-to-root-6-14-06/32261/3 "2019-01-14T04:59:29Z")

</div>

Dear Sir

Thank you for your reply. Actually I tried the same configuration on different Os like CentOs 7.0 ppc64le and CentOs-7.0 ppc64be. There this program executes properly with the output files what I wanted to generate. The only problem I face on Ubuntu 16.04 LTS (ppc64le).

Thanks again  
&  
Kind regards

Anuj
