Subject: | Compilation error with perl 5.25.x (op_sibling) |
With perl 5.25.4 (for example) compilation fails:
cc -I/opt/perl-5.25.4/lib/5.25.4/x86_64-linux/CORE -DQHAVE_CLOCK_GETTIME=1 -DQHAVE_FDOPENDIR=1 -DQHAVE_FSTATAT=1 -DQHAVE_GETCWD=1 -DQHAVE_GETPAGESIZE=1 -DQHAVE_GETTIMEOFDAY=1 -DQHAVE_LINKAT=1 -DQHAVE_OPENAT=1 -DQHAVE_PATHCONF=1 -DQHAVE_REALPATH=1 -DQHAVE_SYSCONF=1 -DQHAVE_UNLINKAT=1 -DQWITH_TALLY=1 -DVERSION="0.004" -DXS_VERSION="0.004" -fPIC -c -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -o lib/Hash/SharedMem.o lib/Hash/SharedMem.c
lib/Hash/SharedMem.xs: In function âTHX_ck_entersub_args_hsmâ:
lib/Hash/SharedMem.xs:4214:12: error: âOPâ has no member named âop_siblingâ
if(!pushop->op_sibling) pushop = cUNOPx(pushop)->op_first;
^
lib/Hash/SharedMem.xs:4215:21: error: âOPâ has no member named âop_siblingâ
firstargop = pushop->op_sibling;
^
lib/Hash/SharedMem.xs:4216:30: error: âOPâ has no member named âop_siblingâ
for (cvop = firstargop; cvop->op_sibling; cvop = cvop->op_sibling) ;
^
lib/Hash/SharedMem.xs:4216:55: error: âOPâ has no member named âop_siblingâ
for (cvop = firstargop; cvop->op_sibling; cvop = cvop->op_sibling) ;
^
lib/Hash/SharedMem.xs:4219:36: error: âOPâ has no member named âop_siblingâ
lastargop = argop, argop = argop->op_sibling)
^
lib/Hash/SharedMem.xs:4222:8: error: âOPâ has no member named âop_siblingâ
pushop->op_sibling = cvop;
^
lib/Hash/SharedMem.xs:4223:11: error: âOPâ has no member named âop_siblingâ
lastargop->op_sibling = NULL;
^
error building lib/Hash/SharedMem.o from 'lib/Hash/SharedMem.c' at /opt/perl-5.25.4/lib/site_perl/5.25.4/ExtUtils/CBuilder/Base.pm line 174.
See also https://rt.perl.org/Ticket/Display.html?id=128179