[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


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210837

            Bug ID: 210837
           Summary: lang/perl5.22 (and related?): ext/re/re_exec.c has
                    long long format matched up with long argument
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: perl at FreeBSD.org
          Reporter: markmi at dsl-only.net
             Flags: maintainer-feedback?(perl at FreeBSD.org)
          Assignee: perl at FreeBSD.org

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list