summaryrefslogtreecommitdiffstats
path: root/gnu/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Correctly export operator new / delete for things linking against libsupc++ buttheraven2012-05-281-0/+10
| | | | | | | | | | | not libstdc++. Unfortunately, it appears that libsupc++ / libstdc++ have a different idea of the type of size_t to the rest of the world, which may cause problems later on... Reported by: des MFC after: 1 week
* Don't recurse into libssp when MK_SSP is set to no.marcel2012-05-211-1/+5
|
* Build the "S" objects with the same name they get installed under.marcel2012-05-171-4/+4
| | | | | | | That is, build crtbeginS.o and crtendS.o instead of crtbegin.So and crtend.So. Remove the name substitution during install. Obtained from: Juniper Networks, Inc.
* Switch sparc64 to using libcompiler_rt; since r230021 we have a workaroundmarius2012-05-151-1/+1
| | | | | in place allowing it to be used there and since r235388 (see also r235486) we also have usable div/mod optimizations like libgcc has.
* Revert r234356 for now, as it leads to run-time problems on 32-bitdim2012-04-231-1/+0
| | | | | | | PowerPC. Note this will break world. Reported by: andreast Pointy hat to: dim
* Replace a bare use of nm with ${NM} for easier cross compilation inimp2012-04-211-2/+2
| | | | environments where nm is spelled differently.
* Work around an issue on 32-bit PowerPC, where clang executable can getdim2012-04-161-0/+1
| | | | | | too big, causing 'relocation truncated to fit' errors at link time. Reviewed by: nwhitehorn
* Make libsupc++ build as a shared library and make libstdc++ a filter librarytheraven2012-03-313-2/+144
| | | | | | | | | for it. This allows people to swap out libsupc++ for libcxxrt easily, so we can begin the libstdc++ -> libc++ migration. Approved by: dim (mentor)
* Assume a big-endian default on MIPS and drop the "eb" suffix from MACHINE_ARCH.jmallett2012-03-291-1/+1
| | | | | | | | | | | | | | | This makes our naming scheme more closely match other systems and the expectations of much third-party software. MIPS builds which are little-endian should require and exhibit no changes. Big-endian TARGET_ARCHes must be changed: From: To: mipseb mips mipsn32eb mipsn32 mips64eb mips64 An entry has been added to UPDATING and some foot-shooting protection (complete with warnings which should become errors in the near future) to the top-level base system Makefile.
* libodialog: Remove no longer used library.fjoe2011-11-2455-11676/+0
|
* libodialog: disconnect from the build and obsolete.fjoe2011-11-241-2/+1
|
* When one attempts to compile the tree with -march=i386, which also useddim2011-11-061-1/+1
| | | | | | | | | | | 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.
* Update dialog to 1.1-20110707.nwhitehorn2011-07-141-5/+5
|
* Remove libobjc and other Objective-C related components, as these aredim2011-04-172-54/+0
| | | | | | extremely outdated, and not used by anything in the base system. Silence from: current@
* Update dialog to version 1.1-20110302.nwhitehorn2011-04-171-5/+6
|
* Now that TLS is supported for sparc64 by both binutils 2.17.50 committedmarius2011-03-112-2/+2
| | | | in r218822 and rtld(1) committed in r219533 turn on TLS support in GCC.
* Merge binutils 2.17.50 to head. This brings a number of improvements todim2011-02-186-807/+0
|\ | | | | | | | | | | | | | | | | x86 CPU support, better support for powerpc64, some new directives, and many other things. Bump __FreeBSD_version, and add a note to UPDATING. Thanks to the many people that have helped to test this. Obtained from: projects/binutils-2.17
| * Sync: merge r215273 through r215318 from ^/head.dim2010-11-141-2/+2
| |
| *-. Sync: merge r215141 through r215188 from ^/head.dim2010-11-121-0/+4
| |\ \
| * \ \ Sync: merge r214895 through r215140 from ^/head.dim2010-11-111-19/+18
| |\ \ \ | | | |/ | | |/|
| * | | Garbage collect gnu/lib/libiberty and gnu/lib/libg2c, these have notdim2010-10-226-807/+0
| | | | | | | | | | | | | | | | been used for years.
* | | | Enable wide character support in libdialog.nwhitehorn2011-02-052-3/+3
| | | |
* | | | Make the generated files depend on the Makefile so new platforms are easierimp2011-02-021-2/+2
| | | | | | | | | | | | | | | | to add than mipsn32 was when I was working on it...
* | | | Revert last change now that the reason for it is no more...imp2011-02-021-2/+1
| | | | | | | | | | | | | | | | MACHINE_ARCH is now always mipsel when building mips/mips.
* | | | Rewrite the ARCH check another way for backward compatibility.jchandra2011-01-291-1/+2
| | | | | | | | | | | | | | | | Compilation fails now, if TARGET_ARCH=mips instead of mipsel/mipseb.
* | | | Fix n32 compile.jchandra2011-01-272-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | These changes are needed to fix n32 compile after the recent change of mips n32 MACHINE_ARCH to mipsn32eb/mipsn32el. Reviewed by: imp, bz (earlier version)
* | | | Update dialog to version 20100428. This changes the license under whichnwhitehorn2011-01-1258-44/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dialog is distributed from GPLv2 to LGPLv2 and introduces a number of new features and a new and better libdialog API. The existing libdialog will be kept temporarily as libodialog for compatibility purposes until sade, sysinstall and tzsetup have been either updated or replaced. __FreeBSD_version is now 900030. Discussed on: -current Approved by: core Obtained from: http://invisible-island.net/dialog
* | | | Retire TARGET_ABI.imp2011-01-072-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement MACHINE_ARCH=mips64e[lb] to build N64 images. This replaces MACHINE_ARCH=mipse[lb] TARGET_ABI=n64. MACHINE_ARCH=mipsn32e[lb] has been added, but currently requires WITHOUT_CDDL due to atomic issues in libzfs. I've not investigated this much, but implemented this to preserve as much of the TARGET_ABI functionality that I could. Since its presence doesn't affect the working cases, I've kept it in for now. Added mips64e[lb] to make universe, so more kernels build. And I think this (finally) closes the curtain on the tbemd tree.
* | | | Switch mips architectures back to libgcc.kan2010-12-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | MIPS64 n64 binaries are broken with libcompiler_rt at this time. Switch mips back to libgcc until the cause of breakage is analyzed and fixed.
* | | | These two cases should be different...imp2010-11-141-2/+2
| |_|/ |/| | | | | | | | Submitted by: nathanw@
* | | Revert to libgcc for sparc64.ed2010-11-121-0/+4
| |/ |/| | | | | | | | | | | | | | | I've had a report of a sparc64 system where cc1 generates illegal instructions. We still have to diagnose this properly, but instead of hosing all sparc64 boxes out there, fall back to libgcc to prevent more damage. Reported by: Florian Smeets
* | Replace libgcc.a by libcompiler_rt.a.ed2010-11-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libcompiler_rt.a is a BSD licensed C language runtime, which implements many routines which are linked into binaries on architectures where certain functionality is missing (e.g. 64 bits mul/div on i386). Unfortunately, libcompiler_rt cannot replace libgcc entirely. Certain features, such as an unwinder for exception handling, are missing. That's why only libgcc.a is replaced for now, because this one does seem to be complete. Tested by: rene (amd64), nwhitehorn (powerpc), droso (i386 exprun) and many others. Thanks! Obtained from: user/ed/compiler-rt
* | Don't use ${LIB} to obtain the library name.ed2010-11-111-9/+9
| | | | | | | | | | | | | | Once we use libcompiler_rt, the LIB-line must go, to prevent libgcc.a from being built. Therefore, just hardcode the name. Obtained from: user/ed/compiler-rt
* | Complete the integration of tbemd branch into head.imp2010-11-101-9/+9
|/ | | | | | | | | | | | | | | | TARGET_BIG_ENDIAN is now completely dead, except where it was originally supposed to be used (internally in the toolchain building). TARGET_ARCH has changed in three cases: (1) Little endian mips has changed to mipsel. (2) Big endian mips has changed to mipseb. (3) Big endian arm has changed to armeb. Some additional changes are needed to make 'make universe' work on arm and mips after this change, so those are commented out for now. UPDATING information will be forthcoming. Any remaining rough edges will be hammered out in -current.
OpenPOWER on IntegriCloud