[Webkit-unassigned] [Bug 126431] New: configure errors our when building with libc++

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 3 09:02:20 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=126431

           Summary: configure errors our when building with libc++
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jeremyhu at apple.com


In webkit-gtk-2.3.3 (compared to 2.2.3), CheckSystemAndBasicDependencies.m4 was updated to error out if anything other than libstdc++ >= 4.8.1 is used.  This causes configure to error out when using libc++, but libc++ should work fine.

--- Source/autotools/CheckSystemAndBasicDependencies.m4.orig    2014-01-03 08:55:20.000000000 -0800
+++ Source/autotools/CheckSystemAndBasicDependencies.m4    2014-01-03 08:57:19.000000000 -0800
@@ -123,14 +123,6 @@ elif test "$cxx_compiler" = "clang++"; t
     OLD_CXXFLAGS="$CXXFLAGS"
     CXXFLAGS="-std=c++11"
     AC_LANG_PUSH([C++])
-    AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
-#include <type_traits>
-#if defined(__GLIBCXX__) && __GLIBCXX__ >= 20130531
-bool libstdcxxTest = std::is_trivially_destructible<bool>::value;
-#else
-#error libstdc++ >= 4.8.1 is required
-#endif
-])], [], [AC_MSG_ERROR([libstdc++ >= 4.8.1 is required as the standard library used with the Clang compiler.])])
     AC_LANG_POP([C++])
     CXXFLAGS="$OLD_CXXFLAGS"
 fi

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list