laziness, impatience, and hubris | |
PerlMonks |
Re: XS.c: loadable library and perl binaries are mismatched (got handshake key 0xc100000, needed 0xc180000)by bulk88 (Priest) |
on Aug 03, 2020 at 20:29 UTC ( [id://11120267]=note: print w/replies, xml ) | Need Help?? |
I wrote that binary mismatch code. Since its 0xFFFF0000 region that is the problem I know the size of the interp struct is not the same between the XS lib and perl interp binary.. The high digits come from, config.h and -D flags passed to gcc. Sometimes various makefile.pl are dumb and do $CCFLAGS = '-DMY_ENHANCED_MODE'; instead of $CCFLAGS = $CCFLAGS.' -DMY_ENHANCED_MODE'; and that error happens if you do long double, or 64 bit stat or 64 bit time or 64 bit who knows what OS API struct special build flag to Configure and that non-default -D is lost between Makefile.PL and command line args to GCC.
In Section
Seekers of Perl Wisdom
|
|