maintainer-feedback requested: [Bug 210837] lang/perl5.22 (and related?): ext/re/re_exec.c has long long format matched up with long argument
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jul 5 07:39:03 UTC 2016
Mark Millard <markmi at dsl-only.net> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to perl at FreeBSD.org:
Bug 210837: lang/perl5.22 (and related?): ext/re/re_exec.c has long long format
matched up with long argument
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210837
--- Description ---
ext/re/re_exec.c has Perl_re_intuit_start(. . .) code that looks like:
DEBUG_EXECUTE_r(PerlIO_printf(Perl_debug_log,
" Found /%s^%s/m, rescanning for anchored from offset %ld
(rx_origin now %"IVdf")...\n",
PL_colors[0], PL_colors[1],
(long)(rx_origin - strbeg + prog->anchored_offset),
(long)(rx_origin - strbeg)
));
but the IVdf vs. (long)(rx_origin - strbeg) do not match types. Other example
code around seems to have (IV) for the cast when IVdf is in use.
The compiler doing the build [targeting armv6 (with -mcpu=cortex-a7)] reported
the problem.
More information about the freebsd-perl
mailing list