[Bug 248160] databases/mariadb105-server and databases/mariadb104-server: Fix SIGILL from __builtin_readcyclecounter on ARM platforms

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jul 22 01:38:43 UTC 2020


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

            Bug ID: 248160
           Summary: databases/mariadb105-server and
                    databases/mariadb104-server: Fix SIGILL from
                    __builtin_readcyclecounter on ARM platforms
           Product: Ports & Packages
           Version: Latest
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: brnrd at freebsd.org
          Reporter: cyberbotx at cyberbotx.com
          Assignee: brnrd at freebsd.org
             Flags: maintainer-feedback?(brnrd at freebsd.org)

Currently, MariaDB's 10.4 and 10.5 branches both suffer from this problem.
Since 10.4.7, a change to use __builtin_readcyclecounter causes a SIGILL on ARM
platforms. The potential for this problem is noted in the commit to MariaDB
that added this.

I have filed a bug upstream already: https://jira.mariadb.org/browse/MDEV-23249

But I'd like to get it fixed quicker in FreeBSD. I have not actually made any
patches for either port, but the patch is just two lines of adding &&
!defined(__arm__) as shown here:
https://raw.githubusercontent.com/its-pointless/its-pointless.github.io/master/my_rdtsc.h.patch

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


More information about the freebsd-ports-bugs mailing list