> Le 13 févr. 2018 à 15:15, Szabolcs Nagy a écrit : > > * Dmitry Golovin [2018-02-13 15:34:34 +0200]: >> I'm trying to compile compiler-rt with musl and it used to be fine, but I can't succeed with recent versions of compiler-rt. >> >> The compilation fails because of the lack of real_shmctl while musl clearly has shmctl: http://git.musl-libc.org/cgit/musl/tree/src/ipc/shmctl.c >> >> Here is the complete output: >> >> llvm/projects/compiler-rt/lib/msan/msan_interceptors.cc:1446:15: error: no member named 'real_shmctl' in namespace '__interception'; did you mean 'real_ioctl'? >> int res = REAL(shmctl)(shmid, shmctl_ipc_stat, &ds); >> ^~~~~~~~~~~~ > > there should be a > > DECLARE_REAL(int, shmctl, int shmid, int cmd, void *buf) > > in that file which defines __interception::real_shmctl. > The DECLARE_REAL was removed in https://reviews.llvm.org/D40766 . Though I didn't understand why.