Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Feb 2015 18:02:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 197795] math/cln: fails to build on armv6
Message-ID:  <bug-197795-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: mikael.urankar@gmail.com
          Assignee: wen@FreeBSD.org
             Flags: maintainer-feedback?(wen@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@FreeBSD.org> ---
Auto-assigned to maintainer wen@FreeBSD.org

-- 
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-197795-13>