[Bug 264979] archivers/c-blosc2: compiler crash on armv7

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 01 Jul 2022 15:54:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264979

            Bug ID: 264979
           Summary: archivers/c-blosc2: compiler crash on armv7
           Product: Ports & Packages
           Version: Latest
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: fuz@fuz.su
                CC: pkubaj@FreeBSD.org
          Assignee: sunpoet@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)

Building this port causes a compiler crash on armv7.  The crash has been
reduced with creduce to the following minimal test case:

    extern int a, d, i[], e[];
    _Noreturn int c(void);
    void f()
    {
            d <= 3 ? 0 : c();
            for (int h = 1; h < d; ++h)
                     i[h] = a % e[h - 1] / e[h];
    }

The crash is due to a SIGBUS (unaligned memory access?) and might be the same
thing that happened on PPC64 (pkubaj@, please check).  I'll go ahead and report
it with upstream.

As a stop gap measure, the port should be compiled with gcc on armv7, too.

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