[Bug 230478] devel/avro-c: unbreak on aarch64, arm, probably mips too

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 9 12:45:08 UTC 2018


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

            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 at FreeBSD.org
          Reporter: greg at unrelenting.technology
             Flags: maintainer-feedback?(sunpoet at FreeBSD.org)
          Assignee: sunpoet at FreeBSD.org

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

avro-c uses GCC atomic intrinsics (__sync_add_and_fetch, __sync_sub_and_fetch).

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 there.

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

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


More information about the freebsd-ports-bugs mailing list