E on FreeBSD: [Bug 242233] devel/efl: fix build on powerpc64 elfv2

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 25 20:27:51 UTC 2019


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

            Bug ID: 242233
           Summary: devel/efl: fix build on powerpc64 elfv2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: enlightenment at FreeBSD.org
          Reporter: pkubaj at FreeBSD.org
          Assignee: enlightenment at FreeBSD.org
             Flags: maintainer-feedback?(enlightenment at FreeBSD.org)

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

Explicitly include altivec.h if AltiVec build is done.
Otherwise build with clang fails with:
lib/evas/common/evas_cpu.c:89:11: warning: implicit declaration of function
'vec_splat_u32' is invalid in C99 [-Wimplicit-function-declaration]
   zero = vec_splat_u32(0);
          ^
lib/evas/common/evas_cpu.c:89:9: error: assigning to '__vector unsigned int'
(vector of 4 'unsigned int' values) from incompatible type 'int'
   zero = vec_splat_u32(0);
        ^ ~~~~~~~~~~~~~~~~

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


More information about the freebsd-enlightenment mailing list