summaryrefslogtreecommitdiffstats
path: root/gnu/lib
AgeCommit message (Collapse)AuthorFilesLines
2019-12-21a few depend:-related thingies that were still in.espie1-4/+1
okay millert@, tb@
2019-04-03mortimer unlinked libobjc from the build, but didn't know how to cvs rm.tedu67-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.
2019-03-20fix serious markup error: \B -> \fB to select bold fontschwarze1-1/+1
2019-01-15Fix the inter-library dependency for libedit and libreadline.yasuoka1-3/+3
Previously they tried to depend on libtermcap which actually doesn't exist in the objdir. ok jca
2018-11-14Record an inter-library dependency on libcurses in libedit and libreadline,sthen1-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@
2018-09-14Pass CC/CFLAGS/LDFLAGS to the configure script. ok millert@naddy1-2/+4
2017-08-10Unlink libobjc. It is not used in base, and ports are pulling in libobjc2 from ports.mortimer1-5/+4
ok bluhm@ sebastia@ dcoppa@
2017-07-28provide missing prototypesespie3-0/+18
this may actually result in bogus error messages, because int != char* okay jca@
2017-07-27fix warnings from missing headers.espie4-4/+2
okay deraadt@
2017-07-24install gcc, g++ as gcc and g++ instead of cc, c++ and create linksrobert1-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@
2017-07-19more depends gc / yacc rules overhaulespie1-2/+2
okay millert@
2017-07-10remove misc. depend and yacc nits that no longer matter.espie1-3/+1
okay millert@
2017-07-04complete "nodepend" in sourceespie1-8/+10
- mix-up between .ALLSRC and .IMPSRC, compile the right gc.c file - add explicit targets for pre-generated stuff
2017-06-23Make libiberty test programs compile and run without segfault.bluhm3-22/+17
2017-06-16mark files as BUILDFIRST, or write explicit dependencies, so that mostespie1-1/+3
programs will build even without a make depend first. okay tb@ millert@
2017-06-12destroy lint remnants.espie2-8/+2
okay millert@ deraadt@
2017-04-17Change build infrastructure to allow building both gcc and clang. Thiskettenis1-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@
2017-02-15gcc4 on m88k still uses sjlj exceptions, as did arm before EABI.miod1-8/+4
2017-01-21Only build gcc4 libs if COMPILER_VERSION is gcc4.jsg1-2/+2
ok kettenis@ patrick@
2017-01-21Nuke whitespace foolish enough to expose itself during the greatkrw29-119/+119
"warning:" rectification.
2017-01-20Take gcc's suggestions about parenthesis around assignments usedkrw5-10/+10
as truth values. Change a parameter to 'const'. All without making promises about any further cleanup in /gnu/. ok deraadt@
2016-12-19A couple more unused variables.krw1-0/+2
tweak & ok kettenis@
2016-10-03Fix ownership for install on a noperm filesystem.natano1-1/+2
joint work with tb
2016-09-01Re-enable libobjc on arm.kettenis1-4/+1
2016-09-01Switch OpenBSD/armv7 to ARM EABI (soft-float). This is a complete ABIpatrick3-10/+6
break which cannot be easily crossed. ok kettenis@ jsg@
2016-07-04DEBUGLIBS has been broken since the gcc4 switch, so delete it. CFLAGSguenther1-14/+2
contains -g by default anyway problem noted by Edgar Pettijohn (edgar (at) pettijohn-web.com) ok millert@ kettenis@ deraadt@
2016-03-28Cleanup duplicate filenames in SRCSderaadt1-11/+2
2016-02-18Disable the stack protector when building libstdc++ on arm. Fixes testjsg1-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@
2016-01-20quote ${CC} expansion, from andreas.kahari at icm uu se, ok mpi@sthen1-2/+2
2015-10-20On xmalloc failure, stop trying to determine the total amount of allocatedpascal1-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@
2015-06-11Fix CVE-2012-3509, an integer overflow in libiberty, leading tobluhm2-4/+11
heap-buffer overflow. From Sebastian Trahm; OK deraadt@
2015-05-14Stop including CFLAGS in CXXFLAGS it creates problems when mixingjsg3-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.
2015-01-19Prefer strdup() to malloc() + strcpy() and ftello() to ftell()miod1-5/+3
ok deraadt@ guenther@ millert@
2014-08-31Finally ``revert'' to the recent pexecute interface, now that we do not needmiod2-772/+325
to support gcc 2.95. Tested on gcc 3 and gcc 4 platforms, riding on the major bump.
2014-08-31Now that gcc 2.95 is out of the tree, get rid of the old hash table interfacemiod4-371/+5
it was the only user of. Bump major.
2014-03-27remove gets reference. ok espietedu1-1/+0
2013-10-24Align suseconds_t with POSIX: it's the type of the tv_usec member of timeval.guenther2-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@
2013-08-13Switch time_t, ino_t, clock_t, and struct kevent's ident and dataguenther5-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@
2013-08-06Remove support for COMPILER_VERSION == gcc2.miod2-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.
2013-06-21exists() calls in make are expensive so switch to test(1) and use the shellrobert1-5/+4
level to actually test for these directories in the include target idea from espie@, migrated to libstdc++-v3 as well
2012-08-02remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets.okan1-3/+1
ok guenther@
2012-07-17martynas added support for the 'long double' math functions to libm atmatthew3-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
2012-04-14remove libf2c, hasn't been built since it was moved to ports in 2010.jsg266-43095/+0
ok miod@ espie@
2011-11-25Gratuitous major crank for upcoming alpha switch to gcc 4, in order to havemiod1-1/+1
different libstdc++.so majors. ok deraadt@
2011-11-21when testing COMPILER_VERSION don't assume the default case is gcc2jsg1-6/+7
ok drahn@
2011-10-16Expose wscanf(3) and wcsftime(3) in the std:: namespace (gcc3) and bump major.stsp3-21/+17
testing by naddy, final diff from kettenis
2011-10-16Expose wscanf(3) and wcsftime(3) in the std:: namespace (gcc4) and bump major.stsp2-5/+5
2011-09-19- enable thread model posix for gcc 3 which makes dwarf2 exceptionnaddy1-1/+1
handling thread safe and enables thread safety for libstdc++ - bump libstdc++ major See faq/current.html for instructions on how to correctly build userland for this change. originally from kurt@, ok miod@
2011-07-18Enable SJLJ C++ exceptions on arm here too.matthieu1-1/+5
ok miod@, drahn@, kurt@
2011-07-06Finalize work on the math library. It's time to do this monstermartynas2-2/+2
commit, and deal with problems (if any) in tree. Note that this adds the following functions. Ports with hacks might need adjustments. nexttoward(3), fma(3), nexttowardf(3), fmaf(3), acoshl(3), asinhl(3), atanhl(3), coshl(3), sinhl(3), tanhl(3), expl(3), expm1l(3), logl(3), log10l(3), log1pl(3), log2l(3), modfl(3), cbrtl(3), hypotl(3), powl(3), erfl(3), erfcl(3), lgammal(3), tgammal(3), ceill(3), floorl(3), lrintl(3), llrintl(3), roundl(3), lroundl(3), llroundl(3), truncl(3), fmodl(3), remainderl(3), remquol(3), nextafterl(3), nexttowardl(3), fmal(3). With this commit, our library implements all functionality required by C99. Documentation bits will follow.