Commit Graph

40 Commits

Author SHA1 Message Date
joerg 77fe1f22f1 Remove LLVM atomic hacks for Sparc. 2017-01-11 12:10:26 +00:00
joerg 24d50a40b3 As workaround for limitations in Clang's atomic lowering on SPARC,
require v8+ for those files that need C++11 atomics.
2016-02-27 21:42:14 +00:00
christos 8ec658f57a - Change LDADD/DPADD in library dependencies to LIBDPLIBS
- Fix some LDADD abuse and remove useless dependencies
- include <bsd.init.mk> in the right place where appropriate
From Rin Okuyama
2016-01-05 13:07:46 +00:00
pooka fec583f48b Import libcxxrt e64e93fe5bba67a6d52cbe5a97f8770c054bfa65
Implements __cxa_throw_bad_array_new_length, which is generated by gcc
4.9 and later.  Also, some demangle support and fixes.
2015-09-11 11:19:58 +00:00
joerg b04b4ec44f Update set list and build glue for libc++ r245539. 2015-08-20 10:06:20 +00:00
joerg ae5250f8b0 Rerun the import of r245547. 2015-08-20 09:49:32 +00:00
joerg 76ae7f3939 Import libc++ r245547. Various bugfixes, improvements to the C++14
support and some experimental features from the library standard track.
2015-08-20 09:31:47 +00:00
pooka 1ca558252d Fix gcc revision check for __cxa_begin_catch() declaration.
Now it matches what was introduced in upstream commit e426f95.

Fixes PR lib/49990 (libc++ fails to compile with g++ 5.1)
2015-06-26 00:50:39 +00:00
joerg 1e46ecab88 Since GCC 4.5 doesn't support noexcept, don't pretend to support it by
using -std=c++0x. Just use the correct value for x.
2014-08-20 15:19:39 +00:00
joerg 82ff1017b0 Update and simplify build glue for libc++ r215289. 2014-08-09 19:06:49 +00:00
joerg 093030cde1 Import libc++ r215289. This brings a number of bug fixes as well as
further changes from the upcoming C++14 like string_view.
2014-08-09 19:03:43 +00:00
joerg f24d03ddc0 Define guard_lock_t on 32bit Big Endian platforms too. 2014-07-25 16:25:24 +00:00
joerg 8b0d15c4e0 Use correct type encoding for DWARF EH on ARM 2014-07-20 15:50:36 +00:00
joerg 21205470c2 Remove atomic hack for ARM, libc now provides the missing symbols. 2014-07-05 20:45:49 +00:00
joerg 366c7b7f38 Import libc++ r209785. Fix a regression with std::bind exposed by recent
Clang improvements.
2014-05-30 11:39:48 +00:00
joerg 9b139c3c53 Remove some more CMakeLists.txt files. 2014-05-15 23:59:12 +00:00
joerg 534cb174a5 Import libcxxrt revision 4eb349088dda15d2de9a8c7b144c3f2d5f390269.
Restore support for 32bit architectures without 64bit CAS.
Support DWARF exception handling on ARM.
2014-05-15 23:56:01 +00:00
joerg e6132fe847 Import libc++ r208870. Improves const use, fixes a few cases of missing
assign-to-self support and increase support for GCC.
2014-05-15 23:53:10 +00:00
joerg ebb76e629b Force consistent alignemnt of _Unwind_Exception with libgcc_s. 2014-01-23 13:30:38 +00:00
joerg 9c5ce38628 On ARM, force compiling some files in libc++ and LLVM's support library
with -march=armv6 to get native atomics as we currently lack the
fallback symbols in libgcc and libc.
2014-01-15 21:14:54 +00:00
joerg a29e9d8555 Import libc+++ r198773. Fixes a bug in stdexcept I introduced when
removing C style casts.
2014-01-08 17:15:24 +00:00
joerg a068c5add0 Clean removed files. 2014-01-04 21:41:00 +00:00
joerg 2dfa7c4738 Import r198452 of libc++. Primarily avoids C style casts and adds a
number of cleanups.
2014-01-04 21:32:03 +00:00
joerg d0b6b5d51b Import new snapshot of libcxxrt. Fixes demangling of anonymous
namespaces. Avoid use of old style (C) casts.
2013-12-25 20:19:45 +00:00
joerg 8538f58f23 Move <dynarray> and <optional> into experimental. 2013-11-28 13:47:29 +00:00
joerg 37cebce520 Import libc++ r195694, primarily to avoid using a public identifier as
template argument that is overriden by macro in pkgsrc.
2013-11-28 13:45:08 +00:00
joerg afecdbd810 Update build system for C++14 support. 2013-11-12 16:39:39 +00:00
joerg 3344572a41 Import libc++ r194207. This brings in various bug fixes, a good chunk of
support for the up-coming C++14 and improved compatibility with various
compilers other than Clang.
2013-11-11 23:42:23 +00:00
joerg defe44bfc7 Explicitly include bsd.clean.mk for cleandir. 2013-10-17 22:07:59 +00:00
joerg d22d8112fa Import libc++ r188413. More support for current C++ development and
various bugfixes.
2013-08-15 22:38:25 +00:00
joerg a3a22d9cef Import libc++ r188413. More support for current C++ development and
various bugfixes.
2013-08-15 22:38:19 +00:00
joerg 5067d17810 Import revision c61efa043b14378efbd69c9a2686d44ed46ae179 of libcxxrt.
This adds __cxa_deleted_virtual, some explicit store barriers before
lock releases and fixes ARM guard variable initialisation.
2013-07-04 22:29:29 +00:00
joerg 251758c091 Update libc++ snapshot to r185674. This removes an incorrect freelocale
of the C locale on NetBSD.  It adds support for non-pointer based
allocators, integer sequences and more.
2013-07-04 22:20:51 +00:00
joerg ccec91a1a9 Import libcxxrt b2396b5945d7a2697c4762c3e52dc6f732b2eebd from
https://github.com/pathscale/libcxxrt/.
2013-05-17 23:04:37 +00:00
joerg 21ba9d10f3 Import libc++ from http://llvm.org/svn/llvm-project, r182162. 2013-05-17 23:02:16 +00:00
joerg 9de6786eff Add cleanup scripts for future imports. 2013-05-17 23:00:22 +00:00
joerg 7a5d56a82d Install cxxabi.h with libc++. 2013-05-17 22:59:29 +00:00
joerg a14e051bb4 Prefer libcxxrt's typeinfo.cc. Do not use cxa_atexit.c, it is only for
Solaris. Do not use libcxxrt's memory.cc, the same content is already
provided by libc++ in new.cpp and that version agrees with the
overwriting rules for the operators from C++11.
2013-05-17 22:57:27 +00:00
joerg 2df21d794d Explicitly disable standard C++ include paths to prevent mixing
includes.
2013-04-30 00:34:15 +00:00
joerg ecb06a3b09 Add build glue for libc++. 2013-04-27 23:02:17 +00:00