Home | News | Documentation | Download

ROOT v6-06-04 on Ubuntu 16.04

Here’s my “report” from building ROOT v6-06-04 on Ubuntu 16.04 LTS / x86_64 with gcc 5.3.1 (5.3.1-14ubuntu2.1 20160413) and cmake 3.5.1.

ROOT 6 still cannot stand gcc 5.3.1 so, one needs to set: -DCMAKE_CXX_FLAGS="-D_GLIBCXX_USE_CXX11_ABI=0" which immediately enforces (at the least): -Ddavix="OFF" -Dr="OFF" -Dpythia8="OFF"

Cmake based configurator does not find the installed “iODBC” and one needs to manually set: -DODBC_INCLUDE_DIR="/usr/include/iodbc"

Cmake based configurator does not find the installed “gfal2” and one needs to manually set: -DGFAL_INCLUDE_DIR="/usr/include/gfal2" but then the compilation dies with an error: In file included from /usr/include/gfal2/gfal_api.h:33:0, from /opt/ROOT/build/root-6.06.04/io/gfal/src/TGFALFile.cxx:51: /usr/include/gfal2/global/gfal_global.h:29:18: fatal error: glib.h: No such file or directory compilation terminated. io/gfal/CMakeFiles/GFAL.dir/build.make:99: recipe for target 'io/gfal/CMakeFiles/GFAL.dir/src/TGFALFile.cxx.o' failed make[2]: *** [io/gfal/CMakeFiles/GFAL.dir/src/TGFALFile.cxx.o] Error 1 CMakeFiles/Makefile2:15806: recipe for target 'io/gfal/CMakeFiles/GFAL.dir/all' failed make[1]: *** [io/gfal/CMakeFiles/GFAL.dir/all] Error 2 so, in the end, one needs to enforce: -Dgfal="OFF" Note: the “missing” (?) file is there: /usr/include/glib-2.0/glib.h

