Source: icu Version: 52.1 Severity: minor Dear Maintainer,
Hello, Using the rebuild infrastructure, your package fails to build with clang instead of gcc. Error message is: error: use of undeclared identifier '__float128' Full build log is available here: http://clang.debian.net/logs/2015-03-25/icu_52.1-8_unstable_clang.log I found that this is because clang doesn't support the extension __float128. Thanks, Joseph -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.0.4-2-ARCH (SMP w/8 CPU cores; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/dash Init: unable to detect
diff -Nru icu-52.1/debian/patches/clang_build.patch icu-52.1/debian/patches/clang_build.patch --- icu-52.1/debian/patches/clang_build.patch 1970-01-01 00:00:00.000000000 +0000 +++ icu-52.1/debian/patches/clang_build.patch 2015-05-24 14:17:09.000000000 +0000 @@ -0,0 +1,14 @@ +--- a/source/tools/toolutil/toolutil.cpp ++++ b/source/tools/toolutil/toolutil.cpp +@@ -18,6 +18,11 @@ + * This file contains utility functions for ICU tools like genccode. + */ + ++#if __clang__ ++/* clang does not support __float128 extension */ ++typedef struct { long double x, y; } __float128; ++#endif ++ + #if U_PLATFORM == U_PF_MINGW + // *cough* - for struct stat + #ifdef __STRICT_ANSI__ diff -Nru icu-52.1/debian/patches/series icu-52.1/debian/patches/series --- icu-52.1/debian/patches/series 2015-05-08 20:41:30.000000000 +0000 +++ icu-52.1/debian/patches/series 2015-05-24 14:14:40.000000000 +0000 @@ -14,3 +14,4 @@ CVE-2014-9654.patch CVE-2014-8146.patch CVE-2014-8147.patch +clang_build.patch