Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Jul 2016 07:39:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 210837] lang/perl5.22 (and related?): ext/re/re_exec.c has long long format matched up with long argument
Message-ID:  <bug-210837-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210837

            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@FreeBSD.org
          Reporter: markmi@dsl-only.net
             Flags: maintainer-feedback?(perl@FreeBSD.org)
          Assignee: perl@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 examp=
le
code around seems to have (IV) for the cast when IVdf is in use.

The compiler doing the build [targeting armv6 (with -mcpu=3Dcortex-a7)] rep=
orted
the problem.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210837-13>