Buildroot 2016.02 with perl-5.22.1 compiled for i686-linux: Problem on the target: perl -e "msgget(90001, 1);" msgget not implemented at -e line 1. This is a configuration error. SysV-IPC is available on the target. ./configure in the perl directory gives the following: ... Checking for msgctl ... found Checking for msgget ... found Checking for msgrcv ... found Checking for msgsnd ... found Checking for msync ... found Checking for munmap ... found ... Nevertheless, HAS_MSG is not defined in config.h and the message queues are not compiled in. If I manually define HAS_MSG in config.h and do "make", I get a perl executable with msgget that works on my target. But that is not the way to solve this problem.
François Perrad, who takes care of the Perl packaging in Buildroot, has reported the issue upstream: https://github.com/arsv/perl-cross/issues/41. A fix has already been committed in perl-cross upstream, we need to backport it in Buildroot.
This issue has been fixed in perl-cross by commit https://github.com/arsv/perl-cross/commit/c707e92c99c9d468c490bf8aed0df95941da9c5c, which is in perl-cross since version 1.1.2, and Buildroot is currently using perl-cross 1.1.3. Therefore, this bug is now fixed.