nixpkgs/pkgs/stdenv
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
..
darwin stdenv-darwin: Revert to clang 3.3 2014-10-15 01:15:31 +02:00
generic Merge remote-tracking branch 'origin/staging' into darwin-clang-stdenv 2014-10-09 10:57:57 +02:00
linux stdenv-linux: Turn allowedRequisites back on 2014-10-06 22:11:05 +02:00
native gcc-wrapper: Remove NIX_GCC_NEEDS_GREP 2014-09-23 19:43:38 +02:00
nix Prevent an unnecessary evaluation of lib 2014-08-09 12:45:18 +02:00
adapters.nix gcc-wrapper: Wrap ld.gold 2014-10-10 14:55:17 +02:00
common-path.nix
default.nix Merge branch 'darwin-stdenv' of github.com:joelteon/nixpkgs into staging 2014-09-23 11:27:53 +02:00