summaryrefslogtreecommitdiffstats
path: root/gnu/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Switch libc++ and libc++abi to version 10.0.1.patrick2021-01-114-20/+15
| | | | | | Further libc++ header fixes for ports thanks to kettenis@ Ports build test and fixes thanks to naddy@ "Startschuss!" naddy@
* Adjust link path for libc++ to find libc++abi to match change of Makefilepatrick2021-01-021-2/+2
| | | | and build location.
* Move Makefiles for libc++ and libc++abi to gnu/lib in preparation for anpatrick2021-01-025-1/+408
| | | | | | | | upcoming update to those, which will see both codebases heading into the gnu/llvm dumpster. Feedback from jsg@ ok deraadt@ kettenis@
* Don't build double-double functions since long double is the same as doublekettenis2020-08-141-12/+4
| | | | | | on OpenBSD. ok gkoehler@
* Remove fixtfti.c from ppc-if to unbreak macppc build. I guess kettenis@patrick2020-08-111-2/+1
| | | | | was right that this isn't really needed. Now the list is the same as what we had for the previous compiler-rt version.
* fix path for testing if a .S existsjsg2020-08-111-2/+2
|
* Un-hook and re-hook libcompiler_rt.patrick2020-08-101-2/+2
| | | | ok kettenis@
* Add build infrastructure for compiler-rt.patrick2020-08-101-0/+320
| | | | ok kettenis@
* a few depend:-related thingies that were still in.espie2019-12-211-4/+1
| | | | okay millert@, tb@
* mortimer unlinked libobjc from the build, but didn't know how to cvs rm.tedu2019-04-0367-33850/+0
| | | | | I don't know much about compilers, but what I do have are a very particular set of skills. Skills I have acquired over a very long career.
* fix serious markup error: \B -> \fB to select bold fontschwarze2019-03-201-1/+1
|
* Fix the inter-library dependency for libedit and libreadline.yasuoka2019-01-151-3/+3
| | | | | | | Previously they tried to depend on libtermcap which actually doesn't exist in the objdir. ok jca
* Record an inter-library dependency on libcurses in libedit and libreadline,sthen2018-11-141-1/+3
| | | | | | | | | | avoiding runtime failures on architectures using ld.lld. Also add a note to libcurses shlib_version reminding about bumps (as done with libcrypto/libssl). Thanks guenther@ for suggestions of tests involving library bumps and jca@ for doing these tests and hint about DPADD. Looks good kettenis@, ok jca@
* Pass CC/CFLAGS/LDFLAGS to the configure script. ok millert@naddy2018-09-141-2/+4
|
* Unlink libobjc. It is not used in base, and ports are pulling in libobjc2 from ports.mortimer2017-08-101-5/+4
| | | | ok bluhm@ sebastia@ dcoppa@
* provide missing prototypesespie2017-07-283-0/+18
| | | | | | this may actually result in bogus error messages, because int != char* okay jca@
* fix warnings from missing headers.espie2017-07-274-4/+2
| | | | okay deraadt@
* install gcc, g++ as gcc and g++ instead of cc, c++ and create linksrobert2017-07-241-1/+8
| | | | | | | to the latter on non-clang architectures and make sure we build gcc with itself because clang won't be able to build it ok naddy@
* more depends gc / yacc rules overhaulespie2017-07-191-2/+2
| | | | okay millert@
* remove misc. depend and yacc nits that no longer matter.espie2017-07-101-3/+1
| | | | okay millert@
* complete "nodepend" in sourceespie2017-07-041-8/+10
| | | | | - mix-up between .ALLSRC and .IMPSRC, compile the right gc.c file - add explicit targets for pre-generated stuff
* Make libiberty test programs compile and run without segfault.bluhm2017-06-233-22/+17
|
* mark files as BUILDFIRST, or write explicit dependencies, so that mostespie2017-06-161-1/+3
| | | | | programs will build even without a make depend first. okay tb@ millert@
* destroy lint remnants.espie2017-06-122-8/+2
| | | | okay millert@ deraadt@
* Change build infrastructure to allow building both gcc and clang. Thiskettenis2017-04-171-3/+4
| | | | | | | doesn't actually flip the switch yet, so aarch64 continues to be the only architecture for which we build clang. ok jsg@, deraadt@
* gcc4 on m88k still uses sjlj exceptions, as did arm before EABI.miod2017-02-151-8/+4
|
* Only build gcc4 libs if COMPILER_VERSION is gcc4.jsg2017-01-211-2/+2
| | | | ok kettenis@ patrick@
* Nuke whitespace foolish enough to expose itself during the greatkrw2017-01-2129-119/+119
| | | | "warning:" rectification.
* Take gcc's suggestions about parenthesis around assignments usedkrw2017-01-205-10/+10
| | | | | | | as truth values. Change a parameter to 'const'. All without making promises about any further cleanup in /gnu/. ok deraadt@
* A couple more unused variables.krw2016-12-191-0/+2
| | | | tweak & ok kettenis@
* Fix ownership for install on a noperm filesystem.natano2016-10-031-1/+2
| | | | joint work with tb
* Re-enable libobjc on arm.kettenis2016-09-011-4/+1
|
* Switch OpenBSD/armv7 to ARM EABI (soft-float). This is a complete ABIpatrick2016-09-013-10/+6
| | | | | | break which cannot be easily crossed. ok kettenis@ jsg@
* DEBUGLIBS has been broken since the gcc4 switch, so delete it. CFLAGSguenther2016-07-041-14/+2
| | | | | | | contains -g by default anyway problem noted by Edgar Pettijohn (edgar (at) pettijohn-web.com) ok millert@ kettenis@ deraadt@
* Cleanup duplicate filenames in SRCSderaadt2016-03-281-11/+2
|
* Disable the stack protector when building libstdc++ on arm. Fixes testjsg2016-02-181-1/+4
| | | | | | cases from dcoppa@ where incorrect behaviour was trigged when using std::ifstream and linking libpthread. Further investigation and patch from miod. ok deraadt@
* quote ${CC} expansion, from andreas.kahari at icm uu se, ok mpi@sthen2016-01-201-2/+2
|
* On xmalloc failure, stop trying to determine the total amount of allocatedpascal2015-10-201-25/+0
| | | | | | | | | memory up to this point by using sbrk(2). This is of course wildly incorrect for any mmap-based malloc(3). This also makes it possible to bring pledge(2) to gnu/. comments kettenis@, ok miod@
* Fix CVE-2012-3509, an integer overflow in libiberty, leading tobluhm2015-06-112-4/+11
| | | | | heap-buffer overflow. From Sebastian Trahm; OK deraadt@
* Stop including CFLAGS in CXXFLAGS it creates problems when mixingjsg2015-05-143-11/+14
| | | | | | | C and C++ when wanting to pass flags to only the C compiler. Tested in a ports bulk build by naddy and the handful of problems found were fixed by naddy, jca and pascal.
* Prefer strdup() to malloc() + strcpy() and ftello() to ftell()miod2015-01-191-5/+3
| | | | ok deraadt@ guenther@ millert@
* Finally ``revert'' to the recent pexecute interface, now that we do not needmiod2014-08-312-772/+325
| | | | | to support gcc 2.95. Tested on gcc 3 and gcc 4 platforms, riding on the major bump.
* Now that gcc 2.95 is out of the tree, get rid of the old hash table interfacemiod2014-08-314-371/+5
| | | | it was the only user of. Bump major.
* remove gets reference. ok espietedu2014-03-271-1/+0
|
* Align suseconds_t with POSIX: it's the type of the tv_usec member of timeval.guenther2013-10-242-2/+2
| | | | | | | | Use useconds_t in the ualarm() declaration. Bump libstdc++ major to be sure there isn't ABI issues. ok deraadt@ jca@ jmc@ millert@ ports testing by landry@
* Switch time_t, ino_t, clock_t, and struct kevent's ident and dataguenther2013-08-135-6/+6
| | | | | | | | | | | | | | | | | | | | members to 64bit types. Assign new syscall numbers for (almost all) the syscalls that involve the affected types, including anything with time_t, timeval, itimerval, timespec, rusage, dirent, stat, or kevent arguments. Add a d_off member to struct dirent and replace getdirentries() with getdents(), thus immensely simplifying and accelerating telldir/seekdir. Build perl with -DBIG_TIME. Bump the major on every single base library: the compat bits included here are only good enough to make the transition; the T32 compat option will be burned as soon as we've reached the new world are are happy with the snapshots for all architectures. DANGER: ABI incompatibility. Updating to this kernel requires extra work or you won't be able to login: install a snapshot instead. Much assistance in fixing userland issues from deraadt@ and tedu@ and build assistance from todd@ and otto@
* Remove support for COMPILER_VERSION == gcc2.miod2013-08-062-13/+5
| | | | | | | | Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4 is the norm and to explicitely test for gcc3 when a different behaviour is required. No functional change intended. Be sure to `make install' in share/mk before attempting to do anything.
* exists() calls in make are expensive so switch to test(1) and use the shellrobert2013-06-211-5/+4
| | | | | | level to actually test for these directories in the include target idea from espie@, migrated to libstdc++-v3 as well
* remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets.okan2012-08-021-3/+1
| | | | ok guenther@
* martynas added support for the 'long double' math functions to libm atmatthew2012-07-173-21/+21
| | | | | | | | | c2k11, so libstdc++-v3 should make use of them. Major version bump for good measure, and sync libstdc++'s shlib_version with libstdc++-v3's. Issue pointed out by Roberto Bagnara on bugs@ ok deraadt