plasma-umass / coz

Coz: Causal Profiling
Other
4.03k stars 160 forks source link

Build fails on arch linux #232

Closed Jark5455 closed 2 months ago

Jark5455 commented 3 months ago

Hello, it appears that currently the build fails on arch linux due to an issue with the libelfin library. Currently I have version 0.3 installed, but I am getting this error when building COZ

In file included from /usr/include/libelfin/elf/elf++.hh:9,
                 from inspect.cpp:30:
/usr/include/libelfin/elf/data.hh: In member function 'void elf::Sym<elf::Elf64, Order>::set_binding(elf::stb) const':
/usr/include/libelfin/elf/data.hh:558:22: error: assignment of member 'elf::Sym<elf::Elf64, Order>::info' in read-only object
  558 |                 info = (info & 0xF) | ((unsigned char)v << 4);
      |                 ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [../common.mk:68: obj/inspect.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [common.mk:97: all] Error 1
Jark5455 commented 2 months ago

The issue appears to be with one of the dependencies of coz, "libelfin" which has gone mostly unmaintained.