summaryrefslogtreecommitdiff
path: root/gnu/lib/libstdc++
AgeCommit message (Collapse)Author
2020-02-29remove GCC 4.2.1 build infrastructureEd Maste
As described in Warner's email message[1] to the FreeBSD-arch mailing list we have reached GCC 4.2.1's retirement date. At this time all supported architectures either use in-tree Clang, or rely on external toolchain (i.e., a contemporary GCC version from ports). GCC 4.2.1 was released July 18, 2007 and was imported into FreeBSD later that year, in r171825. GCC has served us well, but version 4.2.1 is obsolete and not used by default on any architecture in FreeBSD. It does not support modern C and does not support arm64 or RISC-V. Thanks to everyone responsible for maintaining, updating, and testing GCC in the FreeBSD base system over the years. So long, and thanks for all the fish. [1] https://lists.freebsd.org/pipermail/freebsd-arch/2020-January/019823.html PR: 228919 Reviewed by: brooks, imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D23124 Notes: svn path=/head/; revision=358454
2019-12-11Update Makefile.depend filesSimon J. Gerraty
Update a bunch of Makefile.depend files as a result of adding Makefile.depend.options files Reviewed by: bdrewery MFC after: 1 week Sponsored by: Juniper Networks Differential Revision: https://reviews.freebsd.org/D22494 Notes: svn path=/head/; revision=355617
2018-07-16Update libstdc++ configuration.Pedro F. Giffuni
Its been quite a while since the last time we updated this and since then we have grown iconv and a bunch of complex math functions. This only applies to the platforms which still use GCC 4.2.1 in the toolchain. Differential Revision: https://reviews.freebsd.org/D16289 Notes: svn path=/head/; revision=336351
2017-10-31DIRDEPS_BUILD: Update dependencies.Bryan Drewery
Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
2017-03-12Convert gnu to using SRCTOPWarner Losh
Prefer SRCTOP over CURDIR/../../contrib, etc. However, retain the "up one level" instances of ../ because they are really relative to this part of the tree and not a means to find the root of the tree. As such, it's better to leave them since that further the goal of being able to move directories if watned to in the future. Differential Revision: https://reviews.freebsd.org/D9932 Sponsored by: Netflix Silence On: arch@ (twice) Notes: svn path=/head/; revision=315175
2016-02-24DIRDEPS_BUILD: Regenerate without local dependencies.Bryan Drewery
These are no longer needed after the recent 'beforebuild: depend' changes and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports skipping 'make depend'. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295989
2015-11-25META MODE: Don't create .meta files when symlinking sources into the obj ↵Bryan Drewery
directory. Tracking these leads to situations where meta mode will consider the file to be out of date if /bin/sh or /bin/ln are newer than the source file. There's no reason for meta mode to do this as make is already handling the rebuild dependency fine. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291320
2015-11-25META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host.Bryan Drewery
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
2015-06-13Add META_MODE support.Simon J. Gerraty
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
2015-06-08dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=284172
2015-05-27Merge sync of headSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=283595
2015-01-02Remove gnu/ info pages to unbreak the build with MK_GCC != no, etcEnji Cooper
Reported by: Ivan Klymenko <fidaj@ukr.net> Reviewed by: bapt Differential Revision: D1412 Notes: svn path=/head/; revision=276565
2014-11-25Convert to LIBADDBaptiste Daroussin
Reduce overlinking Notes: svn path=/head/; revision=275077
2014-11-19Merge from head@274682Simon J. Gerraty
Notes: svn path=/projects/bmake/; revision=274683
2014-10-01Remove MK_ARM_EABI, the armeb issues have been fixed. The code to supportAndrew Turner
the oabi is still in the tree, but it is expected this will be removed as developers work on surrounding code. With this commit the ARM EABI is the only supported supported ABI by FreeBSD on ARMa 32-bit processors. X-MFC after: never Relnotes: yes Differential Revision: https://reviews.freebsd.org/D876 Notes: svn path=/head/; revision=272350
2014-08-19Merge head from 7/28Simon J. Gerraty
Notes: svn path=/projects/bmake/; revision=270164
2014-05-16Fix building libstdc++ with clangSimon J. Gerraty
Reviewed by: theraven Notes: svn path=/projects/bmake/; revision=266221
2014-05-16Updated dependenciesSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=266219
2014-05-11Allow libstdc++ and libsupc++ to compile with clang again, after theDimitry Andric
bsd.*.mk infrastructure changes. Apparently, you must now modify CXXFLAGS *before* including bsd.lib.mk, or your changes will be lost. Notes: svn path=/head/; revision=265895
2014-05-10Updated dependenciesSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=265802
2014-05-08Merge from headSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=265720
2014-05-06Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh
from the latter. Notes: svn path=/head/; revision=265420
2014-04-28Merge headSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=265044
2013-12-22To avoid having to explicitly test COMPILER_TYPE for settingDimitry Andric
clang-specific or gcc-specific flags, introduce the following new variables for use in Makefiles: CFLAGS.clang CFLAGS.gcc CXXFLAGS.clang CXXFLAGS.gcc In bsd.sys.mk, these get appended to the regular CFLAGS or CXXFLAGS for the right compiler. MFC after: 1 week Notes: svn path=/head/; revision=259730
2013-10-13Merge head@256284Simon J. Gerraty
Notes: svn path=/projects/bmake/; revision=256424
2013-09-12After r255321, clang uses libc++ by default. This leads to a lot ofDimitry Andric
errors when you enable WITH_GNUCXX to build libstdc++, since it will include C++ headers from the libc++ installation under ${WORLDTMP}, and those are not compatible with libstdc++ at all. To fix this, add -stdlib=libstdc++ to CXXFLAGS when building libstdc++ (and its companion libsupc++) with clang. Approved by: re (delphij) Notes: svn path=/head/; revision=255500
2013-09-05Merge from headSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=255263
2013-08-13Teach libstdc++ about logl(3).Pedro F. Giffuni
The logl(3) family of functions were implemented in r251292. Define them in libstdc++'s configuration so they can be used. Reviewed by: dim Notes: svn path=/head/; revision=254295
2013-04-12sync from headSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=249429
2013-03-11Updated dependenciesSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=248169
2013-02-16Updated dependenciesSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=246868
2013-02-15Regenerate libstdc++'s config.h, synchronizing it with our currentDimitry Andric
almost-C99 headers. MFC after: 1 week Notes: svn path=/head/; revision=246857
2013-02-08Sync with HEAD.David E. O'Brien
Notes: svn path=/projects/bmake/; revision=246555
2013-02-07Correct the r242545 sync with head@242525.David E. O'Brien
Notes: svn path=/projects/bmake/; revision=246449
2013-01-17Add compiler support for the ARM EABI.Andrew Turner
ARM EABI support is disabled by default and can be enabled by setting WITH_ARM_EABI when building, however only the kernel-toolchain target will work with this flag until the rest of the support is added. Notes: svn path=/head/; revision=245539
2012-11-08We need /backward too it seemsSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=242796
2012-11-08Updated/new Makefile.dependSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=242788
2012-11-04Sync from headSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=242545
2012-10-23For building GNU libstdc++ and libsupc++, filter out libc++-specific andDimitry Andric
-std= flags above c++98 or gnu++98 from CXXFLAGS *after* including bsd.lib.mk, otherwise some additions to CXXFLAGS done in bsd.*.mk might not be preserved. MFC after: 1 week Notes: svn path=/head/; revision=241960
2012-08-25For building libstdc++ and libsupc++, filter out any -stdlib=libc++Dimitry Andric
option from CXXFLAGS, otherwise these libraries will not build. Similarly, filter out any -std=xxx options that aren't supported. Submitted by: Yamaya Takashi <yamayan@kbh.biglobe.ne.jp> MFC after: 2 weeks Notes: svn path=/head/; revision=239695
2012-08-22Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar
Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
2012-06-14Turn on TLS support for arm on here as it is supported since r231618/Marius Strobl
r231619 and working since r233106. Notes: svn path=/head/; revision=237098
2012-03-31Make libsupc++ build as a shared library and make libstdc++ a filter libraryDavid Chisnall
for it. This allows people to swap out libsupc++ for libcxxrt easily, so we can begin the libstdc++ -> libc++ migration. Approved by: dim (mentor) Notes: svn path=/head/; revision=233749
2011-11-06When one attempts to compile the tree with -march=i386, which also usedDimitry Andric
to be gcc's default before r198344, calls to atomic builtins will not be expanded inline. Instead, they will be generated as calls to external functions (e.g. __sync_fetch_and_add_N), leading to linking errors later on. Put in a seatbelt that disables use of atomic builtins in libstdc++ and llvm, when tuning specifically for the real i386 CPU. This does not protect against all possible issues, but it is better than nothing. Notes: svn path=/head/; revision=227215
2011-03-11Now that TLS is supported for sparc64 by both binutils 2.17.50 committedMarius Strobl
in r218822 and rtld(1) committed in r219533 turn on TLS support in GCC. Notes: svn path=/head/; revision=219534
2010-09-07GCC defines built-ins for atomic instructions found on i486 and higher.Tijl Coosemans
Because FreeBSD no longer supports the 80386 cpu all code targeting FreeBSD/i386 necessarily runs on i486 or higher so the compiler built-ins can be used by default inside libstdc++ and in C++ headers. This allows newly compiled C++ code to inline some atomic operations. Old binaries continue to use libstdc++ functions. PR: 148926 Tested by: Yuri Karaban <tech askold net> Reviewed by: kan Approved by: kib (mentor) MFC after: 2 weeks Notes: svn path=/head/; revision=212286
2010-08-23MFtbemd:Warner Losh
Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform. Notes: svn path=/head/; revision=211725
2010-05-12Non-GCC gcc compatible compilers may provide the same multimedia intrinsicDavid E. O'Brien
headers as GCC, but of their own implementation. So put the GCC ones into their own header "namespace". Requested by: ed Notes: svn path=/head/; revision=207995
2010-01-22Use the new PO_CXXFLAGS from r202807 to remove the '-ffunction-sections'Stephane E. Potvin
flag when compiling profiled objects as it's ignored by the compiler. This removes the associated warning for each file compiled. MFC after: 1 month Notes: svn path=/head/; revision=202808
2008-12-31There's no need to redundantly redefine atomicity.h.Warner Losh
Notes: svn path=/head/; revision=186641