Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Aug 2018 12:45:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 230478] devel/avro-c: unbreak on aarch64, arm, probably mips too
Message-ID:  <bug-230478-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 230478
           Summary: devel/avro-c: unbreak on aarch64, arm, probably mips
                    too
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: greg@unrelenting.technology
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@FreeBSD.org

Created attachment 196025
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D196025&action=
=3Dedit
avro-c.patch

avro-c uses GCC atomic intrinsics (__sync_add_and_fetch, __sync_sub_and_fet=
ch).

These are well supported by clang, but the ifdef was testing for GNUC newer
than 40500 and these weren't used.

avro-c had a raw x86 assembly fallback, which is why it worked fine on ther=
e.

With this tiny patch, it builds fine on aarch64 and armv7. clang should sup=
port
these on mips too I think.

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