Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 2020 01:38:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 248160] databases/mariadb105-server and databases/mariadb104-server: Fix SIGILL from __builtin_readcyclecounter on ARM platforms
Message-ID:  <bug-248160-7788@https.bugs.freebsd.org/bugzilla/>

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

            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@freebsd.org
          Reporter: cyberbotx@cyberbotx.com
          Assignee: brnrd@freebsd.org
             Flags: maintainer-feedback?(brnrd@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-2=
3249

But I'd like to get it fixed quicker in FreeBSD. I have not actually made a=
ny
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/mas=
ter/my_rdtsc.h.patch

--=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-248160-7788>