[Bug 197795] math/cln: fails to build on armv6

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 18 18:02:05 UTC 2015


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

            Bug ID: 197795
           Summary: math/cln: fails to build on armv6
           Product: Ports & Packages
           Version: Latest
          Hardware: arm
               URL: http://chips.ysv.freebsd.org/data/11armv6-11armv6/2015
                    -02-12_15h33m26s/logs/errors/cln-1.3.4.log
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: wen at FreeBSD.org
          Reporter: mikael.urankar at gmail.com
          Assignee: wen at FreeBSD.org
             Flags: maintainer-feedback?(wen at FreeBSD.org)

Created attachment 153154
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=153154&action=edit
fix build on armv6

Hi,

math/cln fails to build on armv6:
base/low/cl_low_div.cc:13:8: error: declaration of 'divu_16_rest' in global
scope conflicts with declaration with C language linkage
uint16 divu_16_rest;
       ^
./base/cl_low.h:442:21: note: declared with C language linkage here
  extern "C" uint16 divu_16_rest;                         // -> Rest r

It seems clang needs the same workaround as MSVC.

build log:
http://mikael.urankar.free.fr/FreeBSD/arm/build_logs/cln-1.3.4.log

--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Auto-assigned to maintainer wen at FreeBSD.org

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


More information about the freebsd-ports-bugs mailing list