The resulting binaries “mostly” work.
The GL (OpenGL) tutorials do NOT work at all, however.
I tried with and without: -Dbuiltin_ftgl="OFF" -Dbuiltin_glew="OFF" and in both cases a canvas is opened but it remains completely white and ROOT hangs … it does not respond to “Ctrl-C”, one needs to “Ctrl-Z” it and then “kill %1”.
Occasionally, instead of the above behaviour, I get: [...]$ root glbox.C root [0] Processing glbox.C... *** Error in `/opt/ROOT/v6-06-04/bin/root.exe': corrupted double-linked list: 0x00000000030f9440 *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x77725)[0x7f82b9d2c725] /lib/x86_64-linux-gnu/libc.so.6(+0x7e838)[0x7f82b9d33838] /lib/x86_64-linux-gnu/libc.so.6(+0x801e8)[0x7f82b9d351e8] /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f82b9d38abc] /usr/lib/x86_64-linux-gnu/libLLVM-3.8.so.1(_ZN4llvm16X86TargetMachineD1Ev+0x1f1)[0x7f82a4a87ee1] /usr/lib/x86_64-linux-gnu/libLLVM-3.8.so.1(_ZN4llvm16X86TargetMachineD0Ev+0x9)[0x7f82a4a88229] /usr/lib/x86_64-linux-gnu/libLLVM-3.8.so.1(_ZN4llvm5MCJITD1Ev+0x567)[0x7f82a427bd87] /usr/lib/x86_64-linux-gnu/libLLVM-3.8.so.1(_ZN4llvm5MCJITD0Ev+0x9)[0x7f82a427be59] /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x412f60)[0x7f82a66f7f60] /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x6b0a34)[0x7f82a6995a34] /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x6a9150)[0x7f82a698e150] /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x6950f6)[0x7f82a697a0f6] /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x210e77)[0x7f82a64f5e77] /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x1d9da4)[0x7f82a64beda4] /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x1bd7ef)[0x7f82a64a27ef] /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x1bdde6)[0x7f82a64a2de6] /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x1be373)[0x7f82a64a3373] /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x1c572f)[0x7f82a64aa72f] /opt/ROOT/v6-06-04/lib/libRGL.so.6.06.04(_ZN3Rgl3Pad13FillAttribSetC2ERKNS0_17PolygonStippleSetEb+0xe6)[0x7f82aa3e6b66] /opt/ROOT/v6-06-04/lib/libRGL.so.6.06.04(_ZN13TGLPadPainter7DrawBoxEddddN18TVirtualPadPainter8EBoxModeE+0x12b)[0x7f82aa393d0b] /opt/ROOT/v6-06-04/lib/libGpad.so.6.06.04(_ZN4TPad8PaintBoxEddddPKc+0x532)[0x7f82ad5ba362] /opt/ROOT/v6-06-04/lib/libGraf.so.6.06.04(_ZN4TBox8PaintBoxEddddPKc+0xb3)[0x7f82ae61d833] /opt/ROOT/v6-06-04/lib/libGraf.so.6.06.04(_ZN5TPave9PaintPaveEddddiPKc+0x124)[0x7f82ae645464] /opt/ROOT/v6-06-04/lib/libGraf.so.6.06.04(_ZN10TPaveLabel14PaintPaveLabelEddddPKcS1_+0x7c)[0x7f82ae66b02c] /opt/ROOT/v6-06-04/lib/libGpad.so.6.06.04(_ZN4TPad5PaintEPKc+0x11c)[0x7f82ad5c689c] /opt/ROOT/v6-06-04/lib/libGpad.so.6.06.04(_ZN7TCanvas5FlushEv+0xae)[0x7f82ad58f28e] /opt/ROOT/v6-06-04/lib/libGpad.so.6.06.04(_ZN7TCanvas6UpdateEv+0x108)[0x7f82ad58f4c8] /opt/ROOT/v6-06-04/lib/libCling.so(_ZN6TCling17UpdateAllCanvasesEv+0x39)[0x7f82b68cfbd9] /opt/ROOT/v6-06-04/lib/libCling.so(_ZN6TCling11ProcessLineEPKcPN12TInterpreter10EErrorCodeE+0xf3)[0x7f82b68d5333] /opt/ROOT/v6-06-04/lib/libCling.so(_ZN6TCling16ProcessLineSynchEPKcPN12TInterpreter10EErrorCodeE+0x87)[0x7f82b68c5a27] /opt/ROOT/v6-06-04/lib/libRint.so.6(_ZN5TRint3RunEb+0x285)[0x7f82bac15cd5] /opt/ROOT/v6-06-04/bin/root.exe(main+0x4c)[0x40107c] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f82b9cd5830] /opt/ROOT/v6-06-04/bin/root.exe(_start+0x29)[0x4010d9] ======= Memory map: ======== 00400000-00402000 r-xp 00000000 08:01 4743288 /opt/ROOT/v6-06-04/bin/root.exe 00601000-00602000 r--p 00001000 08:01 4743288 /opt/ROOT/v6-06-04/bin/root.exe 00602000-00603000 rw-p 00002000 08:01 4743288 /opt/ROOT/v6-06-04/bin/root.exe 0112f000-0328a000 rw-p 00000000 00:00 0 [heap] 7f8294000000-7f8294021000 rw-p 00000000 00:00 0 7f8294021000-7f8298000000 ---p 00000000 00:00 0 7f829a5b8000-7f829a841000 rw-p 00000000 00:00 0 7f829a841000-7f829a878000 r-xp 00000000 08:01 796106 /usr/lib/x86_64-linux-gnu/libtxc_dxtn_s2tc.so.0.0.0 7f829a878000-7f829aa77000 ---p 00037000 08:01 796106 /usr/lib/x86_64-linux-gnu/libtxc_dxtn_s2tc.so.0.0.0 7f829aa77000-7f829aa78000 r--p 00036000 08:01 796106 /usr/lib/x86_64-linux-gnu/libtxc_dxtn_s2tc.so.0.0.0 7f829aa78000-7f829aa79000 rw-p 00037000 08:01 796106 /usr/lib/x86_64-linux-gnu/libtxc_dxtn_s2tc.so.0.0.0 7f829aa79000-7f829aa7a000 ---p 00000000 00:00 0 7f829aa7a000-7f829b27a000 rw-p 00000000 00:00 0 7f829b27a000-7f829b27b000 ---p 00000000 00:00 0 7f829b27b000-7f829ba7b000 rw-p 00000000 00:00 0 7f829ba7b000-7f829ba7c000 ---p 00000000 00:00 0 7f829ba7c000-7f829c27c000 rw-p 00000000 00:00 0 7f829c27c000-7f829c27d000 ---p 00000000 00:00 0 7f829c27d000-7f829ca7d000 rw-p 00000000 00:00 0 7f829ca7d000-7f829ca7e000 ---p 00000000 00:00 0 7f829ca7e000-7f829d27e000 rw-p 00000000 00:00 0 7f829d27e000-7f829d27f000 ---p 00000000 00:00 0 7f829d27f000-7f829da7f000 rw-p 00000000 00:00 0 7f829da7f000-7f829da80000 ---p 00000000 00:00 0 7f829da80000-7f829e280000 rw-p 00000000 00:00 0 7f829e280000-7f829e281000 ---p 00000000 00:00 0 7f829e281000-7f829ea81000 rw-p 00000000 00:00 0 7f829ea81000-7f829ea82000 ---p 00000000 00:00 0 7f829ea82000-7f829f282000 rw-p 00000000 00:00 0 7f829f282000-7f829f283000 ---p 00000000 00:00 0 7f829f283000-7f829fa83000 rw-p 00000000 00:00 0 7f829fa83000-7f829fa84000 ---p 00000000 00:00 0 7f829fa84000-7f82a0284000 rw-p 00000000 00:00 0 7f82a0284000-7f82a0285000 ---p 00000000 00:00 0 7f82a0285000-7f82a0a85000 rw-p 00000000 00:00 0 7f82a0a85000-7f82a0a86000 ---p 00000000 00:00 0 7f82a0a86000-7f82a1286000 rw-p 00000000 00:00 0 7f82a1286000-7f82a1287000 ---p 00000000 00:00 0 7f82a1287000-7f82a1a87000 rw-p 00000000 00:00 0 7f82a1a87000-7f82a1a88000 ---p 00000000 00:00 0 7f82a1a88000-7f82a2288000 rw-p 00000000 00:00 0 7f82a2288000-7f82a2289000 ---p 00000000 00:00 0 7f82a2289000-7f82a2a89000 rw-p 00000000 00:00 0 7f82a2a89000-7f82a2a9c000 r-xp 00000000 08:01 4068120 /lib/x86_64-linux-gnu/libbsd.so.0.8.2 7f82a2a9c000-7f82a2c9b000 ---p 00013000 08:01 4068120 /lib/x86_64-linux-gnu/libbsd.so.0.8.2 7f82a2c9b000-7f82a2c9c000 r--p 00012000 08:01 4068120 /lib/x86_64-linux-gnu/libbsd.so.0.8.2 7f82a2c9c000-7f82a2c9d000 rw-p 00013000 08:01 4068120 /lib/x86_64-linux-gnu/libbsd.so.0.8.2 7f82a2c9d000-7f82a2c9e000 rw-p 00000000 00:00 0 7f82a2c9e000-7f82a2ccf000 r-xp 00000000 08:01 795255 /usr/lib/x86_64-linux-gnu/libedit.so.2.0.53 7f82a2ccf000-7f82a2ecf000 ---p 00031000 08:01 795255 /usr/lib/x86_64-linux-gnu/libedit.so.2.0.53 7f82a2ecf000-7f82a2ed1000 r--p 00031000 08:01 795255 /usr/lib/x86_64-linux-gnu/libedit.so.2.0.53 7f82a2ed1000-7f82a2ed2000 rw-p 00033000 08:01 795255 /usr/lib/x86_64-linux-gnu/libedit.so.2.0.53 7f82a2ed2000-7f82a2ed6000 rw-p 00000000 00:00 0 7f82a2ed6000-7f82a2edd000 r-xp 00000000 08:01 795303 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4 7f82a2edd000-7f82a30dc000 ---p 00007000 08:01 795303 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4 7f82a30dc000-7f82a30dd000 r--p 00006000 08:01 795303 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4 7f82a30dd000-7f82a30de000 rw-p 00007000 08:01 795303 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4 7f82a30de000-7f82a55d0000 r-xp 00000000 08:01 786896 /usr/lib/x86_64-linux-gnu/libLLVM-3.8.so.1 7f82a55d0000-7f82a57d0000 ---p 024f2000 08:01 786896 /usr/lib/x86_64-linux-gnu/libLLVM-3.8.so.1 7f82a57d0000-7f82a5a85000 r--p 024f2000 08:01 786896 /usr/lib/x86_64-linux-gnu/libLLVM-3.8.so.1 7f82a5a85000-7f82a5a87000 rw-p 027a7000 08:01 786896 /usr/lib/x86_64-linux-gnu/libLLVM-3.8.so.1 7f82a5a87000-7f82a5ab1000 rw-p 00000000 00:00 0 7f82a5ab1000-7f82a5ac8000 r-xp 00000000 08:01 795260 /usr/lib/x86_64-linux-gnu/libelf-0.165.so 7f82a5ac8000-7f82a5cc7000 ---p 00017000 08:01 795260 /usr/lib/x86_64-linux-gnu/libelf-0.165.so 7f82a5cc7000-7f82a5cc8000 r--p 00016000 08:01 795260 /usr/lib/x86_64-linux-gnu/libelf-0.165.so 7f82a5cc8000-7f82a5cc9000 rw-p 00017000 08:01 795260 /usr/lib/x86_64-linux-gnu/libelf-0.165.so 7f82a5cc9000-7f82a5cd0000 r-xp 00000000 08:01 791883 /usr/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1.0.0 7f82a5cd0000-7f82a5ecf000 ---p 00007000 08:01 791883 /usr/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1.0.0 7f82a5ecf000-7f82a5ed0000 r--p 00006000 08:01 791883 /usr/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1.0.0 7f82a5ed0000-7f82a5ed1000 rw-p 00007000 08:01 791883 /usr/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1.0.0 7f82a5ed1000-7f82a5edc000 r-xp 00000000 08:01 791890 /usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1.0.1 7f82a5edc000-7f82a60db000 ---p 0000b000 08:01 791890 /usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1.0.1 7f82a60db000-7f82a60dc000 r--p 0000a000 08:01 791890 /usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1.0.1 7f82a60dc000-7f82a60dd000 rw-p 0000b000 08:01 791890 /usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1.0.1 7f82a60dd000-7f82a60e4000 r-xp 00000000 08:01 791887 /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0 7f82a60e4000-7f82a62e3000 ---p 00007000 08:01 791887 /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0 7f82a62e3000-7f82a62e4000 r--p 00006000 08:01 791887 /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0 7f82a62e4000-7f82a62e5000 rw-p 00007000 08:01 791887 /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0 7f82a62e5000-7f82a6bac000 r-xp 00000000 08:01 1050909 /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so 7f82a6bac000-7f82a6dab000 ---p 008c7000 08:01 1050909 /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so 7f82a6dab000-7f82a6e1f000 r--p 008c6000 08:01 1050909 /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so 7f82a6e1f000-7f82a6e2e000 rw-p 0093a000 08:01 1050909 /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so 7f82a6e2e000-7f82a7024000 rw-p 00000000 00:00 0 7f82a7024000-7f82a7253000 r-xp 00000000 08:01 4064551 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 7f82a7253000-7f82a7452000 ---p 0022f000 08:01 4064551 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 7f82a7452000-7f82a746e000 r--p 0022e000 08:01 4064551 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 7f82a746e000-7f82a747b000 rw-p 0024a000 08:01 4064551 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 7f82a747b000-7f82a747f000 rw-p 00000000 00:00 0 7f82a747f000-7f82a74de000 r-xp 00000000 08:01 4064552 /lib/x86_64-linux-gnu/libssl.so.1.0.0 7f82a74de000-7f82a76dd000 ---p 0005f000 08:01 4064552 /lib/x86_64-linux-gnu/libssl.so.1.0.0 7f82a76dd000-7f82a76e1000 r--p 0005e000 08:01 4064552 /lib/x86_64-linux-gnu/libssl.so.1.0.0 7f82a76e1000-7f82a76e8000 rw-p 00062000 08:01 4064552 /lib/x86_64-linux-gnu/libssl.so.1.0.0 7f82a76e8000-7f82a779b000 r-xp 00000000 08:01 5638760 /opt/ROOT/v6-06-04/lib/libNet.so.6.06.04 7f82a779b000-7f82a799b000 ---p 000b3000 08:01 5638760 /opt/ROOT/v6-06-04/lib/libNet.so.6.06.04 7f82a799b000-7f82a79a6000 r--p 000b3000 08:01 5638760 /opt/ROOT/v6-06-04/lib/libNet.so.6.06.04 7f82a79a6000-7f82a79a8000 rw-p 000be000 08:01 5638760 /opt/ROOT/v6-06-04/lib/libNet.so.6.06.04 7f82a79a8000-7f82a79af000 rw-p 00000000 00:00 0 7f82a79af000-7f82a79bd000 r-xp 00000000 08:01 786543 /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0 7f82a79bd000-7f82a7bbc000 ---p 0000e000 08:01 786543 /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0 7f82a7bbc000-7f82a7bbd000 r--p 0000d000 08:01 786543 /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0 7f82a7bbd000-7f82a7bbe000 rw-p 0000e000 08:01 786543 /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0 7f82a7bbe000-7f82a7bc3000 r-xp 00000000 08:01 794970 /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0 7f82a7bc3000-7f82a7dc2000 ---p 00005000 08:01 794970 /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0 7f82a7dc2000-7f82a7dc3000 r--p 00004000 08:01 794970 /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0 7f82a7dc3000-7f82a7dc4000 rw-p 00005000 08:01 794970 /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0 7f82a7dc4000-7f82a7dc8000 r-xp 00000000 08:01 796267 /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0 7f82a7dc8000-7f82a7fc7000 ---p 00004000 08:01 796267 /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0 7f82a7fc7000-7f82a7fc8000 r--p 00003000 08:01 796267 /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0 7f82a7fc8000-7f82a7fc9000 rw-p 00004000 08:01 796267 /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0 7f82a7fc9000-7f82a7fe0000 r-xp 00000000 08:01 796271 /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0 7f82a7fe0000-7f82a81df000 ---p 00017000 08:01 796271 /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0 7f82a81df000-7f82a81e1000 r--p 00016000 08:01 796271 /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0 7f82a81e1000-7f82a81e2000 rw-p 00018000 08:01 796271 /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0 7f82a81e2000-7f82a81e3000 r-xp 00000000 08:01 794915 /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0 7f82a81e3000-7f82a83e2000 ---p 00001000 08:01 794915 /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0 7f82a83e2000-7f82a83e3000 r--p 00000000 08:01 794915 /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0 7f82a83e3000-7f82a83e4000 rw-p 00001000 08:01 794915 /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0 7f82a83e4000-7f82a83e6000 r-xp 00000000 08:01 794930 /usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0 7f82a83e6000-7f82a85e5000 ---p 00002000 08:01 794930 /usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0 7f82a85e5000-7f82a85e6000 r--p 00001000 08:01 794930 /usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0 7f82a85e6000-7f82a85e7000 rw-p 00002000 08:01 794930 /usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0 7f82a85e7000-7f82a8610000 r-xp 00000000 08:01 795426 /usr/lib/x86_64-linux-gnu/libglapi.so.0.0.0 7f82a8610000-7f82a880f000 ---p 00029000 08:01 795426 /usr/lib/x86_64-linux-gnu/libglapi.so.0.0.0 7f82a880f000-7f82a8813000 r--p 00028000 08:01 795426 /usr/lib/x86_64-linux-gnu/libglapi.so.0.0.0 7f82a8813000-7f82a8814000 rw-p 0002c000 08:01 795426 /usr/lib/x86_64-linux-gnu/libglapi.so.0.0.0 7f82a8814000-7f82a8815000 rw-p 00000000 00:00 0 7f82a8815000-7f82a8816000 r-xp 00000000 08:01 796311 /usr/lib/x86_64-linux-gnu/libxshmfence.so.1.0.0 7f82a8816000-7f82a8a16000 ---p 00001000 08:01 796311 /usr/lib/x86_64-linux-gnu/libxshmfence.so.1.0.0 7f82a8a16000-7f82a8a17000 r--p 00001000 08:01 796311 /usr/lib/x86_64-linux-gnu/libxshmfence.so.1.0.0 7f82a8a17000-7f82a8a18000 rw-p 00002000 08:01 796311 /usr/lib/x86_64-linux-gnu/libxshmfence.so.1.0.0 7f82a8a18000-7f82a8a1d000 r-xp 00000000 08:01 796291 /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0 7f82a8a1d000-7f82a8c1d000 ---p 00005000 08:01 796291 /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0 7f82a8c1d000-7f82a8c1e000 r--p 00005000 08:01 796291 /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0 7f82a8c1e000-7f82a8c1f000 rw-p 00006000 08:01 796291 /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0 7f82a8c1f000-7f82a8c21000 r-xp 00000000 08:01 796279 /usr/lib/x86_64-linux-gnu/libxcb-present.so.0.0.0 7f82a8c21000-7f82a8e20000 ---p 00002000 08:01 796279 /usr/lib/x86_64-linux-gnu/libxcb-present.so.0.0.0 7f82a8e20000-7f82a8e21000 r--p 00001000 08:01 796279 /usr/lib/x86_64-linux-gnu/libxcb-present.so.0.0.0 7f82a8e21000-7f82a8e22000 rw-p 00002000 08:01 796279 /usr/lib/x86_64-linux-gnu/libxcb-present.so.0.0.0 7f82a8e22000-7f82a8e24000 r-xp 00000000 08:01 796269 /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0.0.0 7f82a8e24000-7f82a9023000 ---p 00002000 08:01 796269 /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0.0.0 7f82a9023000-7f82a9024000 r--p 00001000 08:01 796269 /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0.0.0 7f82a9024000-7f82a9025000 rw-p 00002000 08:01 796269 /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0.0.0 7f82a9025000-7f82a90af000 r-xp 00000000 08:01 5638852 /opt/ROOT/v6-06-04/lib/libGraf3d.so.6.06.04 7f82a90af000-7f82a92af000 ---p 0008a000 08:01 5638852 /opt/ROOT/v6-06-04/lib/libGraf3d.so.6.06.04 7f82a92af000-7f82a92b8000 r--p 0008a000 08:01 5638852 /opt/ROOT/v6-06-04/lib/libGraf3d.so.6.06.04 7f82a92b8000-7f82a92ba000 rw-p 00093000 08:01 5638852 /opt/ROOT/v6-06-04/lib/libGraf3d.so.6.06.04 7f82a92ba000-7f82a92be000 rw-p 00000000 00:00 0 7f82a92be000-7f82a93ee000 r-xp 00000000 08:01 5638720 /opt/ROOT/v6-06-04/lib/libTree.so.6.06.04 7f82a93ee000-7f82a95ee000 ---p 00130000 08:01 5638720 /opt/ROOT/v6-06-04/lib/libTree.so.6.06.04 7f82a95ee000-7f82a95fc000 r--p 00130000 08:01 5638720 /opt/ROOT/v6-06-04/lib/libTree.so.6.06.04 7f82a95fc000-7f82a95ff000 rw-p 0013e000 08:01 5638720 /opt/ROOT/v6-06-04/lib/libTree.so.6.06.04 7f82a95ff000-7f82a9603000 rw-p 00000000 00:00 0 7f82a9603000-7f82a9718000 r-xp 00000000 08:01 5638892 /opt/ROOT/v6-06-04/lib/libGed.so.6.06.04 7f82a9718000-7f82a9918000 ---p 00115000 08:01 5638892 /opt/ROOT/v6-06-04/lib/libGed.so.6.06.04 7f82a9918000-7f82a9928000 r--p 00115000 08:01 5638892 /opt/ROOT/v6-06-04/lib/libGed.so.6.06.04 7f82a9928000-7f82a992a000 rw-p 00125000 08:01 5638892 /opt/ROOT/v6-06-04/lib/libGed.so.6.06.04 7f82a992a000-7f82a992d000 rw-p 00000000 00:00 0 7f82a992d000-7f82a993f000 r-xp 00000000 08:01 5638877 /opt/ROOT/v6-06-04/lib/libFTGL.so.6.06.04 7f82a993f000-7f82a9b3e000 ---p 00012000 08:01 5638877 /opt/ROOT/v6-06-04/lib/libFTGL.so.6.06.04 7f82a9b3e000-7f82a9b3f000 r--p 00011000 08:01 5638877 /opt/ROOT/v6-06-04/lib/libFTGL.so.6.06.04 7f82a9b3f000-7f82a9b40000 rw-p 00012000 08:01 5638877 /opt/ROOT/v6-06-04/lib/libFTGL.so.6.06.04 7f82a9b40000-7f82a9b88000 r-xp 00000000 08:01 5638870 /opt/ROOT/v6-06-04/lib/libGLEW.so.6.06.04 7f82a9b88000-7f82a9d88000 ---p 00048000 08:01 5638870 /opt/ROOT/v6-06-04/lib/libGLEW.so.6.06.04 7f82a9d88000-7f82a9d8c000 r--p 00048000 08:01 5638870 /opt/ROOT/v6-06-04/lib/libGLEW.so.6.06.04 7f82a9d8c000-7f82a9d8d000 rw-p 0004c000 08:01 5638870 /opt/ROOT/v6-06-04/lib/libGLEW.so.6.06.04 7f82a9d8d000-7f82a9d90000 rw-p 00000000 00:00 0 7f82a9d90000-7f82a9dfd000 r-xp 00000000 08:01 1052284 /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2.0 7f82a9dfd000-7f82a9ffc000 ---p 0006d000 08:01 1052284 /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2.0 7f82a9ffc000-7f82a9fff000 r--p 0006c000 08:01 1052284 /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2.0 7f82a9fff000-7f82aa000000 rw-p 0006f000 08:01 1052284 /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2.0 7f82aa000000-7f82aa001000 rw-p 00000000 00:00 0 7f82aa001000-7f82aa06e000 r-xp 00000000 08:01 794779 /usr/lib/x86_64-linux-gnu/libGLU.so.1.3.1 7f82aa06e000-7f82aa26e000 ---p 0006d000 08:01 794779 /usr/lib/x86_64-linux-gnu/libGLU.so.1.3.1 7f82aa26e000-7f82aa26f000 r--p 0006d000 08:01 794779 /usr/lib/x86_64-linux-gnu/libGLU.so.1.3.1 7f82aa26f000-7f82aa270000 rw-p 0006e000 08:01 794779 /usr/lib/x86_64-linux-gnu/libGLU.so.1.3.1 7f82aa291000-7f82aa292000 rw-p 00000000 00:00 0 7f82aa292000-7f82aa299000 r-xp 00000000 00:00 0 7f82aa299000-7f82aa4b4000 r-xp 00000000 08:01 5638867 /opt/ROOT/v6-06-04/lib/libRGL.so.6.06.04 7f82aa4b4000-7f82aa6b3000 ---p 0021b000 08:01 5638867 /opt/ROOT/v6-06-04/lib/libRGL.so.6.06.04 7f82aa6b3000-7f82aa6c3000 r--p 0021a000 08:01 5638867 /opt/ROOT/v6-06-04/lib/libRGL.so.6.06.04 7f82aa6c3000-7f82aa6c8000 rw-p 0022a000 08:01 5638867 /opt/ROOT/v6-06-04/lib/libRGL.so.6.06.04 7f82aa6c8000-7f82aa6d2000 rw-p 00000000 00:00 0 7f82aa6d2000-7f82aa6dd000 r-xp 00000000 08:01 795650 /usr/lib/x86_64-linux-gnu/libjbig.so.0 7f82aa6dd000-7f82aa8dc000 ---p 0000b000 08:01 795650 /usr/lib/x86_64-linux-gnu/libjbig.so.0 7f82aa8dc000-7f82aa8dd000 r--p 0000a000 08:01 795650 /usr/lib/x86_64-linux-gnu/libjbig.so.0 7f82aa8dd000-7f82aa8e0000 rw-p 0000b000 08:01 795650 /usr/lib/x86_64-linux-gnu/libjbig.so.0 7f82aa8e0000-7f82aa937000 r-xp 00000000 08:01 795654 /usr/lib/x86_64-linux-gnu/libjpeg.so.8.0.2 7f82aa937000-7f82aab37000 ---p 00057000 08:01 795654 /usr/lib/x86_64-linux-gnu/libjpeg.so.8.0.2 7f82aab37000-7f82aab38000 r--p 00057000 08:01 795654 /usr/lib/x86_64-linux-gnu/libjpeg.so.8.0.2 7f82aab38000-7f82aab39000 rw-p 00058000 08:01 795654 /usr/lib/x86_64-linux-gnu/libjpeg.so.8.0.2 7f82aab39000-7f82aaba8000 r-xp 00000000 08:01 796088 /usr/lib/x86_64-linux-gnu/libtiff.so.5.2.4 7f82aaba8000-7f82aada8000 ---p 0006f000 08:01 796088 /usr/lib/x86_64-linux-gnu/libtiff.so.5.2.4 7f82aada8000-7f82aada9000 r--p 0006f000 08:01 796088 /usr/lib/x86_64-linux-gnu/libtiff.so.5.2.4 7f82aada9000-7f82aadac000 rw-p 00070000 08:01 796088 /usr/lib/x86_64-linux-gnu/libtiff.so.5.2.4 7f82aadac000-7f82aadd5000 r-xp 00000000 00:00 0 7f82aadd5000-7f82aae83000 r-xp 00000000 08:01 5638827 /opt/ROOT/v6-06-04/lib/libASImage.so.6.06.04 7f82aae83000-7f82ab082000 ---p 000ae000 08:01 5638827 /opt/ROOT/v6-06-04/lib/libASImage.so.6.06.04 7f82ab082000-7f82ab085000 r--p 000ad000 08:01 5638827 /opt/ROOT/v6-06-04/lib/libASImage.so.6.06.04 7f82ab085000-7f82ab088000 rw-p 000b0000 08:01 5638827 /opt/ROOT/v6-06-04/lib/libASImage.so.6.06.04 7f82ab088000-7f82ab096000 rw-p 00000000 00:00 0 7f82ab096000-7f82ab097000 r-xp 00000000 00:00 0 7f82ab097000-7f82ab0a7000 r--p 00000000 08:01 1579379 /usr/share/texlive/texmf-dist/fonts/type1/adobe/courier/pcrr8a.pfb 7f82ab0a7000-7f82ab0b9000 r--p 00000000 08:01 1707326 /usr/share/fonts/type1/gsfonts/n019004l.pfb 7f82ab0b9000-7f82ab0cd000 r--p 00000000 08:01 1707323 /usr/share/fonts/type1/gsfonts/n019003l.pfb 7f82ab0cd000-7f82ab0d2000 r-xp 00000000 08:01 794936 /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0 7f82ab0d2000-7f82ab2d1000 ---p 00005000 08:01 794936 /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0 7f82ab2d1000-7f82ab2d2000 r--p 00004000 08:01 794936 /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0 7f82ab2d2000-7f82ab2d3000 rw-p 00005000 08:01 794936 /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0 7f82ab2d3000-7f82ab2dc000 r-xp 00000000 08:01 794928 /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2 7f82ab2dc000-7f82ab4db000 ---p 00009000 08:01 794928 /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2 7f82ab4db000-7f82ab4dc000 r--p 00008000 08:01 794928 /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2 7f82ab4dc000-7f82ab4dd000 rw-p 00009000 08:01 794928 /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2 [...]$

Please fix the reported problems.

An alternative way (workaround in the meantime) would be to downgrade gcc:

[quote=“ferhue”]An alternative way (workaround in the meantime) would be to downgrade gcc:[/quote] I’m not that stupid. :mrgreen:

Hi,

Regarding the OpenGL issue: dri/swrast_dri.so points to Freedesktop.org - they had a problem with not hiding llvm’s symbols, polluting everything that depends on llvm. For now there are two ways out:

  • hope that they fixed it in a newer version (from what I heard, that was their plan)
  • use a different graphics driver.

I know, none of that is very nice, but I don’t know what we can do to fix this on our side… It’d not even cling’s JIT that is suffering from it (and where we could tweak the symbol resolution sequence) - this is the dynamic linker being confused by Freedesktop.org’s use of llvm. There are several report out there regarding this exact same issue…

For the rest I’ll send a note to Pere who maintains our CMake system.

Cheers, Axel.

Dear Pepe,

Thanks for the report. I have committed some fixes for ODBC and GFAL build problems in 6.06 and master branches. See details at github.com/root-mirror/root/com … 40cc442bac
It is not yet perfect, since it still requires to locate the file glibconfig.h, which is ‘hidden’ in /usr/lib/x86_64-linux-gnu/glib-2.0/include. I do not know of a clean solution within CMake. For the time being I have copied/linked it to /usr/include/glib-2.0

Concerning the problem with running the tutorial glbox.C I can reproduce it. We will investigate.

Pere

What concerns “gfal”, attached is a small file which patches the “io/gfal/src/TGFALFile.cxx” file (note that the same patch allowed me to [url=https://root-forum.cern.ch/t/root-v5-34-00-patches-and-v5-34-36-on-ubuntu-16-04/21326/3 “gfal” in “v5-34-00-patches”[/url] using the “configure” based method).

However, in “cmake” based ROOT 6 configuration, this is still not all that is needed … you need to add “include paths”, as it is currently done in the “configure” script (do not copy nor link “glib.h”, just add the proper “include paths”): # check if we have pkg-config glib2incdir= if `$cwhich pkg-config > /dev/null 2>&1` ; then if pkg-config --exists glib-2.0 ; then glib2incdir=`pkg-config --cflags-only-I glib-2.0 | sed 's/-I//g'` fi fi Unfortunately, it seems that “cmake” based configurator does not provide anything like “–with-glib2-incdir=…”.
I tried to run the “cmake” based configurator adding: -Dglib2incdir="`pkg-config --cflags-only-I glib-2.0 | sed 's/-I//g'`" and: -DGLIB2INCDIR="`pkg-config --cflags-only-I glib-2.0 | sed 's/-I//g'`" but it didn’t work.
One actually needs to set “@glib2incdir@” which is used by “config/Makefile.in” and then “config/Makefile.config”, so I assume that one needs to add an appropriate line in the “cmake/modules/RootConfiguration.cmake” file … right after all existing “gfal” related entries, something like: set(glib2incdir ${GLIB2INCDIR})

What concerns, llvm/clang based OpenGL drivers … to the best of my knowledge … this was fixed a long time ago in ROOT 6 (all symbols coming from llvm/clang OpenGL were “hidden” in ROOT 6).
root-6.06.04.2016.06.16.17.40.tar.gz (4.04 KB)

I think I need to report another problem (note: I configured it with “-Dcxx14=ON”, if it matters).

It looks like the “-D_GLIBCXX_USE_CXX11_ABI=0” is not “propagated” at all.
It should automatically be present in “root-config --cflags” but it isn’t.

As a result, it seems that none of the “test” executables can be built.
I always get the same errror: c++ -O2 -Wall -fPIC -pthread -std=c++1y -Wno-deprecated-declarations -m64 -I/opt/ROOT/v6-06-04/include -c Event.cxx Generating dictionary EventDict.cxx... rootcling -f EventDict.cxx -c Event.h EventLinkDef.h c++ -O2 -Wall -fPIC -pthread -std=c++1y -Wno-deprecated-declarations -m64 -I/opt/ROOT/v6-06-04/include -c EventDict.cxx c++ -shared -O2 -m64 Event.o EventDict.o -o libEvent.so libEvent.so done c++ -O2 -Wall -fPIC -pthread -std=c++1y -Wno-deprecated-declarations -m64 -I/opt/ROOT/v6-06-04/include -c MainEvent.cxx c++ -O2 -m64 MainEvent.o Event.o EventDict.o -L/opt/ROOT/v6-06-04/lib -lCore -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -pthread -lm -ldl -rdynamic -o Event EventDict.o: In function `(anonymous namespace)::TriggerDictionaryInitialization_EventDict_Impl()': EventDict.cxx:(.text+0xd00): undefined reference to `TROOT::RegisterModule(char const*, char const**, char const**, char const*, char const*, void (*)(), std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std: :allocator<char> >, int>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > > const&, char const**)' collect2: error: ld returned 1 exit status Makefile:396: recipe for target 'Event' failed make: *** [Event] Error 1

I have opened sft.its.cern.ch/jira/browse/ROOT-8231

Thanks for the report, Pepe!

Axel.

I did already fix by defining the macro GFAL2_API to the compilation.

Yes I know. The problem is that calling pkg-config --cflags-only-I glib-2.0 | sed ‘s/-I//g’ will only work for system installations of glib-2.0. In any case, since it seems to be the only way to discover where the file glibconfig.h is located I will implement it to the CMake part.

I have committed a fix to use pkg-config to get glib-2.0 include dirrecoties. I hope this solves the problem of building with gfal2.

See my notes about “GFAL2_API” usage (please fix the “gfal2” related problem): ROOT v5-34-00-patches and v5-34-36 on Ubuntu 16.04

It should be fixed now following your suggestions.

I can confirm that the reported problems (i.e. “odbc”, “gfal”, “opengl”, and the not “propagated” “-D_GLIBCXX_USE_CXX11_ABI=0”) are solved in ROOT 6.06/06 (v6-06-06).
Everything builds smoothly now (on both, Ubuntu 14.04.4 and 16.04 / both x86_64). =D>