Skip to content

Instantly share code, notes, and snippets.

@perigrin
Created August 5, 2016 21:27
Show Gist options
  • Save perigrin/71635c101edb5a28173a1a0f2545d53a to your computer and use it in GitHub Desktop.
Save perigrin/71635c101edb5a28173a1a0f2545d53a to your computer and use it in GitHub Desktop.
Running Mkbootstrap for Coro::State ()
chmod 644 "State.bs"
"/usr/bin/perl" "/usr/share/perl5/core_perl/ExtUtils/xsubpp" -typemap "/usr/share/perl5/core_perl/ExtUtils/typemap" -typemap "typemap" State.xs > State.xsc && mv State.xsc State.c
Warning: Aliases 'is_zombie' and 'is_destroyed' have identical values in State.xs, line 3852
cc -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DVERSION=\"6.511\" -DXS_VERSION=\"6.511\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" -DCORO_ASM -DCORO_STACKSIZE=16384 -DCORO_GUARDPAGES=4 -DCORO_JIT=1 State.c
In file included from /usr/lib/perl5/core_perl/CORE/perl.h:5554:0,
from State.xs:12:
State.xs: In function ‘runops_trace’:
State.xs:1415:91: error: ‘struct block_sub’ has no member named ‘argarray’; did you mean ‘savearray’?
PUSHs (CxHASARGS (cx) ? sv_2mortal (newRV_inc ((SV *)cx->blk_sub.argarray)) : &PL_sv_undef);
^
/usr/lib/perl5/core_perl/CORE/pp.h:451:28: note: in definition of macro ‘PUSHs’
#define PUSHs(s) (*++sp = (s))
^
State.xs:1415:51: note: in expansion of macro ‘sv_2mortal’
PUSHs (CxHASARGS (cx) ? sv_2mortal (newRV_inc ((SV *)cx->blk_sub.argarray)) : &PL_sv_undef);
^~~~~~~~~~
/usr/lib/perl5/core_perl/CORE/sv.h:1970:23: note: in expansion of macro ‘newRV’
#define newRV_inc(sv) newRV(sv)
^~~~~
State.xs:1415:63: note: in expansion of macro ‘newRV_inc’
PUSHs (CxHASARGS (cx) ? sv_2mortal (newRV_inc ((SV *)cx->blk_sub.argarray)) : &PL_sv_undef);
^~~~~~~~~
make[1]: *** [Makefile:405: State.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment