Skip Menu |

This queue is for tickets about the Hash-SharedMem CPAN distribution.

Report information
The Basics
Id: 117255
Status: resolved
Priority: 0/
Queue: Hash-SharedMem

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.004
Fixed in: (no value)



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
Fixed in Hash-SharedMem-0.005, just uploaded to CPAN.