summaryrefslogtreecommitdiff
path: root/gnu/lib
AgeCommit message (Collapse)Author
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
2011-04-28Expose wprintf and friends in the gcc3 libstdc++ std:: namespace.Stefan Sperling
Tested by naddy, thanks! Major bump for safety. ok kettenis espie
2011-04-28Bring back wprintf() for gcc4 libstdc++.Stefan Sperling
2011-04-24Back out wprintf diff and crank. Need to check more architectures first.Stefan Sperling
requested by and ok deraadt
2011-04-24Expose wprintf and friends in the std:: namespace. Major bump for libstdc++.Stefan Sperling
ok kettenis espie
2010-09-04Compile the v3 demangler support code in libiberty, bump minor. Will be usedMiod Vallat
in a not-so-distant future. ok kettenis@ (some time ago)
2010-05-26make gcc4 lib sprintf/strcpy free.Marc Espie
activate proper C99 stuff. fix locale support when there's no locale. work common with kettenis@
2010-05-25unlink g77 from the build.Marc Espie
as discussed with Theo, so that he can synch set. (eventual gcc2 fallout to fix later)
2010-05-16the cp-demangler is part of libsupc++ as wellMarc Espie
2010-05-16install unwind.h, like for gcc3.Marc Espie
problem spotted by matthieu/naddy okay kettenis@, matthieu@
2010-05-15We really want position independant objects in libsupc++.a.Matthieu Herrb
ok espie@
2010-05-15Add libsupc++-v3Robert Nagy
2010-05-15Add Makefile for libsupc++-v3 that pulls common stuff fromRobert Nagy
libstdc++-v3/Makefile.common. ok espie@
2010-05-15Move libsupc++ sources and other common stuff to Makefile.commonRobert Nagy
to be used by gnu/lib/libsupc++-v3 and gnu/lib/libstdc++-v3 ok espie@
2010-05-10Switch to using COMPILER_VERSION instead of USE_GCC3, allows for more flexibleDale Rahn
complier picking, eg supporting gcc2, gcc3, and gcc4. based on diff by Marco, with fixes from espie@. ok espie@ general mumbling of approval of others.
2010-05-09This file won't be needed, espie pointed out how stupid I was.Robert Nagy
2010-05-09fix obvious typo, unbreak build on i386Marc Espie
2010-05-09Only #define _GLIBCXX_ATOMIC_BUILTINS on architectures where we use GCC'sMark Kettenis
builtin atomic operations. ok robert@
2010-05-08add i386 to the atomicity via builtins list as wellJonathan Gray
2010-05-08Use "builtins" for atomicity on sparc64 as well.Mark Kettenis
2010-05-08Install libsupc++ header files as well.Mark Kettenis
ok robert@
2010-05-07Add infrastructure to build libstdc++-v3 for gcc4Robert Nagy
ok kettenis@, marco@
2010-03-25Fix from readline 5.0 via Alexandr Shadchin to for a bug that preventsNicholas Marriott
some programs working correctly in tmux and screen. From the readline changelog: w. Fixed a bug in the callback read-char interface to make it work when a readline function pushes some input onto the input stream with rl_execute_next (like the incremental search functions). ok deraadt
2009-10-12Add fopen_unlocked.c pex-unix.c pex-common.c unlink-if-ordinary.c toRobert Nagy
the list of built files and switch the md5.h header to the libiberty one. This change is needed by gcc4 and it is a major library crank for libiberty. tested by many people on many architectures and finally ok'd by deraadt@
2009-07-26- revert thread model posix since it broke the build for hppa. will revistKurt Miller
when all archs are fully tested and working. - major bump libstdc++
2009-07-25- enable thread model posix for gcc 3 which makes dwarf2 exceptionKurt Miller
handling thread safe and enables thread safety for libstdc++ - include -D_REENTRANT when -pthread cpp arg is present (needed so boost can detect -pthread on the command line). - bump libstdc++ major See faq/current.html for instructions on how to correctly build userland for this change. okay kettenis@
2009-04-17- enable libstdc++ pthread regressesKurt Miller
- fix g++ regress so it can find libstdc++ in the objdir okay espie@ kettenis@
2009-03-07Our gcc doesn't provide __builtin_memmove(), so replace it by memmove().Landry Breuil
Slipped in when fixing libstdc++ for gtk2mm, spotted the hard way when porting nemiver. ok espie@