aboutsummaryrefslogtreecommitdiff
path: root/lib/libcxxrt
Commit message (Collapse)AuthorAgeFilesLines
* Surround any unmangled C++ names in libcxxrt's version map with 'externDimitry Andric2017-02-221-12/+16
| | | | | | | | | | | | | "C++"', otherwise ld refuses to make the symbols global in the final library. This causes the __int128-related symbols to go missing when the library is stripped during installation. Helpful hints: emaste MFC after: 2 weeks X-MFC-With: r314061 Notes: svn path=/head/; revision=314104
* Add __int128-related symbols to libcxxrt's version map. Put these intoDimitry Andric2017-02-211-2/+19
| | | | | | | | | | | | | the same CXXABI verions as recent libstdc++. Note that __int128 types are only available on arches where long long is 128 bit wide. Noticed by: harti MFC after: 2 weeks Notes: svn path=/head/; revision=314061
* Use SRCTOP-relative paths to other directories instead of .CURDIR-relative onesEnji Cooper2017-01-201-1/+1
| | | | | | | | | | This simplifies pathing in make/displayed output MFC after: 3 weeks Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=312504
* libcxxrt: correct mangled "typeinfo name" symbols in Version.mapEd Maste2016-06-291-8/+8
| | | | | | | | | | | | | | | | | | r260553 added missing C++ typinfos to libcxxrt's version script. It appears that a number of duplicate mangled symbols were added due to a cut and paste error. Switch the second instances to _ZTS*, typeinfo name for *. Found by lld, which produces an error or warning for duplicate symbols. Reviewed by: dim Approved by: re (gjb) MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D7011 Notes: svn path=/head/; revision=302278
* GCC External: Revert r300886, r300904, r300917, r300918Bryan Drewery2016-05-291-1/+1
| | | | | | | | The fix in r300873 is mostly enough. A fix for lib32 will be committed.separately. Notes: svn path=/head/; revision=300943
* Move external GCC compiler hacks to bsd.sys.mk.Bryan Drewery2016-05-271-1/+1
| | | | | | | | | | | | | | | | | This allows respecting -nostdinc, -nostdinc++ and -nostdlib before making the decision to add in -isystem, etc. The -isystem flags are problematic for building lib/libc++ and lib/libcxxrt which wants to only use its own headers. More information the need of these flags can be found at https://gcc.gnu.org/ml/gcc/2016-03/msg00219.html This also reverts r300873. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=300886
* After r300770, for libc++ and libcxxrt, use -isystem instead of -I.Dimitry Andric2016-05-271-1/+1
| | | | | | | | | This should fix builds with external gcc toolchains from ports, which also use -isystem to work around problems with gcc's --sysroot implementation. Thanks to Bryan Drewery for this workaround. Notes: svn path=/head/; revision=300873
* MFHGlen Barber2016-04-041-1/+4
|\ | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=297567
| * Compile libcxxrt as C++11, since it is only really used in combinationDimitry Andric2016-03-271-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with libc++, which is also C++11. Also change one _Static_assert (which is really C11) back into static_assert, like upstream. This should help when compiling libcxxrt with newer versions of gcc, which refuse to recognize any form of static assertions, if not compiling for C++11 or higher. While here, add -nostdinc++ to CFLAGS, to prevent picking up any C++ headers outside the source tree. Notes: svn path=/head/; revision=297299
* | MFHGlen Barber2016-03-021-1/+0
|\| | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=296318
| * DIRDEPS_BUILD: Update dependencies.Bryan Drewery2016-02-241-1/+0
| | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295978
* | Remove libc, librtld_db, libthr packages, and further increaseGlen Barber2016-02-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | the constraints on what needs to be installed in a specific to maintain consistency during upgrades. Create a new clibs package containing libraries that are needed as a bare minimum for consistency. With much help and input from: kib Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295337
* | First pass through library packaging.Glen Barber2016-02-041-0/+1
|/ | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295278
* META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host.Bryan Drewery2015-11-251-1/+0
| | | | | | | | | | | This both avoids some dependencies on xinstall.host and allows bootstrapping on older releases to work due to lack of at least 'install -l' support. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291307
* Add std::uncaught_exceptions() to libcxxrt (C++17, see N4152 and N4259).Dimitry Andric2015-10-051-0/+6
| | | | | | | This has also been submitted upstream. Notes: svn path=/projects/clang370-import/; revision=288830
* META_MODE: Remove DEP_RELDIR from Makefile.depend files.Bryan Drewery2015-09-251-2/+0
| | | | | | | | | This has not been needed since r284171 in projects/bmake. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=288226
* Add __cxa_deleted_virtual to libcxxrt's version map.Dimitry Andric2015-06-231-1/+5
| | | | | | | | | | | | | | | This symbol can sometimes be emitted by clang++, and was not yet exported from libcxxrt. Attempt to be compatible with libsupc++ by using the same CXXABI_1.3.6 symbol version. Reported by: yuri@rawbw.com PR: 200863 Reviewed by: emaste MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D2850 Notes: svn path=/head/; revision=284732
* Revert r284417 it is not necessary anymoreBaptiste Daroussin2015-06-151-1/+1
| | | | Notes: svn path=/head/; revision=284421
* Enforce overwritting SHLIBDIRBaptiste Daroussin2015-06-151-1/+1
| | | | | | | | | | | | Since METAMODE has been added, sys.mk loads bsd.mkopt.mk which ends load loading bsd.own.mk which then defines SHLIBDIR before all the Makefile.inc everywhere. This makes /lib being populated again. Reported by: many Notes: svn path=/head/; revision=284417
* Add META_MODE support.Simon J. Gerraty2015-06-132-0/+33
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-271-0/+13
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Merge from head@274682Simon J. Gerraty2014-11-191-0/+9
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=274683
| * Updated dependenciesSimon J. Gerraty2014-05-161-1/+1
| | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * Merge headSimon J. Gerraty2014-04-271-0/+26
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265006
| * | New/updated dependenciesSimon J. Gerraty2013-10-171-0/+18
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=256698
* | | Add support for __cxa_throw_bad_array_new_length in libcxxrtBaptiste Daroussin2014-10-211-0/+9
| |/ |/| | | | | | | | | | | | | | | | | | | | | It is required for use with newer g++49 Differential Revision: https://reviews.freebsd.org/D982 Reviewed by: theraven Approved by: theraven MFC after: 3 weeks Notes: svn path=/head/; revision=273381
* | Add missing C++11 typeinfos to the libcxxrt version script.David Chisnall2014-01-111-0/+26
|/ | | | | | | | PR: 185663 MFC after: 1 week Notes: svn path=/head/; revision=260553
* Add several missing symbols to libcxxrt's symbol version map, and removeDimitry Andric2013-02-031-14/+12
| | | | | | | | | | | | a few duplicates. This should fix building world with -stdlib=libc++ after r246028. Submitted by: Yamaya Takashi <yamayan@kbh.biglobe.ne.jp> MFC after: 1 week X-MFC-With: r246028 Notes: svn path=/head/; revision=246297
* Fix some symbol version mismatches between libstdc++ and libsupc++/libcxxrtDavid Chisnall2013-01-281-56/+46
| | | | | | | | | | | | | | | | | | | | that were causing the runtime and STL libraries to see different versions of various classes and functions when libstdc++ is used as a filter. Note: This changes the ABI for libcxxrt, but libcxxrt is currently only in -STABLE for testing and is not used by anything unless explicitly enabled by the end user. No default compiler configurations use it. libc++ will need to be recompiled after this change. make buildworld will do this automatically, but make in lib/libc++ will not necessarily work unless the new libcxxrt is installed first. PR: kern/171610, stand/175453 Reviewed by: kib MFC after: 1 week Notes: svn path=/head/; revision=246028
* Clean up some symbol versions for libsupc++ / libcxxrt.David Chisnall2012-06-111-5/+13
| | | | | | | | MFC after: 1 week Reviewed by: kan Notes: svn path=/head/; revision=236890
* Tabify libcxxrt and libc++'s Makefiles.Dimitry Andric2012-06-021-16/+16
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=236442
* Import new version of libcxxrt. Now works correctly with libobjc2 to implementDavid Chisnall2012-03-201-0/+5
| | | | | | | | | the unified exception model for Objective-C++. Approved by: dim (mentor) Notes: svn path=/head/; revision=233235
* Add symbol versioning to libcxxrt.David Chisnall2012-03-192-0/+319
| | | | | | | Approved by: dim (mentor) Notes: svn path=/head/; revision=233174
* Update libcxxrt to remove the pthread dependency.David Chisnall2011-11-261-1/+0
| | | | | | | | | Also add the license from upstream to contrib. Approved by: dim (mentor) Notes: svn path=/head/; revision=228004
* Import libc++ / libcxxrt into base. Not build by default yet (useDavid Chisnall2011-11-251-0/+26
MK_LIBCPLUSPLUS=yes to enable). This is a work-in-progress. It works for me, but is not guaranteed to work for anyone else and may eat your dog. To build C++ using libc++, add -stdlib=libc++ to your CXX and LD flags. Bug reports welcome, bug fixes even more welcome... Approved by: dim (mentor) Notes: svn path=/head/; revision=227983