summaryrefslogtreecommitdiff
path: root/gnu/lib
AgeCommit message (Collapse)Author
2019-01-15Fix the inter-library dependency for libedit and libreadline.YASUOKA Masahiko
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,Stuart Henderson
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@Christian Weisgerber
2017-08-10Unlink libobjc. It is not used in base, and ports are pulling in libobjc2 ↵mortimer
from ports. ok bluhm@ sebastia@ dcoppa@
2017-07-28provide missing prototypesMarc Espie
this may actually result in bogus error messages, because int != char* okay jca@
2017-07-27fix warnings from missing headers.Marc Espie
okay deraadt@
2017-07-24install gcc, g++ as gcc and g++ instead of cc, c++ and create linksRobert Nagy
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 overhaulMarc Espie
okay millert@
2017-07-10remove misc. depend and yacc nits that no longer matter.Marc Espie
okay millert@
2017-07-04complete "nodepend" in sourceMarc Espie
- 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.Alexander Bluhm
2017-06-16mark files as BUILDFIRST, or write explicit dependencies, so that mostMarc Espie
programs will build even without a make depend first. okay tb@ millert@
2017-06-12destroy lint remnants.Marc Espie
okay millert@ deraadt@
2017-04-17Change build infrastructure to allow building both gcc and clang. ThisMark Kettenis
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.Miod Vallat
2017-01-21Only build gcc4 libs if COMPILER_VERSION is gcc4.Jonathan Gray
ok kettenis@ patrick@
2017-01-21Nuke whitespace foolish enough to expose itself during the greatKenneth R Westerback
"warning:" rectification.
2001-03-18GNU readline-4.1Todd C. Miller
2017-01-20Take gcc's suggestions about parenthesis around assignments usedKenneth R Westerback
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.Kenneth R Westerback
tweak & ok kettenis@
2016-10-03Fix ownership for install on a noperm filesystem.Martin Natano
joint work with tb
2016-09-01Re-enable libobjc on arm.Mark Kettenis
2016-09-01Switch OpenBSD/armv7 to ARM EABI (soft-float). This is a complete ABIPatrick Wildt
break which cannot be easily crossed. ok kettenis@ jsg@
2016-07-04DEBUGLIBS has been broken since the gcc4 switch, so delete it. CFLAGSPhilip Guenther
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 SRCSTheo de Raadt
2016-02-18Disable the stack protector when building libstdc++ on arm. Fixes testJonathan Gray
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@Stuart Henderson
2015-10-20On xmalloc failure, stop trying to determine the total amount of allocatedPascal Stumpf
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 toAlexander Bluhm
heap-buffer overflow. From Sebastian Trahm; OK deraadt@
2003-11-24And the includes are taken from GCC 2.95.pre3 test3Marc Espie
2015-05-14Stop including CFLAGS in CXXFLAGS it creates problems when mixingJonathan Gray
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()Miod Vallat
ok deraadt@ guenther@ millert@
2014-08-31Finally ``revert'' to the recent pexecute interface, now that we do not needMiod Vallat
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 interfaceMiod Vallat
it was the only user of. Bump major.
2014-03-27remove gets reference. ok espieTed Unangst
2013-10-24Align suseconds_t with POSIX: it's the type of the tv_usec member of timeval.Philip Guenther
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 dataPhilip Guenther
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.Miod Vallat
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 shellRobert Nagy
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.Okan Demirmen
ok guenther@
2012-07-17martynas added support for the 'long double' math functions to libm atMatthew Dempsky
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.Jonathan Gray
ok miod@ espie@
2011-11-25Gratuitous major crank for upcoming alpha switch to gcc 4, in order to haveMiod Vallat
different libstdc++.so majors. ok deraadt@
2011-11-21when testing COMPILER_VERSION don't assume the default case is gcc2Jonathan Gray
ok drahn@
2011-10-16Expose wscanf(3) and wcsftime(3) in the std:: namespace (gcc3) and bump major.Stefan Sperling
testing by naddy, final diff from kettenis
2011-10-16Expose wscanf(3) and wcsftime(3) in the std:: namespace (gcc4) and bump major.Stefan Sperling
2011-09-19- enable thread model posix for gcc 3 which makes dwarf2 exceptionChristian Weisgerber
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.Matthieu Herrb
ok miod@, drahn@, kurt@
2011-07-06Finalize work on the math library. It's time to do this monsterMartynas Venckus
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.
2011-06-24use .PATH instead of .PATH.c & .PATH.m; something in the recent bsd.man.mkTheo de Raadt
commit exposed a build problem which used to spuriously affect builds. It is possible that .PATH.suffix is sutbly broken in make(1), but there is no real need to use that construct here in any case. ok miod