Created attachment 153154 [details] 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
Auto-assigned to maintainer wen@FreeBSD.org
A commit references this bug: Author: wen Date: Sat Mar 7 14:39:54 UTC 2015 New revision: 380699 URL: https://svnweb.freebsd.org/changeset/ports/380699 Log: - Fix build on armv6 PR: 197795 Submitted by: mikael.urankar@gmail.com Changes: head/math/cln/Makefile head/math/cln/files/patch-src_base_cl__low.h