nixpkgs/pkgs
Eelco Dolstra 9a979af1d3 stdenv-darwin: Revert to clang 3.3
In 3.3, a C++ class defined in a header will get a typeinfo symbol
like this (e.g. in Nix's src/libutil/util.o):

  (__DATA,__datacoal_nt) weak external typeinfo for nix::BaseError

But in 3.4, this has changed to:

  (__DATA,__datacoal_nt) weak external automatically hidden typeinfo for nix::BaseError

This causes the linker to change the symbol to:

  (__DATA,__data) non-external (was signed char private external) typeinfo for nix::BaseError

i.e. losing its weak linkage. But without weak linkage, dynamic_cast
and other RTTI-based mechanisms (such as catching an exception of a
certain type) don't work across shared libraries / executables.

The clang compiler in the SDK doesn't have this behaviour, but it's
not clear exactly which version it is (it just says "based on LLVM
3.4svn").
2014-10-15 01:15:31 +02:00
..
applications Merge remote-tracking branch 'origin/staging' into darwin-clang-stdenv 2014-10-09 10:57:57 +02:00
build-support Fix stdenv-native 2014-10-11 23:10:27 +02:00
data linux-man-pages: Update to version 3.73. 2014-10-02 10:25:12 +02:00
desktops Merge remote-tracking branch 'origin/master' into staging 2014-10-07 00:09:37 +02:00
development libc++abi: Enable _LIBCXX_DYNAMIC_FALLBACK 2014-10-14 16:53:48 +02:00
games Merge remote-tracking branch 'origin/staging' into darwin-clang-stdenv 2014-10-09 10:57:57 +02:00
misc cupsBjnp: update from 1.2.1 to 1.2.2, potentially fixes CVE-2014-2856 2014-10-06 22:02:40 +02:00
os-specific Merge remote-tracking branch 'origin/master' into staging 2014-10-07 00:09:37 +02:00
servers Merge remote-tracking branch 'origin/staging' into darwin-clang-stdenv 2014-10-09 10:57:57 +02:00
shells Merge remote-tracking branch 'origin/master' into staging 2014-10-07 00:09:37 +02:00
stdenv stdenv-darwin: Revert to clang 3.3 2014-10-15 01:15:31 +02:00
test
tools Unify gcc-wrapper and clang-wrapper 2014-10-11 22:26:39 +02:00
top-level stdenv-darwin: Revert to clang 3.3 2014-10-15 01:15:31 +02:00