summaryrefslogtreecommitdiffstats
path: root/gnu/lib
Commit message (Collapse)AuthorAgeFilesLines
* Remove gnu/ info pages to unbreak the build with MK_GCC != no, etcngie2015-01-021-13/+0
| | | | | | Reported by: Ivan Klymenko <fidaj@ukr.net> Reviewed by: bapt Differential Revision: D1412
* Remove info pagesbapt2015-01-024-3056/+0
|
* Fix build with recent binutilsbapt2014-12-231-0/+1
| | | | | | | | | | | Recent binutils considered the .gnu.warning.symbol section as a fatal error when run with --fatal-warnings which makes any users of "insecure" functions from libc failing to build with recent binutils. Introduce a new macro: LD_FATAL_WARNINGS=no to run ld(1) with --no-fatal-warnings for the users of "insecure" functions Differential Revision: https://reviews.freebsd.org/D1320
* Convert to LIBADDbapt2014-11-254-10/+6
| | | | Reduce overlinking
* libdialog has to be linked to libncursesw and libmbapt2014-11-071-0/+3
|
* Remove MK_ARM_EABI, the armeb issues have been fixed. The code to supportandrew2014-10-015-17/+7
| | | | | | | | | | | | 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
* Add ${LIBC} to DPADD to fix "make checkdpadd"ngie2014-08-201-0/+1
| | | | | | Phabric: D632 Approved by: jmmv (mentor) MFC after: 2 weeks
* Replace all uses of libncurses and libtermcap with their wide characterbrooks2014-07-171-2/+2
| | | | | | | | | | variants. This allows usable file system images (i.e. those with both a shell and an editor) to be created with only one copy of the curses library. Exp-run: antoine PR: 189842 Discussed with: bapt Sponsored by: DARPA, AFRL
* Make MK_GNUCXX mean "build the libstdc++ and libsupc++ libraries" andimp2014-07-101-1/+1
| | | | | | | nothing more. Force it to be "no" when MK_CXX is "no" to simplify usage. It no longer also means "build g++" since we no longer have a platform where that's interesting now that pc98 no longer needs clang and gcc, but not g++. pc98 now just uses clang after boot2 changes.
* The GNU readline library is now an INTERNALLIB - that is, it isbapt2014-07-095-58/+13
| | | | | | | | | | statically linked into consumers (GDB and variants) in the base system, and the shared library is no longer installed. That also allows ports to be able to use a modern version of readline PR: 162948 Reviewed by: emaste
* Remove ia64.marcel2014-07-072-18/+0
| | | | | | | | | | | | | | | | | This includes: o All directories named *ia64* o All files named *ia64* o All ia64-specific code guarded by __ia64__ o All ia64-specific makefile logic o Mention of ia64 in comments and documentation This excludes: o Everything under contrib/ o Everything under crypto/ o sys/xen/interface o sys/sys/elf_common.h Discussed at: BSDcan
* Make sure that the sub-makes for unwind.h start from the CURDIRimp2014-06-243-3/+3
| | | | | | (/usr/src) tree rather than the OBJDIR (/usr/obj) tree. This fixes broken incremental builds with the canonical MAKESYSPATH workaround of .../share/mk. This is a gross kludge.
* Allow libstdc++ and libsupc++ to compile with clang again, after thedim2014-05-112-4/+3
| | | | | bsd.*.mk infrastructure changes. Apparently, you must now modify CXXFLAGS *before* including bsd.lib.mk, or your changes will be lost.
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-066-6/+6
| | | | from the latter.
* Spell NO_PROFILE= as MK_PROFILE=no.imp2014-04-253-5/+7
|
* Add placeholder Kyuafiles for various top-level hierarchies.jmmv2014-04-212-0/+14
| | | | | | | | | | | | This change adds tests/ directories in the source tree to create various subdirectories in /usr/tests/ and to install placeholder Kyuafiles for them. the relevant hierarchies are: cddl, etc, games, gnu and secure. The reason for this is to simplify the addition of new test programs for utilities or libraries under any of these directories. Doing so on a case by case basis is unnecessary and is quite an obscure process.
* Introduce RANLIBFLAGS to mirror ARFLAGS and add -D to both. This setsdes2014-04-121-2/+2
| | | | | | | | all timestamps in static libraries to 0 so that consecutive builds from the same source, even on different machines, produce identical libraries. MFC after: 3 weeks
* It is possible that MK_GNUCXX is "yes" but MK_CXX is "no" so make sureimp2014-04-011-1/+1
| | | | MK_CXX isn't "no" before building these libraries.
* Revision 258428 changed gcc by virtue of having _bswapsi2 _bswapdi2 inmarcel2014-01-191-4/+3
| | | | | | | libgcc, but this was not propagated to this file. Revision 260844 added them here for ia64 unbeknownst revision 258428. Fix it for all... Pointed out by: pfg
* Replace LIBGCC by LIBCOMPILER_RT.ed2014-01-181-2/+2
| | | | | We now use libcompiler_rt on all platforms now. Instead of referring directly to -lgcc and LIBGCC, use -lcompiler_rt and LIBCOMPILER_RT.
* For ia64, add _bswapsi2 & _bswapdi2. The audio/flac port uses themarcel2014-01-181-0/+1
| | | | | bswap32 builtin and the compiler emits a call to the libgcc function rather than generating inline code.
* To avoid having to explicitly test COMPILER_TYPE for settingdim2013-12-224-12/+4
| | | | | | | | | | | | | | | 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
* For gnu/lib/csu, only use gcc-specific flags when compiling with gcc.dim2013-12-221-4/+6
| | | | MFC after: 3 days
* Revert r257691, r257645:gjb2013-11-061-13/+0
| | | | Let amd64/amd64 build again.
* Fix libgcc build with gcc after r257645, by using -Wno-static-in-inlinedim2013-11-051-0/+2
| | | | for clang only.
* Quiesce warning around gcc_assert() for an inline macro that usessbruno2013-11-041-0/+11
| | | | | | | | | | a static variable. This code has been moved around in gcc, but is still in use in the latest trunk version of the compiler. gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:208:36: warning: static variable 'dwarf_reg_size_table' is used in an inline function with external linkage [-Wstatic-in-inline] gcc_assert (index < (int) sizeof(dwarf_reg_size_table));
* Update dialog to 1.2-20130923.dteske2013-09-241-1/+1
| | | | Approved by: re (marius)
* After r255321, clang uses libc++ by default. This leads to a lot ofdim2013-09-122-0/+8
| | | | | | | | | | | 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)
* On platforms where clang is the default compiler, don't build gcc or libstdc++.theraven2013-09-061-1/+1
| | | | | | | | | | | | | | | | | | To enable them, set WITH_GCC and WITH_GNUCXX in src.conf. Make clang default to using libc++ on FreeBSD 10. Bumped __FreeBSD_version for the change. GCC is still enabled on PC98, because the PC98 bootloader requires GCC to build (or, at least, hard-codes the use of gcc into its build). Thanks to everyone who helped make the ports tree ready for this (and bapt for coordinating them all). Also to imp for reviewing this and working on the forward-porting of the changes in our gcc so that we're getting to a much better place with regard to external toolchains. Sorry to all of the people who helped who I forgot to mention by name. Reviewed by: bapt, imp, dim, ...
* Teach libstdc++ about logl(3).pfg2013-08-131-2/+2
| | | | | | | The logl(3) family of functions were implemented in r251292. Define them in libstdc++'s configuration so they can be used. Reviewed by: dim
* Bump shlib for dialog because ABI has changed when version 1.2 was importedbapt2013-06-231-1/+1
| | | | Reviewed by: kib
* lower the WARNS to 1 again until I have more time to figure out the problems ↵bapt2013-06-171-1/+1
| | | | | | with WARNS=4 Reported by: gavin
* Update dialog to 1.2-20130523bapt2013-06-172-12/+29
| | | | Level up WARNS
* Fix some missing symbols in the libsupc++ Version.maptheraven2013-06-161-0/+13
| | | | MFC after: 1 week
* Connect libgnuregex 2.17 to the build.jkim2013-06-0510-11465/+47
|
* Enable libcompiler-rt on MIPS.ed2013-04-201-4/+0
| | | | | | | | | Originally we disabled libcompiler-rt on MIPS and SPARC64, because of an issue where __clzdi2 and __ctzdi2 would cause endless recursion. This bug has been fixed in r230021 already, but for some reason we only switched to libcompiler-rt on SPARC64 -- not MIPS. This means we can finally use <stdatomic.h> on all our architectures.
* As it's done for libstdc++, use SJLJ-based exceptions on arm when we're notcognet2013-03-221-0/+11
| | | | using EABI, and use unwind-arm.h instead of unwind-generic.h when using EABI.
* Link libgcc_s against compiler-rt on ARM EABI. This allows us to use all ofandrew2013-03-171-3/+3
| | | | | | the symbols in compiler-rt, including the ones not available in the old libgcc. This fixes the build with clang which generates calls to funstions that are missing from libgcc_s.
* Regenerate libstdc++'s config.h, synchronizing it with our currentdim2013-02-151-5/+14
| | | | | | almost-C99 headers. MFC after: 1 week
* Fix some symbol version mismatches between libstdc++ and libsupc++/libcxxrttheraven2013-01-281-0/+29
| | | | | | | | | | | | | | | | | 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
* Add compiler support for the ARM EABI.andrew2013-01-174-9/+35
| | | | | | 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.
* Revert r241818 that updated dialog to 20120706. This turns out to horriblynwhitehorn2012-12-301-16/+5
| | | | | | break mixed form dialogs in conjunction with the FreeBSD termcap, making the bsdinstall partition editor Add dialog, among other things, completely nonfunctional. This restores dialog 20110707.
* Get libcompiler-rt and libgcc building on ARM with clang.andrew2012-12-181-1/+8
| | | | | | | * Don't provide clear_cache or the __sync_* functions on ARM with clang as they are provided by clang as builtin functions. * Tell clang it is aloud to compile some libgcc code using heinous GCC extensions.
* Clean up hardcoded ar(1) flags in the tree to use the global ARFLAGS ineadler2012-12-061-2/+2
| | | | | | | | | | | | share/mk/sys.mk instead. This is part of a medium term project to permit deterministic builds of FreeBSD. Submitted by: Erik Cederstrand <erik@cederstrand.dk> Reviewed by: imp, toolchain@ Approved by: cperciva MFC after: 2 weeks
* For building GNU libstdc++ and libsupc++, filter out libc++-specific anddim2012-10-232-2/+6
| | | | | | | | -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
* Update dialog to 20120706: includes minor useability enhancements andnwhitehorn2012-10-211-5/+16
| | | | fixes for warnings encountered with clang.
* For building libstdc++ and libsupc++, filter out any -stdlib=libc++dim2012-08-252-0/+2
| | | | | | | | 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
* Turn on TLS support for arm on here as it is supported since r231618/marius2012-06-142-2/+2
| | | | r231619 and working since r233106.
* Clean up some symbol versions for libsupc++ / libcxxrt.theraven2012-06-111-14/+10
| | | | | MFC after: 1 week Reviewed by: kan
* Add mangled symbols for operator new / delete on 64-bit platforms.des2012-06-051-1/+9
| | | | | Reported by: decke@ MFC after: 1 week
OpenPOWER on IntegriCloud